Unable to creat admin account on new install

Unraid 6.12.11 with portainer installed followed this guide:

Easy way to install Nextcloud

All went well until I accessed the nextcloud setup via http://[UNRAID_IP]:8080 to create an admin account. Having completed the username and password and selected install I received the following 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.

But I cannot access the log as far as I am aware without logging in.

Yes you can. It’ll be located in /var/www/html/data/nextcloud.log within the container. Or the equivalent outside the container on your host, if using bind mounts (which it appears that tutorial has at /var/lib/docker/volumes/Nextcloud_Application.

www/ folder is empty

Would you please explain:

" Or the equivalent outside the container on your host, if using bind mounts (which it appears that tutorial has at /var/lib/docker/volumes/Nextcloud_Application ."

This is impossible. It’s part of the image itself. Are you sure you’re looking in the container? It won’t be on your underlying host at that path.

Would you please explain:

Or the equivalent outside the container on your host, if using bind mounts (which it appears that tutorial has at /var/lib/docker/volumes/Nextcloud_Application .

You’re using Docker. And based on the Compose file in the tutorial you linked to, it appears to be using bind mounts for the Docker volumes. That path (though it’s not where I’d place the volume) is where that tutorials seems to have placed the content of that volume on your underlying host.

If you’d like, you can also look at the official documentation for that Docker image you’re trying to use: GitHub - nextcloud/docker: ⛴ Docker image of Nextcloud

If still not sure, it would be helpful if you posted the actual Compose file you’re using, rather than linking to a third-party tutorial.

You’re not the only one; a lot of people including myself are in the boat. Being told to find the log file; but can’t seem to find it.

I found the log:

{“reqId”:“Z5Fvigi8IOvKjpKk2tGq”,“level”:3,“time”:“2024-08-23T13:11:25+00:00”,“remoteAddr”:“192.168.1.59”,“user”:“–”,“app”:“PHP”,“method”:“GET”,“url”:“/”,“message”:“fopen(/var/www/html/config/config.php): Failed to open stream: No such file or directory at /var/www/html/lib/private/Config.php#221”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36”,“version”:“”,“data”:{“app”:“PHP”}}

http://192.168.1.249/logterminal/nextcloud-app-1.log/

Warning: /var/www/html/config/autoconfig.php differs from the latest version of this image at /usr/src/nextcloud/config/autoconfig.php

/var/www/ is empty

/usr/src/linux-6.1.99-Unraid/

I used the compose file in the guide, only editing the passwords:

version: '2'

services:
  db:
    image: mariadb:10.5
    restart: always
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
    volumes:
      - /var/lib/docker/volumes/Nextcloud_Database:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=password
      - MYSQL_PASSWORD=password
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud

  app:
    image: nextcloud
    restart: always
    ports:
      - 8080:80
    links:
      - db
    volumes:
      - /var/lib/docker/volumes/Nextcloud_Application:/var/www/html
    environment:
      - MYSQL_PASSWORD=password
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_HOST=db

I am using Ubuntu 24.04

Tracker: [bug] Internal Server Error: `Failed to open stream: No such file or directory at /var/www/html/lib/private/Config.php` · Issue #2283 · nextcloud/docker · GitHub