I ran NC16-18 on my Synology DS218+ for my home / work sync of data on my machines.
Iām fine with command line stuff but as a HW engineer I donāt have the time anymore to devote on learning myself up on the intricacies of linux services etc and piping which version of php.ini to where. I did compile a linux kernel once to include network drivers - but that was 2 decades ago.
Note everything is local network only.
Eventually the system fell over and there were too many php related incompatibilties between Synology releases and NC.
Fast forward to now, Synology is on DSM7 and I believe that a docker container is the best way to get NC up and running for a single user environment.
I cannot find a good tutorial for installing NC and MariaDB in docker as per my system - everything seems very out of date.
Iām using the linuxserver docker images, as the github/docker ones were inscrutable to me.
Started to sync my stuff to my nextcloud docker instance. After a while, slows to a halt and āfile lockā issues.
As this is now docker - I donāt know how (or where) to ssh into to run occ tools or access my database, e.g.
Of course Iāve tried a bunch of stuff, but everything is a blind end (my docker user is nextcloud:docker).
Where is a good tutorial on how to install this in a docker? And a good tutorial for how to do maintenance in docker installs (NC still seems to be flakey and DB maintenance needs to be done by hand)?
There are plenty of shitty or incorrect tutorials on the internet on how to setup stuff up badly (to wit: OpenVPN).
There are also plenty of crappy cooking sites on how to make chili.
I was hoping that someone might have a āknown goodā tutorial, as I can imagine that things written a number of years ago are no longer recommended or supported.
may I suggest you to try out the new Nextcloud All-in-One appliance on your Diskstation? It should run pretty well without much maintenance once correctly started. I currently donāt have a complete guide but the basic steps are:
Install Docker on your Diskstation via the Synology Packet Center
Interesting - though Iām a bit worried as itās still quite ābetaā, right? (Iām using the system for consultancy work, so data loss and downtime would be a major issue).
Just tried the Nextcloud official docker build (which is 22.something). Which does not work for meā¦
(and goes to show why I would like a good tutorial)
Initializing nextcloud 22.2.3.0 ...
Initializing finished
New nextcloud instance
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Thu Feb 03 07:35:58.496849 2022] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.52 (Debian) PHP/8.0.15 configured -- resuming normal operations
[Thu Feb 03 07:35:58.496916 2022] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
[Thu Feb 03 07:36:12.471753 2022] [mpm_prefork:notice] [pid 1] AH00170: caught SIGWINCH, shutting down gracefully