Nextcloud nicht erreichbar

ArrorRT

Lieutenant
Registriert
Jan. 2021
Beiträge
847
Hallo Leute,

ich bin langsam total am Verzweifeln.
Seit einiger Zeit ist mein Nextcloud einfach nicht erreichbar und ich kann mir nicht erklären was los ist.

Das kommt, wenn ich über das Netz auf die Nextcloud zugreife und das darunter, wenn ich per IP im lokalen Netz versuche eine verbinden aufzubauen.
1662155020326.png

1662155192667.png



Nextcloud Konfig:

Code:
  GNU nano 6.2                                                                                                           /var/www/nextcloud/config/config.php                                                                                                                     <?php
$CONFIG = array (
  'instanceid' => 'ocdjieo8uuvf',
  'passwordsalt' => 'XXXXXXXXXXXXXX',
  'secret' => 'XXXXXXXXXXXXXXX',
  'trusted_domains' =>
  array (
    0 => 'XXXXXXXXXXXXX',
    1 => 'XXXXXXXXXXXXX',
  ),
  'datadirectory' => '/home/data/',
  'dbtype' => 'mysql',
  'version' => '24.0.4.1',
  'overwrite.cli.url' => 'https://XXXXXXXXXXXXX',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'XXXXXXXXXX',
  'dbpassword' => 'XXXXXXXXXXXX',
  'installed' => true,
  'default_phone_region' => 'DE',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'mail_from_address' => 'XXXXXXXX',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'gmail.com',
  'mail_smtphost' => 'smtp-gmail.com',
  'mail_smtpport' => '557',
  'maintenance' => false,
  'updater.secret' => 'XXXXXXXXXXXXX',
  'theme' => '',
  'loglevel' => 2,
);

Apache2 Konfig
Code:
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.4/ for detailed information about
# the directives and /usr/share/doc/apache2/README.Debian about Debian specific
# hints.
#
#
# Summary of how the Apache 2 configuration works in Debian:
# The Apache 2 web server configuration in Debian is quite different to
# upstream's suggested way to configure the web server. This is because Debian's
# default Apache2 installation attempts to make adding and removing modules,
# virtual hosts, and extra configuration directives as flexible as possible, in
# order to make automating the changes and administering the server as easy as
# possible.

# It is split into several files forming the configuration hierarchy outlined
# below, all located in the /etc/apache2/ directory:
#
#    /etc/apache2/
#    |-- apache2.conf
#    |    `--  ports.conf
#    |-- mods-enabled
#    |    |-- *.load
#    |    `-- *.conf
#    |-- conf-enabled
#    |    `-- *.conf
#     `-- sites-enabled
#         `-- *.conf
#
#
# * apache2.conf is the main configuration file (this file). It puts the pieces
#   together by including all remaining configuration files when starting up the
#   web server.
#
# * ports.conf is always included from the main configuration file. It is
#   supposed to determine listening ports for incoming connections which can be
#   customized anytime.
#
# * Configuration files in the mods-enabled/, conf-enabled/ and sites-enabled/
#   directories contain particular configuration snippets which manage modules,
#   global configuration fragments, or virtual host configurations,
#   respectively.
#
#   They are activated by symlinking available configuration files from their
#   respective *-available/ counterparts. These should be managed by using our
#   helpers a2enmod/a2dismod, a2ensite/a2dissite and a2enconf/a2disconf. See
#   their respective man pages for detailed information.
#
# * The binary is called apache2. Due to the use of environment variables, in
#   the default configuration, apache2 needs to be started/stopped with
#   /etc/init.d/apache2 or apache2ctl. Calling /usr/bin/apache2 directly will not
#   work with the default configuration.


