Nextcloud version (eg, 18.0.2): 19.0.2 (occ still shows 188.8.131.52)
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.41 (Ubuntu)
PHP version (eg, 7.1): PHP 7.4.3
The issue you are facing:
After running v184.108.40.206 smoothly for long time, today I decided to update my NC installation. I used exclusively the web updater and everything went smoothly (no error, NC correctly starting). I updated first to 220.127.116.11 (as indicated by web updater) and successively to 19.0.2. After the update NC is still working,
though I got some warning in “Settings->Overview” page, specifically:
- Missing index “properties_path_index” in table “oc_properties”.
- Missing optional column “reference_id” in table “oc_comments”.
I went to command line to update the db using occ command, which to my surprise resulted in:
$sudo -u www-data php /srv/nextcloud/occ db:add-missing-indices Nextcloud is not installed - only a limited number of commands are available There are no commands defined in the "db" namespace.
so I tried the check version
$ sudo -u www-data php occ -V Nextcloud is not installed - only a limited number of commands are available Nextcloud 18.0.4
occ shows no installed nextcloud and old version, while nextcloud is running and showing v19.0.2 from web interface. I am unable to run almost any
occ command. That is when I checked
config.php and found out it is empty.
What available solutions do I have to fix the problem?
I already tried to overwrite
config.php with a backup, changing
version parameter to 19.0.2, but I got a warning about unsupported downgrade and reverted it.
Thanks in advance for any help, it will be really appreciated.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Start from 18.104.22.168
- Upgrade via web to 22.214.171.124
- Upgrade via web to 19.0.2
The output of your Nextcloud log in Admin > Logging:
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
The output of your Apache/nginx/system log in
# Error log does not show any related information.