Error 500 after upgrading from 16.0.0.9 to 16.0.5

Hi, i tried to upgrade NC. No error until i return from maintenance mode. I get an error 500 : http://vps701695.ovh.net/nextcloud/

When i try to return in maintenance mode, or when i ask for occ status, i get this (this is only a part of the errors) :

Cannot find module (SNMPv2-MIB): At line 1 in (none)
Cannot find module (IF-MIB): At line 1 in (none)
Cannot find module (IP-MIB): At line 1 in (none)
Cannot find module (TCP-MIB): At line 1 in (none)
Cannot find module (UDP-MIB): At line 1 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 1 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 1 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 1 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 1 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 1 in (none)
Cannot find module (MTA-MIB): At line 1 in (none)
Cannot find module (NETWORK-SERVICES-MIB): At line 1 in (none)
Cannot find module (SNMPv2-TC): At line 15 in /usr/share/snmp/mibs/UCD-DISKIO-MIB.txt
Cannot find module (SNMPv2-SMI): At line 34 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Cannot find module (SNMPv2-TC): At line 37 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Did not find 'enterprises' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Did not find 'TruthValue' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Unlinked OID in UCD-SNMP-MIB: ucdavis ::= { enterprises 2021 }
Undefined identifier: enterprises near line 39 of /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt)
Did not find 'ucdExperimental' in module UCD-SNMP-MIB (/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt)
Unlinked OID in UCD-DISKIO-MIB: ucdDiskIOMIB ::= { ucdExperimental 15 }
Undefined identifier: ucdExperimental near line 19 of /usr/share/snmp/mibs/UCD-DISKIO-MIB.txt
   (...)
    PHP Fatal error:  Interface 'OCA\Files_External\Lib\Config\IBackendProvider' not found in /var/www/html/nextcloud/apps/sharepoint/lib/Backend/Provider.php on line 31

I really don’t know what to do…
Thanks.

I would try to solve the listed errors one by one to identify the root cause of the problem.

Due to the fact that the occ command relies on the php cli program, I assume that you’ve configured snmp php modules which couldn’t be found anymore. So in a first step, check the php configuration and install missing modules or disable its configuration.

Additionally you should have a look in the Nextcloud log file to find out what else could prevent the server from being started.

Based on the url you provided, I assume that you’re hosting Nextcloud on a OVH server. It might be worse to study related issues which has been reported by other users in the past.

Thanks for your time !
I have installed the snmp module which i never used before… but no change.
However, regarding the errors, i got rid of the folder “sharepoint” and nextcloud is working again… I didn’t have installed this app before. Perhaps the upgrade did it…

1 Like