NFS hosted data-directory

I have a TrueNAS server running with a storage pool & NFS share. In the AccessControlList of the storage pool, the user is set as www-data & group of www-data (See attached image). This is a user & a group I have manually created in TrueNAS with a UID & GID of 33. This is to match with the inner user within the Nextcloud docker container that accesses this data.

I then have the Nextcloud docker container running on a separate machine with the NFS share mounted as a volume inside the container at /media/carrotmanmatt_nas_files. The data directory for Nextcloud is then set to this path, so that theoretically my Nextcloud files will be streamed over from the NAS while the local config files are stored in a separate volume stored on the docker host (See docker-compose.yaml). I have then run docker exec --user root nextcloudapp chmod -R 755 /media/carrotmanmatt_nas_files & docker exec --user root nextcloudapp chown -R www-data:www-data /media/carrotmanmatt_nas_files to ensure all files are owned by the nextcloud user.

To be clear I run the Nextcloud Docker container on a seperate host from the NAS using Portainer.

When I then run the Nextcloud container, I can successfully create the first admin user, but then when trying to access the main dashboard it just shows this error:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

docker-compose.yaml

version: "3"

services:
  nextcloudapp:
    image: nextcloud:apache
    restart: unless-stopped
    container_name: nextcloudapp
    hostname: nextcloudapp
    volumes:
      - data:/var/www/html
      - carrotmanmatt_nas_files:/media/carrotmanmatt_nas_files
    environment:
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_PASSWORD=*****
      - MYSQL_HOST=nextclouddb
      - REDISHOST=nextcloudredis
      - APACHE_DISABLE_REWRITE_IP=1
      - NEXTCLOUD_DATA_DIR=/media/carrotmanmatt_nas_files/data
    depends_on: 
      - nextclouddb
      - nextcloudoffice
      - nextcloudredis
    networks:
      - frontend
      - backend
      
  nextcloudoffice:
    image: collabora/code:latest
    container_name: nextcloudoffice
    hostname: nextcloudoffice
    restart: unless-stopped
    cap_add:
      - MKNOD
    environment:
      aliasgroup1: "https://files.carrotmanmatt.com:443"
      server_name: office.carrotmanmatt.com
    networks:
      - frontend

  nextclouddb:
    image: mariadb
    container_name: nextclouddb
    hostname: nextclouddb
    restart: unless-stopped
    environment:
      - MYSQL_RANDOM_ROOT_PASSWORD=*****
      - MYSQL_USER=nextcloud
      - MYSQL_PASSWORD=*****
      - MYSQL_DATABASE=nextcloud
    volumes:
      - db:/var/lib/mysql
    networks:
      - backend
      
  nextcloudredis:
    image: redis:alpine
    container_name: nextcloudredis
    hostname: nextcloudredis
    restart: unless-stopped
    networks:
      - backend
      
  nextcloudcron:
    image: nextcloud:apache
    container_name: nextcloudcron
    restart: unless-stopped
    volumes:
      - data:/var/www/html
      - carrotmanmatt_nas_files:/media/carrotmanmatt_nas_files
    environment:
      - NEXTCLOUD_DATA_DIR=/media/carrotmanmatt_nas_files/data
    entrypoint: /cron.sh
    depends_on:
      - nextclouddb
      - nextcloudredis
    networks:
      - backend

volumes:
  data:
  carrotmanmatt_nas_files:
    driver: local
    driver_opts:
      type: nfs
      o: "username=www-data,password=*****,addr=192.168.1.20,rw"
      device: ":/mnt/main-pool/CarrotManMatt/Nextcloud/"
  db:

networks:
  frontend:
    name: proxy-apps
    external: true
  backend:

nextcloud.log

