Table 'nextcloud.oc_appconfig' doesn't exist

Hello,

Recently I hit the ‘update’ button for the NextCloud app, while still running umbrel 0.5.4. I then got the maintenance mode screen. Tried to manually reset maintenance mode. Then got Internal Server Error. Tried to repair nextcloud using the occ command, but now I am getting the following:

Table 'nextcloud.oc_appconfig' doesn't exist

I have important files on here that evidently were not getting backed up.

How do I regain access to the occ command so I can run a full repair?

Thank you in advance.

I did not try the umbrel script ./app reinstall because, as I read it, it would have deleted my data (I could be wrong). I did try ./app install nextcloud thinking it might restore missing installed files, but that didn’t work, either. Umbrel dashboard indicates that NextCloud is running. All of our files are there–I can see them in the directories if I ssh into the umbrel.

Stuck and somewhat frustrated–it’s probably something easy. Please lend a hand if you can?

I ran a few commands suggested by @nevets963 on a previous thread

sudo tail -n 100 ~/umbrel/app-data/nextcloud/data/nextcloud/data/nextcloud.log | jq '.message' | uniq

and got these results:

Unable to generate a URL for the named route "cloud_federation_api.requesthandler.addshare" as such route does not exist.
The loading of lazy AppConfig values have been triggered by app "core"
Unable to generate a URL for the named route "cloud_federation_api.requesthandler.addshare" as such route does not exist.
Capabilities of OCA\\CloudFederationAPI\\Capabilities took 0.67 seconds to generate.
Unable to generate a URL for the named route "ocs.password_policy.api.generate" as such route does not exist.
Unable to generate a URL for the named route "ocs.password_policy.api.validate" as such route does not exist.
Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused

What is going on here?

Also, it seems odd to me that I have three docker images installed:

umbrel@umbrel:~ $ docker images | grep nextcloud
nextcloud                            <none>    6f4d7749b19a   4 days ago      1.42GB
nextcloud                            <none>    69db718be0d7   10 days ago     1.42GB
nextcloud                            <none>    28717b1b39d0   12 months ago   1.24GB

…should some of these be removed?

I pulled the files off and did a clean install. It’s up and running now, but I still have three docker images in there, which I’d still love an answer about.