Can't install because Nextcloud is not installed

#1

Hey! I’m trying to install nextcloudpi with

docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v ncdata:/data --name nextcloudpi ownyourbits/nextcloudpi-armhf 192.168.1.XX

So the container is created. Let’s try to activate it. Oops, something went wrong. Okay, let’s check the logs

$ docker logs -f nextcloudpi
Starting PHP-fpm
Starting Apache
Starting mariaDB
2019-04-15 19:13:04 1995967280 [Note] mysqld (mysqld 10.1.37-MariaDB-0+deb9u1) starting as process 81 ...
Starting Redis
Starting Cron
Starting Postfix
Nextcloud is not installed - only a limited number of commands are available


  There are no commands defined in the "config:system" namespace.


Init done

Ok … This looks weird but I don’t know if it’s important. Let’s check the error logs

$ cat /var/log/ncp.log
[ nc-maintenance ]
Nextcloud is not installed - only a limited number of commands are available


  Command "maintenance:mode" is not defined.

  Did you mean this?
      maintenance:install



[ nc-admin ]
Nextcloud is not installed - only a limited number of commands are available


  There are no commands defined in the "user" namespace.



[ nc-admin ]
Nextcloud is not installed - only a limited number of commands are available


  There are no commands defined in the "user" namespace.



[ nc-admin ]
Nextcloud is not installed - only a limited number of commands are available


  There are no commands defined in the "user" namespace.

And the [nc-admin] part is repated many times …
I don’t know why it says Nextcloud isn’t installed … That’s weird.
I don’t know what I can do

EDIT: I tried to docker container rm nextcloudpi then run again the frist command many times before I’ve seen what the problem is

EDIT 2: I’m using Raspbian 9.8 Stretch

0 Likes