{"reqId":"1WiZgyMhGBQhcCqmUyoy","level":3,"time":"2023-12-21T12:01:10+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/index.html): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#608","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"1WiZgyMhGBQhcCqmUyoy","level":3,"time":"2023-12-21T12:01:10+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"fopen(/media/carrotmanmatt_nas_files/data/nextcloud.log): Failed to open stream: Permission denied at /var/www/html/lib/private/Log/File.php#82","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"9xJBdlQOVTUa7w8JZmKy","level":3,"time":"2023-12-21T12:02:58+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"GET","url":"/","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/.htaccess): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#607","userAgent":"axios/0.27.2","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"9xJBdlQOVTUa7w8JZmKy","level":3,"time":"2023-12-21T12:02:58+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"GET","url":"/","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/index.html): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#608","userAgent":"axios/0.27.2","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"7uOGLItGXB4Dar6NF2A5","level":3,"time":"2023-12-21T12:03:22+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/.htaccess): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#607","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"7uOGLItGXB4Dar6NF2A5","level":3,"time":"2023-12-21T12:03:22+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/index.html): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#608","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"vIqooXrHrx2m4Ki2sEfR","level":3,"time":"2023-12-21T12:03:32+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/notes/api/v1/notes?pruneBefore=0","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/.htaccess): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#607","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"vIqooXrHrx2m4Ki2sEfR","level":3,"time":"2023-12-21T12:03:32+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/notes/api/v1/notes?pruneBefore=0","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/index.html): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#608","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"E2kxIxmvchNy1HwV6Noo","level":3,"time":"2023-12-21T12:05:00+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Exception thrown: Exception","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"Exception","Message":"Not installed","Code":0,"Trace":[{"file":"/var/www/html/lib/base.php","line":709,"function":"checkInstalled","class":"OC","type":"::","args":[["OC\\SystemConfig"]]},{"file":"/var/www/html/lib/base.php","line":1200,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":43,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/base.php","Line":283,"CustomMessage":"Exception thrown: Exception"}}
{"reqId":"JKpKbEVkgny5g3vzoH67","level":3,"time":"2023-12-21T12:05:35+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/.htaccess): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#607","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"JKpKbEVkgny5g3vzoH67","level":3,"time":"2023-12-21T12:05:35+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/index.html): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#608","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"uqzxs0PyGjtvh3v7S6DH","level":3,"time":"2023-12-21T12:05:54+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"GET","url":"/","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/.htaccess): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#607","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"uqzxs0PyGjtvh3v7S6DH","level":3,"time":"2023-12-21T12:05:54+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"GET","url":"/","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/index.html): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#608","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"pii3AmgPnhEuXuXrp7SA","level":3,"time":"2023-12-21T12:05:58+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/.htaccess): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#607","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"pii3AmgPnhEuXuXrp7SA","level":3,"time":"2023-12-21T12:05:58+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/index.html): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#608","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"pii3AmgPnhEuXuXrp7SA","level":3,"time":"2023-12-21T12:06:04+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/.htaccess): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#607","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"pii3AmgPnhEuXuXrp7SA","level":3,"time":"2023-12-21T12:06:04+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"file_put_contents(/media/carrotmanmatt_nas_files/data/index.html): Failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#608","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"pii3AmgPnhEuXuXrp7SA","level":3,"time":"2023-12-21T12:06:05+00:00","remoteAddr":"172.24.0.7","user":"carrotmanmatt","app":"PHP","method":"POST","url":"/index.php","message":"opendir(/media/carrotmanmatt_nas_files/data/carrotmanmatt/): Failed to open directory: Permission denied at /var/www/html/lib/private/Files/Storage/Local.php#164","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"pii3AmgPnhEuXuXrp7SA","level":3,"time":"2023-12-21T12:06:05+00:00","remoteAddr":"172.24.0.7","user":"carrotmanmatt","app":"index","method":"POST","url":"/index.php","message":"Could not create folder \"/carrotmanmatt/files\"","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","exception":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create folder \"/carrotmanmatt/files\"","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/Node/Root.php","line":392,"function":"newFolder","class":"OC\\Files\\Node\\Folder","type":"->","args":["/carrotmanmatt/files"]},{"function":"getUserFolder","class":"OC\\Files\\Node\\Root","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":84,"function":"call_user_func_array","args":[[["OC\\Files\\Node\\Root"],"getUserFolder"],["*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/Files/Node/LazyRoot.php","line":52,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["getUserFolder",["*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/lib/private/Server.php","line":1623,"function":"getUserFolder","class":"OC\\Files\\Node\\LazyRoot","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":555,"function":"getUserFolder","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":405,"function":"prepareUserLogin","class":"OC\\User\\Session","type":"->","args":[true,"*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":623,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/User/Session.php","line":356,"function":"loginWithPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Setup.php","line":445,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/core/Controller/SetupController.php","line":68,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/base.php","line":1002,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/Node/Folder.php","Line":162,"message":"Could not create folder \"/carrotmanmatt/files\"","exception":{},"CustomMessage":"Could not create folder \"/carrotmanmatt/files\""}}
{"reqId":"NUcZYgGyEi54aBoEvMDt","level":3,"time":"2023-12-21T12:06:51+00:00","remoteAddr":"172.24.0.7","user":"--","app":"PHP","method":"GET","url":"/apps/theming/favicon?v=b6589fc6","message":"opendir(/media/carrotmanmatt_nas_files/data/appdata_octrocpvpy3u): Failed to open directory: Permission denied at /var/www/html/lib/private/Files/Storage/Local.php#164","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"NUcZYgGyEi54aBoEvMDt","level":3,"time":"2023-12-21T12:06:51+00:00","remoteAddr":"172.24.0.7","user":"--","app":"index","method":"GET","url":"/apps/theming/favicon?v=b6589fc6","message":"Could not get appdata folder for theming","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for theming","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":147,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/apps/theming/lib/ImageManager.php","line":367,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["global"]},{"file":"/var/www/html/apps/theming/lib/ImageManager.php","line":101,"function":"getRootFolder","class":"OCA\\Theming\\ImageManager","type":"->","args":[]},{"file":"/var/www/html/apps/theming/lib/Controller/IconController.php","line":127,"function":"getImage","class":"OCA\\Theming\\ImageManager","type":"->","args":["favicon",false]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getFavicon","class":"OCA\\Theming\\Controller\\IconController","type":"->","args":["core"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Theming\\Controller\\IconController"],"getFavicon"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Theming\\Controller\\IconController"],"getFavicon"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Theming\\Controller\\IconController","getFavicon",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["core","theming.Icon.getFavicon"]]},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/theming/favicon"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/AppData/AppData.php","Line":108,"message":"Could not get appdata folder for theming","exception":{},"CustomMessage":"Could not get appdata folder for theming"}}
{"reqId":"16W1k8c7jEATMHQupUPf","level":3,"time":"2023-12-21T12:06:54+00:00","remoteAddr":"172.24.0.7","user":"--","app":"index","method":"GET","url":"/apps/theming/favicon?v=b6589fc6","message":"Could not get appdata folder for theming","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for theming","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":147,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/apps/theming/lib/ImageManager.php","line":367,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["global"]},{"file":"/var/www/html/apps/theming/lib/ImageManager.php","line":101,"function":"getRootFolder","class":"OCA\\Theming\\ImageManager","type":"->","args":[]},{"file":"/var/www/html/apps/theming/lib/Controller/IconController.php","line":127,"function":"getImage","class":"OCA\\Theming\\ImageManager","type":"->","args":["favicon",false]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getFavicon","class":"OCA\\Theming\\Controller\\IconController","type":"->","args":["core"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Theming\\Controller\\IconController"],"getFavicon"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Theming\\Controller\\IconController"],"getFavicon"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Theming\\Controller\\IconController","getFavicon",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["core","theming.Icon.getFavicon"]]},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/theming/favicon"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/AppData/AppData.php","Line":108,"message":"Could not get appdata folder for theming","exception":{},"CustomMessage":"Could not get appdata folder for theming"}}
{"reqId":"UiOD6XLovdMGaiso6MNQ","level":3,"time":"2023-12-21T12:10:00+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Failed to get absolute bundle path. Fallback to default ca-bundle.crt","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Unable to open file handler to create certificate bundle \"/files_external/rootcerts.crt.tmp9729387415\".","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Security/CertificateManager.php","line":234,"function":"createCertificateBundle","class":"OC\\Security\\CertificateManager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Http/Client/Client.php","line":133,"function":"getAbsoluteBundlePath","class":"OC\\Security\\CertificateManager","type":"->","args":[]},{"file":"/var/www/html/lib/private/Http/Client/Client.php","line":80,"function":"getCertBundle","class":"OC\\Http\\Client\\Client","type":"->","args":[]},{"file":"/var/www/html/lib/private/Http/Client/Client.php","line":230,"function":"buildRequestOptions","class":"OC\\Http\\Client\\Client","type":"->","args":[[]]},{"file":"/var/www/html/apps/nextcloud_announcements/lib/Cron/Crawler.php","line":203,"function":"get","class":"OC\\Http\\Client\\Client","type":"->","args":["https://pushfeed.nextcloud.com/feed.signature"]},{"file":"/var/www/html/apps/nextcloud_announcements/lib/Cron/Crawler.php","line":140,"function":"readFile","class":"OCA\\NextcloudAnnouncements\\Cron\\Crawler","type":"->","args":[".signature"]},{"file":"/var/www/html/apps/nextcloud_announcements/lib/Cron/Crawler.php","line":80,"function":"loadFeed","class":"OCA\\NextcloudAnnouncements\\Cron\\Crawler","type":"->","args":[]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OCA\\NextcloudAnnouncements\\Cron\\Crawler","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":102,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":92,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/lib/private/Security/CertificateManager.php","Line":141,"message":"Failed to get absolute bundle path. Fallback to default ca-bundle.crt","exception":{},"CustomMessage":"Failed to get absolute bundle path. Fallback to default ca-bundle.crt"}}
{"reqId":"uFD5EnlXiQqsURiEhNWl","level":3,"time":"2023-12-21T12:10:38+00:00","remoteAddr":"172.24.0.7","user":"--","app":"index","method":"GET","url":"/apps/theming/favicon?v=b6589fc6","message":"Could not get appdata folder for theming","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for theming","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":147,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/apps/theming/lib/ImageManager.php","line":367,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["global"]},{"file":"/var/www/html/apps/theming/lib/ImageManager.php","line":101,"function":"getRootFolder","class":"OCA\\Theming\\ImageManager","type":"->","args":[]},{"file":"/var/www/html/apps/theming/lib/Controller/IconController.php","line":127,"function":"getImage","class":"OCA\\Theming\\ImageManager","type":"->","args":["favicon",false]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getFavicon","class":"OCA\\Theming\\Controller\\IconController","type":"->","args":["core"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Theming\\Controller\\IconController"],"getFavicon"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Theming\\Controller\\IconController"],"getFavicon"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Theming\\Controller\\IconController","getFavicon",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["core","theming.Icon.getFavicon"]]},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/theming/favicon"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/AppData/AppData.php","Line":108,"message":"Could not get appdata folder for theming","exception":{},"CustomMessage":"Could not get appdata folder for theming"}}
{"reqId":"UiOD6XLovdMGaiso6MNQ","level":3,"time":"2023-12-21T12:11:21+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\UpdateNotification\\Notification\\BackgroundJob, arguments: )","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for appstore","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":129,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/App/AppStore/Fetcher/Fetcher.php","line":158,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["/"]},{"file":"/var/www/html/lib/private/App/AppStore/Fetcher/AppFetcher.php","line":187,"function":"get","class":"OC\\App\\AppStore\\Fetcher\\Fetcher","type":"->","args":[false]},{"file":"/var/www/html/lib/private/Installer.php","line":423,"function":"get","class":"OC\\App\\AppStore\\Fetcher\\AppFetcher","type":"->","args":[false]},{"file":"/var/www/html/apps/updatenotification/lib/Notification/BackgroundJob.php","line":252,"function":"isUpdateAvailable","class":"OC\\Installer","type":"->","args":["activity"]},{"file":"/var/www/html/apps/updatenotification/lib/Notification/BackgroundJob.php","line":150,"function":"isUpdateAvailable","class":"OCA\\UpdateNotification\\Notification\\BackgroundJob","type":"->","args":["activity"]},{"file":"/var/www/html/apps/updatenotification/lib/Notification/BackgroundJob.php","line":76,"function":"checkAppUpdates","class":"OCA\\UpdateNotification\\Notification\\BackgroundJob","type":"->","args":[]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OCA\\UpdateNotification\\Notification\\BackgroundJob","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":102,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":92,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/lib/private/Files/AppData/AppData.php","Line":108,"message":"Error while running background job (class: OCA\\UpdateNotification\\Notification\\BackgroundJob, arguments: )","exception":{},"CustomMessage":"Error while running background job (class: OCA\\UpdateNotification\\Notification\\BackgroundJob, arguments: )"}}
{"reqId":"UiOD6XLovdMGaiso6MNQ","level":3,"time":"2023-12-21T12:11:21+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\Photos\\Jobs\\AutomaticPlaceMapperJob, arguments: )","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create folder \"/carrotmanmatt/files\"","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/Node/LazyUserFolder.php","line":60,"function":"newFolder","class":"OC\\Files\\Node\\Folder","type":"->","args":["/carrotmanmatt/files"]},{"function":"OC\\Files\\Node\\{closure}","class":"OC\\Files\\Node\\LazyUserFolder","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":70,"function":"call_user_func","args":[["Closure"]]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":84,"function":"getRealFolder","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":[]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":442,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["getDirectoryListing",[]]},{"file":"/var/www/html/apps/photos/lib/Jobs/AutomaticPlaceMapperJob.php","line":101,"function":"getDirectoryListing","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":[]},{"file":"/var/www/html/apps/photos/lib/Jobs/AutomaticPlaceMapperJob.php","line":91,"function":"scanFolder","class":"OCA\\Photos\\Jobs\\AutomaticPlaceMapperJob","type":"->","args":[["OC\\Files\\Node\\LazyUserFolder"]]},{"file":"/var/www/html/apps/photos/lib/Jobs/AutomaticPlaceMapperJob.php","line":82,"function":"scanFilesForUser","class":"OCA\\Photos\\Jobs\\AutomaticPlaceMapperJob","type":"->","args":["carrotmanmatt"]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OCA\\Photos\\Jobs\\AutomaticPlaceMapperJob","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":102,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":92,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/lib/private/Files/Node/Folder.php","Line":162,"message":"Error while running background job (class: OCA\\Photos\\Jobs\\AutomaticPlaceMapperJob, arguments: )","exception":{},"CustomMessage":"Error while running background job (class: OCA\\Photos\\Jobs\\AutomaticPlaceMapperJob, arguments: )"}}
{"reqId":"UiOD6XLovdMGaiso6MNQ","level":3,"time":"2023-12-21T12:11:21+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for preview","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":170,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":93,"function":"getId","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":79,"function":"getOldPreviewLocations","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":66,"function":"getDeletedFiles","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":102,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":92,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/lib/private/Files/AppData/AppData.php","Line":108,"message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","exception":{},"CustomMessage":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )"}}
{"reqId":"2FKVuuC8BAxEgHe9LFzb","level":2,"time":"2023-12-21T12:18:59+00:00","remoteAddr":"172.24.0.7","user":"--","app":"core","method":"GET","url":"/index.php/apps/notes/api/v1/notes?pruneBefore=0","message":"Login failed: 'carrotmanmatt' (Remote IP: '172.24.0.7')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"28.0.0.11","data":{"app":"core"}}
{"reqId":"HpDUADKlhYrTD0vIz0wh","level":3,"time":"2023-12-21T12:20:37+00:00","remoteAddr":"172.24.0.7","user":"--","app":"index","method":"GET","url":"/apps/theming/favicon?v=b6589fc6","message":"Could not get appdata folder for theming","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for theming","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":147,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/apps/theming/lib/ImageManager.php","line":367,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["global"]},{"file":"/var/www/html/apps/theming/lib/ImageManager.php","line":101,"function":"getRootFolder","class":"OCA\\Theming\\ImageManager","type":"->","args":[]},{"file":"/var/www/html/apps/theming/lib/Controller/IconController.php","line":127,"function":"getImage","class":"OCA\\Theming\\ImageManager","type":"->","args":["favicon",false]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getFavicon","class":"OCA\\Theming\\Controller\\IconController","type":"->","args":["core"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Theming\\Controller\\IconController"],"getFavicon"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Theming\\Controller\\IconController"],"getFavicon"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Theming\\Controller\\IconController","getFavicon",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["core","theming.Icon.getFavicon"]]},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/theming/favicon"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Files/AppData/AppData.php","Line":108,"message":"Could not get appdata folder for theming","exception":{},"CustomMessage":"Could not get appdata folder for theming"}}
{"reqId":"nHzy6WGmhO3fR1i47wnl","level":3,"time":"2023-12-21T12:20:43+00:00","remoteAddr":"172.24.0.7","user":"carrotmanmatt","app":"PHP","method":"POST","url":"/login","message":"opendir(/media/carrotmanmatt_nas_files/data/carrotmanmatt/cache): Failed to open directory: Permission denied at /var/www/html/lib/private/Files/Storage/Local.php#164","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"nHzy6WGmhO3fR1i47wnl","level":3,"time":"2023-12-21T12:20:43+00:00","remoteAddr":"172.24.0.7","user":"carrotmanmatt","app":"PHP","method":"POST","url":"/login","message":"opendir(/media/carrotmanmatt_nas_files/data/carrotmanmatt/cache): Failed to open directory: Permission denied at /var/www/html/lib/private/Files/Storage/Local.php#164","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.0.11","data":{"app":"PHP"}}
{"reqId":"dc0vcUIOxvsnJ4IBaOJZ","level":2,"time":"2023-12-21T12:24:04+00:00","remoteAddr":"172.24.0.7","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/carrotmanmatt/","message":"Login failed: 'carrotmanmatt' (Remote IP: '172.24.0.7')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"28.0.0.11","data":{"app":"core"}}
{"reqId":"a6J0GXS2CQbrupLK0eGr","level":2,"time":"2023-12-21T12:39:41+00:00","remoteAddr":"172.24.0.7","user":"--","app":"core","method":"GET","url":"/index.php/apps/notes/api/v1/notes?pruneBefore=0","message":"Login failed: 'carrotmanmatt' (Remote IP: '172.24.0.7')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"28.0.0.11","data":{"app":"core"}}
{"reqId":"Fvam09jeEXbXveewAUTK","level":2,"time":"2023-12-21T12:39:41+00:00","remoteAddr":"172.24.0.7","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/carrotmanmatt/","message":"Login failed: 'carrotmanmatt' (Remote IP: '172.24.0.7')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"28.0.0.11","data":{"app":"core"}}
{"reqId":"SasA45rVw9dPLuiQzzEI","level":2,"time":"2023-12-21T12:55:34+00:00","remoteAddr":"172.24.0.7","user":"--","app":"core","method":"GET","url":"/index.php/apps/notes/api/v1/notes?pruneBefore=0","message":"Login failed: 'carrotmanmatt' (Remote IP: '172.24.0.7')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"28.0.0.11","data":{"app":"core"}}
{"reqId":"4MM5VK8jRcatcqCo0r3X","level":2,"time":"2023-12-21T12:55:34+00:00","remoteAddr":"172.24.0.7","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/carrotmanmatt/","message":"Login failed: 'carrotmanmatt' (Remote IP: '172.24.0.7')","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"28.0.0.11","data":{"app":"core"}}
{"reqId":"oZ2ThK7kaCx0WyeAyV7u","level":3,"time":"2023-12-21T13:15:00+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for preview","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":170,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":93,"function":"getId","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":79,"function":"getOldPreviewLocations","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":66,"function":"getDeletedFiles","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":102,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":92,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/lib/private/Files/AppData/AppData.php","Line":108,"message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","exception":{},"CustomMessage":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )"}}
{"reqId":"urwWfPdTA7EW0eLcJ8uk","level":3,"time":"2023-12-21T14:15:01+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for preview","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":170,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":93,"function":"getId","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":79,"function":"getOldPreviewLocations","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":66,"function":"getDeletedFiles","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":102,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":92,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/lib/private/Files/AppData/AppData.php","Line":108,"message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","exception":{},"CustomMessage":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )"}}
{"reqId":"lmP7K0gOv55AE57kcGMQ","level":3,"time":"2023-12-21T15:20:00+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for preview","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":170,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":93,"function":"getId","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":79,"function":"getOldPreviewLocations","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":66,"function":"getDeletedFiles","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":102,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":92,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/lib/private/Files/AppData/AppData.php","Line":108,"message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","exception":{},"CustomMessage":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )"}}
{"reqId":"QGqsxfpfVD27oWlQxp4q","level":3,"time":"2023-12-21T16:25:01+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for preview","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":170,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":93,"function":"getId","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":79,"function":"getOldPreviewLocations","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":66,"function":"getDeletedFiles","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":102,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":92,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/lib/private/Files/AppData/AppData.php","Line":108,"message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","exception":{},"CustomMessage":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )"}}
{"reqId":"1aWc2VbCjvUYSPh1VHJI","level":3,"time":"2023-12-21T17:30:01+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for preview","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":170,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":93,"function":"getId","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":79,"function":"getOldPreviewLocations","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":66,"function":"getDeletedFiles","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":102,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":92,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/lib/private/Files/AppData/AppData.php","Line":108,"message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","exception":{},"CustomMessage":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )"}}
{"reqId":"ESi6AS94bGkGqkChnQ3C","level":3,"time":"2023-12-21T18:30:01+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for preview","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":170,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":93,"function":"getId","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":79,"function":"getOldPreviewLocations","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":66,"function":"getDeletedFiles","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":102,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":92,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/lib/private/Files/AppData/AppData.php","Line":108,"message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","exception":{},"CustomMessage":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )"}}
{"reqId":"60Nof2wAo6aeDzYOBI31","level":3,"time":"2023-12-21T19:35:01+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OC\\Preview\\BackgroundCleanupJob, arguments: )","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"RuntimeException","Message":"Could not get appdata folder for preview","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":170,"function":"getAppDataFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":93,"function":"getId","class":"OC\\Files\\AppData\\AppData","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":79,"function":"getOldPreviewLocations","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/private/Preview/BackgroundCleanupJob.php","line":66,"function":"getDeletedFiles","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OC\\Preview\\BackgroundCleanupJob","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":102,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":92,"function":"start","class":"OCP\\B... (630 KB left)

Any help would be greatly appreciated & feel free to ask questions for more information (I have attached the necessary log files)

Shouldn’t the nextcloud user be www-data? Unsure why you would use root or something else.

Be sure to check truenas documentation and forum support since that is your underlying system used by Nextcloud.

Hi I think you are misunderstanding here. I am not running Nextcloud on the TrueNAS system, so it is not my “underlying system”. I am running the docker container on its own independent host.

Furthermore the nextcloud user is www-data, I’m unsure where you got the idea that it is root? Especially when I mentioned that I have set the permissions of my data-directory to be owned by the www-data user.

Appreciate you trying to help out!

Got it. Try opening a thread on truenas support and linking this there / vice-versa

Cheers, I already have! Help with Nextcloud docker installation with NFS hosted data directory | TrueNAS Community

1 Like