NextcloudPi on a Rock64
#14
(09-07-2018, 08:03 AM)prog-amateur Wrote:
(09-06-2018, 02:15 PM)Trash_Can_Man Wrote: If you prefer ready to use images you can also consider this, i dont use nextcloud but i DO use syncthing and several other dockers and they all come ready to use, dependencies, setup, everything, exept your personal info and own setup ofc...

Thank you very much. I will check, the only issue here is my knowledge, I have never tried docker, so I will read how it works and how to install it !

Its easy, on most distros its just "sudo apt-get install docker" then use the command on the docker image webpage:
Code:
docker create \
   --name nextcloud \
   -p 443:443 \
   -e PUID=<UID> -e PGID=<GID> \
   -v </path/to/appdata>:/config \
   -v <path/to/data>:/data \
   lsioarmhf/nextcloud-aarch64

replace paths and PGID/PUID with your values, one important tip about the path, in that example "/path/to/appdata" refers to a path OUTSIDE the container and "/config" refers to a path INSIDE the container, containers are isolated from the underlying OS and this path creation is a way to cross easily that barrier...PGID and PUID refer to the user you want to use to run the WHOLE container, its a user OUTSIDE the container ofc and preferably it shouldnt be root and should have write permission to the set paths OUTSIDE...

finally you do:
Code:
docker start nextcloud

and your container is runing (give it time to start ofc, this one seems lightweight so i guess one minute should be more than enough), after this most containers have some form of admin webpage, never used nextcloud but a fair guess is that such admin page should be on http://ip-of-your-board:443 in this case since its opening that exact port

and btw its not detailed on the container webpage but i suggest to add "--restart=unless-stopped" to the creation command so if the docker is stopped for any reason it should restart (unless you stop it manually)

another suggestion, run this:
Code:
docker run -d -p 9000:9000 --name=portainer --net=host --restart=unless-stopped -v /var/run/docker.sock:/var/run/docker.sock -v /data:/data portainer/portainer
keep the docker.sock virtual path intact and change the data one, this install a docker container with portainer, a very good admin app for remote control of your dockers, start, stop, live log, changing settings, etc etc...


Messages In This Thread
NextcloudPi on a Rock64 - by jsfrederick - 03-27-2018, 08:23 PM
RE: NextcloudPi on a Rock64 - by xalius - 03-28-2018, 02:51 AM
RE: NextcloudPi on a Rock64 - by Luke - 03-28-2018, 02:55 AM
NextcloudPi on a Rock64 - by jsfrederick - 03-28-2018, 08:31 PM
RE: NextcloudPi on a Rock64 - by tllim - 04-02-2018, 08:40 PM
RE: NextcloudPi on a Rock64 - by nachoparker - 05-10-2018, 08:53 AM
RE: NextcloudPi on a Rock64 - by tllim - 05-10-2018, 04:29 PM
RE: NextcloudPi on a Rock64 - by prog-amateur - 09-05-2018, 08:51 AM
RE: NextcloudPi on a Rock64 - by Luke - 09-05-2018, 02:46 PM
RE: NextcloudPi on a Rock64 - by tllim - 09-06-2018, 12:02 AM
RE: NextcloudPi on a Rock64 - by prog-amateur - 09-06-2018, 04:01 AM
RE: NextcloudPi on a Rock64 - by Trash_Can_Man - 09-06-2018, 02:15 PM
RE: NextcloudPi on a Rock64 - by prog-amateur - 09-07-2018, 08:03 AM
RE: NextcloudPi on a Rock64 - by Trash_Can_Man - 09-07-2018, 11:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 No Audio @ Debian 12 dmitrymyadzelets 2 1,148 04-08-2024, 06:47 AM
Last Post: dmitrymyadzelets
  OpenWRT on the Rock64 CanadianBacon 14 11,001 04-03-2024, 08:48 AM
Last Post: helpmerock
  Rock64 bricked shawwwn 7 7,093 03-17-2024, 12:22 PM
Last Post: dmitrymyadzelets
  Rock64 won't boot luminosity7 10 6,148 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 765 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 2,769 04-29-2023, 04:24 AM
Last Post: newestssd
  Rock64 board not working, no HDMI no Ethernet. EDited 3 4,294 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 3,023 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 1,073 11-28-2022, 02:18 PM
Last Post: Macgyver
  my rock64 dosen't work rookie_267 0 1,265 10-07-2022, 07:50 PM
Last Post: rookie_267

Forum Jump:


Users browsing this thread: 1 Guest(s)