Hi all
I'm trying to set up nextcloud. My environment:
RPi400 running Libreelec 10.0.4.
Docker with a bunch of linuxserver containers (plex server and client, radarr, qbittorent, sickchill, jackett) running.
External HDD with media and container configs. I can't remember but it might be NTFS as I can see an NTFS.mount service running when I check top. It's not mounted as the nobody user as I've seen suggested on other threads, I don't know how to do this and I don't want to risk my other containers if I don't have to.
I tried installing nextcloud the same way I installed other containers and I tried going via Kodi UI but couldn't get either anywhere near working. I stumbled upon this post and installed portainer and created the nextcloud stack changing only "/media/<your-hard-disk>" to "/var/media/" and the name of my external hard drive. The first time it worked and I started syncing the camera roll from my phone as a test, but it got stuck when the SD card in the pi filled up. I'm not sure now but perhaps I hadn't actually changed the data directory to be on the HDD, though I then have no idea what location on the SD card I would've used. Anyway, I had to start over and now all I get is the "Can't write into config directory!" error when I access the web UI. I've tried putting the config directory somewhere else but it doesn't help. I've tried using PUID = 0 (root). I have no idea why the config directory worked once and not again. MariaDB configs are in the same directory and there's no problem with that.
Nextcloud logs are non-existent but the container logs in portainer include:
"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#276"
and
"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#279".
I don't know if this helps.
Any help would be appreciated.