# Global configuration
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the Mutex documentation (available
# at <URL:http://httpd.apache.org/docs/2.4/mod/core.html#mutex>);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
#ServerRoot "/etc/apache2"

#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
#Mutex file:${APACHE_LOCK_DIR} default

#
# The directory where shm and other runtime files will be stored.
#

DefaultRuntimeDir ${APACHE_RUN_DIR}

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
# This needs to be set in /etc/apache2/envvars
#
PidFile ${APACHE_PID_FILE}

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 5


# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}

#
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off

# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog ${APACHE_LOG_DIR}/error.log

#
# LogLevel: Control the severity of messages logged to the error_log.
# Available values: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the log level for particular modules, e.g.
# "LogLevel info ssl:warn"
#
LogLevel warn

# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf

# Include list of ports to listen on
Include ports.conf


# Sets the default security model of the Apache2 HTTPD server. It does
# not allow access to the root filesystem outside of /usr/share and /var/www.
# The former is used by web applications packaged in Debian,
# the latter may be used for local directories served by the web server. If
# your system is serving content from a sub-directory in /srv you must allow
# access here, or in any related virtual host.
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Require all denied
</Directory>

<Directory /usr/share>
    AllowOverride None
    Require all granted
</Directory>

<Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>

#<Directory /srv/>
#    Options Indexes FollowSymLinks
#    AllowOverride None
#    Require all granted
#</Directory>




# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives.  See also the AllowOverride
# directive.
#
AccessFileName .htaccess

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
    Require all denied
</FilesMatch>


#
# The following directives define some format nicknames for use with
# a CustomLog directive.
#
# These deviate from the Common Log Format definitions in that they use %O
# (the actual bytes sent including headers) instead of %b (the size of the
# requested file), because the latter makes it impossible to detect partial
# requests.
#
# Note that the use of %{X-Forwarded-For}i instead of %h is not recommended.
# Use mod_remoteip instead.
#
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

# Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details.

# Include generic snippets of statements
IncludeOptional conf-enabled/*.conf

# Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
ServerName localhost
 
@niteaholic Hier bitte, ich hoffe mal das nix privates drin steht aber mittlerweise ist mir das auch egal xD:
Code:
[Sat Sep 03 00:00:05.799477 2022] [ssl:warn] [pid 3027] AH01909: XXXXXXXXX:443:0 server certificate does NOT include an ID which matches the server name
[Sat Sep 03 00:00:05.799661 2022] [mpm_prefork:notice] [pid 3027] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations
[Sat Sep 03 00:00:05.799666 2022] [core:notice] [pid 3027] AH00094: Command line: '/usr/sbin/apache2'
[Sat Sep 03 00:00:12.047462 2022] [php:error] [pid 63643] [client XXXXXXXX] PHP Fatal error:  Uncaught Error: Class "PDO" not found in /var/www/nextcloud/lib/private/DB/Connection.php:155\nStack trace:\n#0 /var/www/nextcloud/lib/private/AppConfig.php(408): OC\\DB\\Connection->getQueryBuilder()\n#1 /var/www/nextcloud/lib/private/AppConfig.php(176): OC\\AppConfig->loadConfigValues()\n#2 /var/www/nextcloud/lib/private/AppConfig.php(367): OC\\AppConfig->getApps()\n#3 /var/www/nextcloud/lib/private/legacy/OC_App.php(983): OC\\AppConfig->getValues()\n#4 /var/www/nextcloud/lib/private/Server.php(713): OC_App::getAppVersions()\n#5 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\\Server->OC\\{closure}()\n#6 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#7 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\\Container->offsetGet()\n#8 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#9 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\\ServerContainer->query()\n#10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(184): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#11 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#12 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#13 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\\Container->offsetGet()\n#14 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\\ServerContainer->query()\n#16 /var/www/nextcloud/lib/private/Server.php(1105): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#17 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\\Server->OC\\{closure}()\n#18 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#19 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\\Container->offsetGet()\n#20 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\\ServerContainer->query()\n#22 /var/www/nextcloud/lib/private/Server.php(2082): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#23 /var/www/nextcloud/lib/private/Files/View.php(122): OC\\Server->getLockingProvider()\n#24 /var/www/nextcloud/lib/private/Server.php(454): OC\\Files\\View->__construct()\n#25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\\Server->OC\\{closure}()\n#26 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#27 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\\Container->offsetGet()\n#28 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#29 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\\ServerContainer->query()\n#30 /var/www/nextcloud/lib/private/Server.php(1445): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#31 /var/www/nextcloud/lib/base.php(602): OC\\Server->boot()\n#32 /var/www/nextcloud/lib/base.php(1104): OC::init()\n#33 /var/www/nextcloud/status.php(37): require_once('...')\n#34 {main}\n  thrown in /var/www/nextcloud/lib/private/DB/Connection.php on line 155
[Sat Sep 03 00:09:30.059645 2022] [php:error] [pid 63646] [client XXXXXXXX] PHP Fatal error:  Uncaught Error: Class "PDO" not found in /var/www/nextcloud/lib/private/DB/Connection.php:155\nStack trace:\n#0 /var/www/nextcloud/lib/private/AppConfig.php(408): OC\\DB\\Connection->getQueryBuilder()\n#1 /var/www/nextcloud/lib/private/AppConfig.php(176): OC\\AppConfig->loadConfigValues()\n#2 /var/www/nextcloud/lib/private/AppConfig.php(367): OC\\AppConfig->getApps()\n#3 /var/www/nextcloud/lib/private/legacy/OC_App.php(983): OC\\AppConfig->getValues()\n#4 /var/www/nextcloud/lib/private/Server.php(713): OC_App::getAppVersions()\n#5 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\\Server->OC\\{closure}()\n#6 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#7 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\\Container->offsetGet()\n#8 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#9 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\\ServerContainer->query()\n#10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(184): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#11 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#12 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#13 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\\Container->offsetGet()\n#14 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\\ServerContainer->query()\n#16 /var/www/nextcloud/lib/private/Server.php(1105): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#17 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\\Server->OC\\{closure}()\n#18 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#19 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\\Container->offsetGet()\n#20 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\\ServerContainer->query()\n#22 /var/www/nextcloud/lib/private/Server.php(2082): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#23 /var/www/nextcloud/lib/private/Files/View.php(122): OC\\Server->getLockingProvider()\n#24 /var/www/nextcloud/lib/private/Server.php(454): OC\\Files\\View->__construct()\n#25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\\Server->OC\\{closure}()\n#26 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#27 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\\Container->offsetGet()\n#28 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#29 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\\ServerContainer->query()\n#30 /var/www/nextcloud/lib/private/Server.php(1445): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#31 /var/www/nextcloud/lib/base.php(602): OC\\Server->boot()\n#32 /var/www/nextcloud/lib/base.php(1104): OC::init()\n#33 /var/www/nextcloud/status.php(37): require_once('...')\n#34 {main}\n  thrown in /var/www/nextcloud/lib/private/DB/Connection.php on line 155
[Sat Sep 03 00:18:48.062563 2022] [php:error] [pid 63644] [client XXXXXXXX] PHP Fatal error:  Uncaught Error: Class "PDO" not found in /var/www/nextcloud/lib/private/DB/Connection.php:155\nStack trace:\n#0 /var/www/nextcloud/lib/private/AppConfig.php(408): OC\\DB\\Connection->getQueryBuilder()\n#1 /var/www/nextcloud/lib/private/AppConfig.php(176): OC\\AppConfig->loadConfigValues()\n#2 /var/www/nextcloud/lib/private/AppConfig.php(367): OC\\AppConfig->getApps()\n#3 /var/www/nextcloud/lib/private/legacy/OC_App.php(983): OC\\AppConfig->getValues()\n#4 /var/www/nextcloud/lib/private/Server.php(713): OC_App::getAppVersions()\n#5 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\\Server->OC\\{closure}()\n#6 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#7 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\\Container->offsetGet()\n#8 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#9 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\\ServerContainer->query()\n#10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(184): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#11 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#12 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#13 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\\Container->offsetGet()\n#14 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\\ServerContainer->query()\n#16 /var/www/nextcloud/lib/private/Server.php(1105): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#17 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\\Server->OC\\{closure}()\n#18 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#19 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\\Container->offsetGet()\n#20 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\\ServerContainer->query()\n#22 /var/www/nextcloud/lib/private/Server.php(2082): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#23 /var/www/nextcloud/lib/private/Files/View.php(122): OC\\Server->getLockingProvider()\n#24 /var/www/nextcloud/lib/private/Server.php(454): OC\\Files\\View->__construct()\n#25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(162): OC\\Server->OC\\{closure}()\n#26 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\\AppFramework\\Utility\\SimpleContainer->OC\\AppFramework\\Utility\\{closure}()\n#27 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(129): Pimple\\Container->offsetGet()\n#28 /var/www/nextcloud/lib/private/ServerContainer.php(136): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#29 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(57): OC\\ServerContainer->query()\n#30 /var/www/nextcloud/lib/private/Server.php(1445): OC\\AppFramework\\Utility\\SimpleContainer->get()\n#31 /var/www/nextcloud/lib/base.php(602): OC\\Server->boot()\n#32 /var/www/nextcloud/lib/base.php(1104): OC::init()\n#33 /var/www/nextcloud/status.php(37): require_once('...')\n#34 {main}\n  thrown in /var/www/nextcloud/lib/private/DB/Connection.php on line 155
 
na wie hast du denn nextcloud installiert? snap?

wir rufst du deine url auf?
Standard wäre --> ...index.php/login
 
Läuft der Server bei dir Zuhause?
Auf welches OS läuft es?
Irgendwelche (fehlgeschlagene) Updates?
Was hast du zuletzt gemacht, dass es jetzt nicht mehr funktioniert?
 
@Rolf_1985

Wie ich es damals installiert habe weiß ich leider nicht mehr.
Und ja so rufe ich es auf

@Innensechskant
Geht leider auch net

@niteaholic
Jap läuft zuhause
Ubuntu 22.04 lts
Keine fehlgeschlagen Updates und eig hab ich nix gemacht jedenfalls nicht bewusst
 
Ich würde mal sagen da fehlen mindestens PHP-Module:
Code:
[Sat Sep 03 00:00:12.047462 2022] [php:error] [pid 63643] [client XXXXXXXX] PHP Fatal error:  Uncaught Error: Class "PDO" not found in /var/www/nextcloud/lib/private/DB/Connection.php:155

Hat das Ding überhaupt schon mal funktioniert?
"Damals installiert" und Ubuntu 22.04 klingt für mich, als hättest du das unter einer anderen Ubuntu Version installiert.
Fällt das "geht nicht mehr" eventuell zeitlich mit dem Upgrade auf 22.04 zusammen?
 
@guzzisti
Ja hat es, damals unter Ubuntu 20.04 lts installiert dann hat es noch kurz funktioniert

Kannst du auch sagen welches?
 
Das Modul zum Zugriff auf deine Datenbank - welches das ist hängt m.W. von der eingesetzten DB ab. Wenn ich dieser Anleitung glauben möchte brauchst du php-mysql.

Vermutlich hat sich beim Update von 20.04 auf 22.04 die PHP-Version geändert - 20.04 kam scheinbar mit PHP 7.4, 22.04 mit PHP 8.1. Ich vermute du musst die PHP Konfiguration dann auch noch nachziehen.
 
Hallo erst einmal an Alle.

Ich falle gleich vom Stuhl leute, ich möchte ja nicht unken aber hat mal einer von euch daran gedacht.
Das der Nextcloud eine PHP Abfrage macht, und sich dann die Config für die Version einstellt.

nach deinem Update hat sich die PHP Version geändert, die einige Zeilen deiner /var/www/nextcloud/lib/private/DB/Connection.php Datei nicht mehr kennt oder Verarbeiten kann.

Da diese gegen neu ausgetauscht oder eventuell ganz entfernt wurden, bei der Installation hat dein Nextcloud die PHP Version PHP 7.4 eingestellt und jetzt läuft PHP 8.1 und du glaubst der Nextcloud frist das so einfach.

Wohl eher nicht dazu musst du erst deine PHP wieder auf 7.4 setzen, und du soltest dazu Webmin benutzen der PHP Server hat in der ersten zeit noch die 7.4 am laufen gehabt bis der rechner einen Neustart gemacht hat.

Von da an lief er mit der PHP 8.1 Version darum ging es erst noch nach dem Update, denn zu erst nach dem ersten Update auf Ubuntu hat er nur das System Neu gestartet dann hat er die anderen Updates geholt.

Darunter auch die PHP 8.1 die er dann installiert hat, und von da an Lief aber immer noch PHP 7.4 nach dem Zweiten Neustart hat er PHP 8.1 Geladen und jede wette von da an ging nix mehr.

Da diese Version den Eintrag in der zeile nicht mehr kennt und auch nicht mehr vearbeiten kann, da es entfernt und gegen eine andere anweisung ausgetauscht wurde.

Um dein Problem zu Lösen Downloade einfach Webmin, melde dich bei Webmin unter als root an https://localhost:10000/ und geh in deine Server einstellung ich nutze bei Webmin das alte Design ist leichter zu bedienen.

Stelle bei deinem Webserver Apache 2 die PHP wieder auf PHP 7.4 ein, und Starte den Webserver Neu einmal stopen und starten nich nur änderung übernehmen nein den Apache2 stopen und Starten.
Dann sollte dein Nextcloud wieder laufen, wenn du Webmin Benutzt ist es leicht dein Problem zu lösen.

Bei Webmin einfach auf Webserver gehen dann auf die den Standard Server oder die "domain" oder localhost wie auch immer für Nextcloud Auswählen, und dort die PHP Einstellung benutzen bei dir sollten PHP einstellungen drin sein.

Beim Standard Server Setzt du dann PHP 7.4 als Standard für alle ein, und schon läuft dein Nextcloud nach einem Neustart des Apache2 wieder.

Ich habe Webmin auf meinem Mac eingerichtet, und nutze es auch für alle anderen Linux Server.
Wie Debian, Suse, usw damit lassen sich Prbleme schnell lösen.

Eine PHP Einstellung ist bei Linux Webserver leicht erledigt, mit Webmin bei einem Mac muss man erst die Module von webmin einstellen.

Aber ich hoffe ich konnte dir Helfen, stell dein Server einfach auf das PHP 7.4 ein aus dem Verzeichnis PHP 7.4 einfach das einstellen und dein Nextcloud Läuft nach einem Neustart des Server's wieder.

Da dein Nextcloud ja bei der Installation sich für die PHP 7.4 eingerichtet hat, wenn dein Nextcloud noch nicht die 8.1 unterstützt braucht du ein update von Nextcloud.

Eigentlich wenn er es unterstütz einfach drüber Bügeln, um Nexcloud die Neue PHP Version eintragen zu lassen.
Falls das mysql gesteuert ist kannst du das auch manuel machen, dazu einfach bei Nextcloud in die MySQL Datenbank einstegen und PHP Einstellung suchen und auf 8.1 einstellen.

Aber da er deine DB Config /var/www/nextcloud/lib/private/DB/Connection.php nicht so ganz mag, wird das nicht viel bringen da hilft nur ein PHP downgrade am server von 8.1 zurück auf 7.4.

Ende gelände und läuft wieder, das neue kennt nur einige alte Anweisungen von 7.4 nicht mehr, da diese nicht mehr vorhanden sind im 8.1 und auch ganz gelöscht wurden.

Wahrscheinlich aus sicherheitsgründen naja, lassen sich ja eh genug einfallen um gute sachen aus PHP zu entfernen.

Naja egal Viel Spaß
Sag bitte bescheid ob es geholfen hat, da downgrade auf 7.4 und ein neustart des Server's.

Webmin bekommst du Hier
http://www.webmin.com/ einfach für Ubuntu downloaden, und zack zack PHP Downgrade am Webserver machen.
Fertig und Läuft wieder, da bin ich mir zu 100.000.000% Prozent sicher.

Webmin Design einstellung habe, ich auch mal dazu gemacht.
 

Anhänge

  • Webserver_Hilfe_mit Webmin_1.jpeg
    Webserver_Hilfe_mit Webmin_1.jpeg
    268,6 KB · Aufrufe: 215
  • Server_Setting.jpeg
    Server_Setting.jpeg
    308,1 KB · Aufrufe: 193
  • jetzt auf PHP.jpeg
    jetzt auf PHP.jpeg
    250,6 KB · Aufrufe: 182
  • Einstellung auf 7_4 Setzen.jpeg
    Einstellung auf 7_4 Setzen.jpeg
    177,9 KB · Aufrufe: 184
  • Webmin_Design.jpeg
    Webmin_Design.jpeg
    221,2 KB · Aufrufe: 203
Zuletzt bearbeitet:
Zurück
Oben