iamklaus / nextcloud

Nextcloud docker file including cron via supervisor and all dependencies to install the face recognition app.
17 stars 9 forks source link

Issues installing need to update info #1

Closed DevilsDesigns closed 3 years ago

DevilsDesigns commented 3 years ago

i had a lot of trouble installing this repo. One thing i'm pretty sure you should not for people not totally knowledgable with docker is this is a docker mod. To install on docker you should run it like so.

docker run -d \
  --name=nextcloud \
  --network=proxynet \
  -e PUID=99 \
  -e PGID=100 \
  -e DOCKER_MODS=iamklaus/nextcloud:latest \
  -e TZ=America/Chicago \
  -p 444:443 \
  -v /mnt/disk1/appdata/nextcloud:/config \
  -v /mnt/disk1/appdata/nextcloud/data:/data \
  --restart unless-stopped \
  ghcr.io/linuxserver/nextcloud

it took me over 3 days and a lot of research and forums to figure this out. I really think you should document this for others. I am also usin unraid which has no base system it uses the unraid system. Thats why it was very difficult to find out how to do it for me.

DevilsDesigns commented 3 years ago

i also need to install the fpm version. As well as i get this error once install with permissions. https://pastebin.com/HxJz551F something to due with need to edit your supervisor file to have access to root

DevilsDesigns commented 3 years ago

i tried the fpm install and i get a weird error upon writing. for infortamtion i am using cli to run on unraid docker Running CLI:

docker run -d \
  --name=nextcloud \
  --network proxynet \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=America/Chicago \
  -p 444:443 \
  -v /mnt/disk1/appdata/nextcloud:/config \
  -v /mnt/disk1/appdata/data:/data \
  --restart unless-stopped \
  iamklaus/nextcloud:fpm

log error

Initializing nextcloud 20.0.3.2 ...
Initializing finished
New nextcloud instance
2020-12-16 10:56:52,640 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
crond: crond (busybox 1.30.1) started, log level 0
crond: user:www-data entry:(null)
100001000010000100001000010000100001000010000100001000010000
111111111111111111111111
11111111111111111111111111111111
111111111111
1111111
crond: user:www-data entry:(null)
100000000000000000000000000000100000000000000000000000000000
111111111111111111111111
11111111111111111111111111111111
111111111111
1111111
crond: user:www-data entry:(null)
100001000010000100001000010000100001000010000100001000010000
111111111111111111111111
11111111111111111111111111111111
111111111111
1111111
crond: user:www-data entry:(null)
100000000000000000000000000000100000000000000000000000000000
111111111111111111111111
11111111111111111111111111111111
111111111111
1111111
crond: wakeup dt=7
crond: file www-data:
crond: line php -f /var/www/html/cron.php
crond: line php -f /var/www/html/occ face:background_job -t 900

020-12-16 11:22:26,781 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
crond: crond (busybox 1.30.1) started, log level 0
crond: user:www-data entry:(null)

Just to Note if i install latest it installs just fine