[SOLVED] Upgrade to 18.0.2.2 error Could not create path

With the latest find, thanks to ajmayer. I found this thread.

I tried to delete the instance to see if it would create a new folder.

Like so…

sudo -u www-data php occ config:system:delete oc1njr7k29sp

System config value oc1njr7k29sp deleted

I then re-ran

sudo -u www-data php occ files:scan-app-data

Scanning AppData for files
Path not found: /appdata_oc1njr7k29sp

So it seems it did not delete the instance and create a new one.

To add additional info.

Nextcloud is running fine and I can still sync files. I just can not log into the web UI.
My database is on an external server.