Really Need some Help

Tried installing Next Could using the Docker instructions on the website https://hub.docker.com/_/nextcloud/. I even get the screen to create a log in a/c but after that this is what i get.

Can someone please assist on how to debug this

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.

Tried to find the log file; but can’t seem to find it; even if i do find the log how do i view it using cat filename ?

Any assistance would be grateful.

root@NextCloud:~# find ~ name *.log
/root
/root/docker-compose.yaml
/root/.bashrc
/root/.ssh
/root/.local
/root/.local/share
/root/.local/share/nano
/root/.bash_history
/root/.profile
find: 'name': No such file or directory
find: '*.log': No such file or directory
root@NextCloud:~#
version: '2'

volumes:
  nextcloud:
  db:

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

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

Looks like you may be looking outside the container on your host. The log is located in the container.

In your case something like:

docker compose exec -u33 app bash

…will get you a command line in the app container.

The log will be located in /var/www/html/data/nextcloud.log within the container.

1 Like

Hi i went to /mnt/ncdata/nextcloud but still couldn’t find anything



root@NextCloud:/mnt/ncdata/nextcloud# ls
3rdparty  apps           config       cron.php     dist        lib                       ocs                package.json  resources   themes
AUTHORS   composer.json  console.php  custom_apps  index.html  nextcloud-init-sync.lock  ocs-provider       public.php    robots.txt  version.php
COPYING   composer.lock  core         data         index.php   occ                       package-lock.json  remote.php    status.php
root@NextCloud:/mnt/ncdata/nextcloud# find ~ name *.log
/root
/root/docker-compose.yaml
/root/.bashrc
/root/.ssh
/root/.local
/root/.local/share
/root/.local/share/nano
/root/.bash_history
/root/.profile
find: 'name': No such file or directory
find: '*.log': No such file or directory
root@NextCloud:/mnt/ncdata/nextcloud#

I’m not sure where you’re getting that path from. The Compose file you posted does not use that path. It uses a Docker managed volume:

volumes:
- nextcloud:/var/www/html

Hit Jtr;

I’m using a Proxmox mount point /mnt/ncdata/… and amended the docker compose volumes by prefixing this.

I’m not really sure what you are trying here?

  • inside of the container the right path is supposed to be /var/www/html/data..
  • outside of the container find ~ will perform a search inside of “home of the root of the host”

and please use code tags `` or ``` or button: </> when entering console output!

this is where you must look into:

I believe this has to do with a bug that i’ve read on Github has to do with new installs.

I managed to get it running by using an earlier version of NC.

1 Like