Nextcloud version (eg, 20.0.5): Nextcloud Hub 3 (25.0.3)
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 11 (bullseye)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.54
PHP version (eg, 7.4): PHP 7.4.33
The issue you are facing: Moving servers from CentOS7 (vmware exsi) to Debian 11 (proxmox ve), I built a new OS, completely installed all pre-reqs for NextCloud on the new Debian VM. Then put my old system in maintenance mode, after this I rsync the ‘nextcloud’ folder found in ‘/var/www’ to the new Debian VM (place back into ‘/var/www’). Dumped the mariadb ‘nextcloud’ database and rsync it as well to the new Debian VM and then imported it into the running mariadb service. Ran a recursive chown on the ‘nextcloud’ folder to make sure the user was correct for the ‘apache2’ service. (which on rsync -Aaxvt)
After doing all these steps, nextcloud started up and I started seeing this error.
There are some errors regarding your setup.
It was not possible to execute the cron job via CLI. The following technical errors have appeared:
* Your data directory is invalid. Ensure there is a file called ".ocdata" in the root of the data directory.
* Cannot write into "apps" directory. This can usually be fixed by giving the web server write access to the apps directory or disabling the App Store in the config file.
* Your data directory is not writable. Permissions can usually be fixed by giving the web server write access to the root directory. See https://docs.nextcloud.com/server/25/go.php?to=admin-dir_permissions.
A background job is pending that checks for user imported SSL certificates. Please check back later.
You are currently running PHP 7.4.33. Upgrade your PHP version to take advantage of performance and security updates provided by the PHP Group ↗ as soon as your distribution supports it.
I went ahead setup my SSL which works, I only have three (3) users all which can login and upload/download with no problems. I even upgraded the server from 25.0.1 to 25.0.3 without any issues.
I’ve checked and the ‘.ocdata’ is in the data directory.
I’ve updated / verified that the database table ‘oc_storages’ is correct.
Pretty, much just stuck with these errors at this point. Not sure what to check next.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Listed above…
- Leaving below empty since, I see nothing in the logs error wise.
The output of your Nextcloud log in Admin > Logging:
PASTE HERE
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
PASTE HERE
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
PASTE HERE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
PASTE HERE