I’m suddenly experiencing inability to access my self hosted docker containerized NextCloud (NC) server install, and web page shows the following text message
Your data directory is invalid Ensure there is a file called ".ocdata" in the root of the data directory. Your data directory is not writable Permissions can usually be fixed by giving the webserver write access to the root directory. See https://docs.nextcloud.com/server/20/go.php?to=admin-dir_permissions.
My IT person has left and I’m left trying to deal with this server issues. I did not install NextCloud and I’m unfamiliar with how it’s configured. All was working fine until I tried to access NC this morning. I’m unaware of any disk issues, capacities seem fine.
Here is docker compose file:
root@buildbox:/srv/nextcloud# more docker-compose.yml version: '2' services: db: image: mariadb restart: always command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW volumes: - /srv/nextcloud/dbcontainer:/var/lib/mysql environment: - MYSQL_ROOT_PASSWORD=xxxxxx - MYSQL_PASSWORD=xxx - MYSQL_DATABASE=nextcloud - MYSQL_USER=nextcloud app: image: nextcloud:latest restart: always ports: - 8080:80 links: - db volumes: - /srv/nextcloud/html:/var/www/html environment: - MYSQL_PASSWORD=xxx - MYSQL_DATABASE=nextcloud - MYSQL_USER=nextcloud - MYSQL_HOST=db - NEXTCLOUD_TRUSTED_DOMAINS=nextcloud.mydomain.com root@buildbox:/srv/nextcloud#
I’ve tried restarting the 4 containers that run NC but nothing changed.
What can I tell you for you to be able to help me?
I don’t know what version we have been running.