Nextcloud

595 readers
27 users here now

Community dedicated to Nextcloud

founded 2 years ago
MODERATORS
1
 
 

I'm trying to set up Nextcloud using the AIO Docker install onto my Synology.

I got through the first stage of setup, and navigated to the /containers page. It shows all containers as "Starting", with a yellow dot. Except for the Fulltextsearch, which is Stopped red (due to me stopping it, after I realised I had installed it despite my platform not supporting Seccomp, but the "Optional containers" checkbox being greyed out even when it’s stopped).

Many of these containers show as green/healthy in the DSM Container Manager even though the /containers page doesn't show them as such.

Logs for the different containers:

Mastercontainer logs:

Trying to fix docker.sock permissions internally...
Adding internal www-data to group root
DOCKER_API_VERSION was found to be set to '1.43'.
Please note that only v1.44 is officially supported and tested by the maintainers of Nextcloud AIO.
So you run on your own risk and things might break without warning.
WARNING: No kernel memory TCP limit support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
WARNING: No kernel memory TCP limit support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
Initial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080/
⚠️ Important: do always use an ip-address if you access this port and not a domain as HSTS might block access to it later!

If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443/
/usr/lib/python3.12/site-packages/supervisor/options.py:13: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
{"level":"warn","ts":1766322552.6626272,"msg":"failed to set GOMAXPROCS","error":"open /sys/fs/cgroup/cpu/cpu.cfs_quota_us: no such file or directory"}
{"level":"info","ts":1766322552.6628811,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":3671407411,"previous":9223372036854775807}
{"level":"info","ts":1766322552.6629462,"msg":"using config from file","file":"/Caddyfile"}
{"level":"info","ts":1766322552.6645825,"msg":"adapted config to JSON","adapter":"caddyfile"}
{"level":"info","ts":1766322552.6664238,"msg":"serving initial configuration"}
[mpm_event:notice] [pid 152:tid 152] AH00489: Apache/2.4.66 (Unix) OpenSSL/3.5.4 configured -- resuming normal operations
[core:notice] [pid 152:tid 152] AH00094: Command line: 'httpd -D FOREGROUND'
NOTICE: fpm is running, pid 157
NOTICE: ready to handle connections
NOTICE: PHP message: 404 Not Found
Type: Slim\Exception\HttpNotFoundException
Code: 404
Message: Not found.
File: /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php
Line: 76
Trace: #0 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(62): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
#1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(482): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#2 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(178): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
#3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(117): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#4 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(53): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#6 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(283): AIO\Middleware\AuthMiddleware->__invoke(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#8 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\ErrorMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#12 /var/www/docker-aio/php/public/index.php(200): Slim\App->run()
#13 {main}
Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.
NOTICE: Terminating ...
NOTICE: exiting, bye-bye!
[mpm_event:notice] [pid 152:tid 152] AH00491: caught SIGTERM, shutting down

Database logs:

+ rm -rf '/var/lib/postgresql/data/*'
+ touch /mnt/data/initial-cleanup-done
+ set +ex
chmod: /var/run/postgresql: Operation not permitted
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default "max_connections" ... 100
selecting default "shared_buffers" ... 128MB
selecting default time zone ... Australia/Brisbane
creating configuration files ... ok
running bootstrap script ... ok
sh: locale: not found
[30] WARNING:  no usable system locales were found
performing post-bootstrap initialization ... ok
initdb: warning: enabling "trust" authentication for local connections
initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
syncing data to disk ... ok


Success. You can now start the database server using:

    pg_ctl -D /var/lib/postgresql/data -l logfile start

waiting for server to start....
[36] LOG:  starting PostgreSQL 17.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit
[36] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
[39] LOG:  database system was shut down at 2025-12-21 23:21:07 AEST
[36] LOG:  database system is ready to accept connections
 done
server started
CREATE DATABASE


/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init-user-db.sh
CREATE ROLE
ALTER DATABASE
+ touch /mnt/data/initialization.failed
+ psql -v ON_ERROR_STOP=1 --username nextcloud --dbname nextcloud_database
GRANT
GRANT
+ rm /mnt/data/initialization.failed

waiting for server to shut down....2025-12-21 23:21:12.597 AEST [36] LOG:  received fast shutdown request
+ set +ex
[36] LOG:  aborting any active transactions
[36] LOG:  background worker "logical replication launcher" (PID 42) exited with exit code 1
[37] LOG:  shutting down
[37] LOG:  checkpoint starting: shutdown immediate
[37] LOG:  checkpoint complete: wrote 934 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.805 s, sync=0.674 s, total=2.456 s; sync files=308, longest=0.322 s, average=0.003 s; distance=4260 kB, estimate=4260 kB; lsn=0/19163B0, redo lsn=0/19163B0
[36] LOG:  database system is shut down
 done
server stopped

PostgreSQL init process complete; ready for start up.

[14] LOG:  starting PostgreSQL 17.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit
[14] LOG:  listening on IPv4 address "0.0.0.0", port 5432
[14] LOG:  listening on IPv6 address "::", port 5432
[14] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
[57] LOG:  database system was shut down at 2025-12-21 23:21:15 AEST
[14] LOG:  database system is ready to accept connections
[55] LOG:  checkpoint starting: time
[55] LOG:  checkpoint complete: wrote 48 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=4.592 s, sync=0.911 s, total=6.666 s; sync files=13, longest=0.172 s, average=0.071 s; distance=270 kB, estimate=270 kB; lsn=0/1959CE8, redo lsn=0/1959C58
++ rm -f /mnt/data/database-dump.sql.temp
++ touch /mnt/data/export.failed
++ pg_dump --username nextcloud nextcloud_database
++ rm -f /mnt/data/database-dump.sql
++ mv /mnt/data/database-dump.sql.temp /mnt/data/database-dump.sql
++ pg_ctl stop -m fast
[14] LOG:  received fast shutdown request
[14] LOG:  aborting any active transactions
[14] LOG:  background worker "logical replication launcher" (PID 60) exited with exit code 1
[55] LOG:  shutting down
[55] LOG:  checkpoint starting: shutdown immediate
[55] LOG:  checkpoint complete: wrote 0 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.502 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=243 kB; lsn=0/1959D98, redo lsn=0/1959D98
[14] LOG:  database system is shut down
waiting for server to shut down.... done
server stopped
++ rm /mnt/data/export.failed
++ echo 'Database dump successful!'
++ set +x
Database dump successful!
Setting postgres values...
chmod: /var/run/postgresql: Operation not permitted

PostgreSQL Database directory appears to contain a database; Skipping initialization

[14] LOG:  starting PostgreSQL 17.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit
[14] LOG:  listening on IPv4 address "0.0.0.0", port 5432
[14] LOG:  listening on IPv6 address "::", port 5432
[14] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
[24] LOG:  database system was shut down at 2025-12-21 23:49:29 AEST
[14] LOG:  database system is ready to accept connections

Nextcloud logs:

Waiting for database to start...
Waiting for database to start...
Waiting for database to start...

Redis logs:

Memory overcommit is disabled but necessary for safe operation
See https://github.com/nextcloud/all-in-one/discussions/1731 how to enable overcommit
Redis has started
# WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
# WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.

I don’t think Redis is related to my current problem, but I suspect they may be an issue later...

Configuration

AIO compass.yaml file:

name: nextcloud-aio
services:
  nextcloud-aio-mastercontainer:
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /run/docker.sock:/var/run/docker.sock:ro
    network_mode: bridge
    ports:
      - 8080:8080
    environment:
      APACHE_PORT: 11000
      APACHE_IP_BINDING: 127.0.0.1
      DOCKER_API_VERSION: 1.43 # As far as I can tell, this is the version supported on Synology when running "docker version | grep API"
      NEXTCLOUD_DATADIR: /volume1/nextcloud
      WATCHTOWER_DOCKER_SOCKET_PATH: /run/docker.sock
      COLLABORA_SECCOMP_DISABLED: true

volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer

Does anyone have any idea of how to get this working? Or of good troubleshooting steps to try?

2
 
 

Why is the official Nextcloud help community so combative? I've been working with Nextcloud for about 3 months in various configurations and every time I've had to seek assistance there it has been an unwelcome experience.

Even when I say something to the effect of "I'm having this problem with "X", I think I've done something wrong in configuration, where should I look first?" I almost always get a sharp response at best, and most often a response akin to: "You're wrong, that problem doesn't exist. I've tested it on my server." This latest time, I've found a problem in 3 different installations, 2 other users confirmed they also experience the problem and my thread is just hijacked with "Well we don't see it, so it doesn't exist." and "You should have told us "X" if you wanted any real help." or "Why are you asking here instead of somewhere else?" Every time I post there, I find myself backing away cautiously while vitreol just erupts.

I'm not one of the users who just willy nilly starts posting questions everywhere - I go through lot of self-help effort, investigating, researching and looking at official documentation and searching online to try and figure it out myself before I post, but I'm always faced with a "You're so stupid for posting here." vibe over there. I've experienced this same or similar behavior over at least a half a dozen attempts to get help with something. In my 20+ years of hosting experience, participating in countless communities, I have never experienced such an unwelcoming, hostile "help community". What's the deal?

3
 
 

cross-posted from: https://aussie.zone/post/27569122

Most of the threads I've found on other sites (both Reddit and the Synology forums) have basically said "go with Docker". But what do you actually gain from this?

People suggest it's more up-to-date, and maybe for some packages that's true? But for Nextcloud specifically it looks pretty good. 32.0.3 came out 1 day ago and isn't yet supported, but the version immediately preceding that, from 3 weeks ago, is.

I've never done Nextcloud before, but I would assume installing it via the Package Center would be way easier to install and to keep up-to-date than Docker. So what's the reason everyone recommends Docker? Is it easier to extend?

4
1
submitted 1 month ago* (last edited 1 month ago) by Ulrich@feddit.org to c/nextcloud@lemmy.world
 
 

I volunteer with a small local org. They use Google Workspace. I want to ask them to switch to NextCloud. But despite looking pretty throughly, I can't find anyone that offers managed hosting/support. I don't want to be the sysadmin. The org already pays a hefty fee for Google so they should't have a problem paying for NextCloud.

NC recommends a bunch of providers on their site, but they all look like VPS's, and don't seem to mention NC at all, much less anything about support. They also all look like they're non-US, which I understand many would consider a good thing but I really don't want to be dealing with slow connections. Not sure if that's a realistic concern.

Bonus points if they offer discounts for non-profits.

5
 
 

cross-posted from: https://lemmy.world/post/38329467

Main site at https://seagl.org/ and they are on fediverse @SeaGL@mastodon.social

A number of talks and expo hall. All are welcome; please help re-share so people can know about it and attend. Lots of the talks will be on streaming as well for remote participation. They also have Matrix chats https://seagl.org/meet

6
7
8
 
 

Please enjoy this very technical discussion on Nextcloud Atomic, the immutable system-level wrapper for Nextcloud AIO, which is being designed as the successor to NextcloudPi. Atomic delivers Nextcloud as a simple deployment for single machines, allowing easy selfhosting for home enthusiasts and anyone else wanting to run Nextcloud.

Interview includes Tobias (Atomic, NextcloudPi, Nextcloud Secrets) and Marcel (Floccus, Bookmarks, Recognize). Begins with quick overview and review of running Nextcloud, along with popular outlying Nextcloud implementations and apps then discussed at-length. For comprehensive show notes and timestamps click here.

If you enjoy the interview, please do share it with others! Thanks so much.

9
1
Securing Nextcloud (docs.nextcloud.com)
submitted 6 months ago* (last edited 6 months ago) by dbtng@eviltoast.org to c/nextcloud@lemmy.world
 
 

I've had some fun with my Nextcloud box. Its doing a few things for me. Got a couple apps going. I've somewhat learned the platform. I'm done with burn-in, and ready to start using it on a serious basis. And to do that, I have to trust the security.

I don't see a lot of info out there about practical methods of securing the system. I'm guessing the only really solid way to secure it is a firewall and VPN. They do not cover this method in their official docs. I don't trust their security and/or my effective implementation of its quirks.

(It's not that I have reason to doubt the product, but its a web server on the internet, known to have goodies hidden behind it. Any Nextcloud box with web access must be a target.)

I'm interested in any advice. I'll read any links posted. Thanks.

10
 
 

I'm still figuring out my new toy. I've done little enough that I could redeploy if needed. But it works. All the bits fit together. I can install apps and extend my system.

I guess I expected something like googleapps. The interface is more like onedrive. I got CORE going. Gonna build a mailserver this week and hook that up.

Well, I have file transfer between mobile, desktop,and server. If I wanted to edit my resume on the fly, and have that be THE new version, thats do-able. I started uploading some favorite music, and that was my first actual "use". I can listen to these things anywhere. Cool! High quality stream, too.

So ... what are you doing with your Nextcloud?

11
1
Nextcloud on Hetzner (docs.hetzner.com)
submitted 6 months ago* (last edited 6 months ago) by dbtng@eviltoast.org to c/nextcloud@lemmy.world
 
 

I've been trying to do nextcloud for a couple months. Like many folks, I dove in, found I needed to run from a domain to do it right, considered a couple hacks, and finally just tabled the idea.

Well, I do have a domain, I've just leased a Hertzner server, and I'm still struggling. I guess most of my issues have been in learning their systems, but I've completely deleted it twice, wiped it several times, and have just now achieved a working ssl protected website ... that I cant login to.

Gonna be at least one more reinstall before I get this right. Wish me luck ...

...

Hrmm. Fixed some install stuff. Still no auth. I didn't install to a sub-domain. Could that be it ... ? Try again.

...

Got it running. I think my next step is getting a mailserver going. I'm looking at mail-in-a-box.

12
13
14
15
1
submitted 8 months ago* (last edited 8 months ago) by justblackcoffeeplease@lemmy.ca to c/nextcloud@lemmy.world
 
 

Would it be reasonable to expect a Raspberry Pi 4 to run Nextcloud and manage a photo backup of +100 Gb?

The Raspberry Pi is from 2020, running Raspbian, and it was used as an intervalometer with the help of gphoto2 (meaning no great efforts were demanded from it).

The pictures are on two external hard drives

*1Tb WesternDigital SATA (bought second hand, but "like new" according to the sales guy.

*320Gb WesternDigital SATA (inherited from an AcerOne laptop once I realized it could not even handle lubuntu)

My very limited knowledge on the subject tells me I need to:

*Get rid of Raspbian and install Raspberry Pi OS

*Install Nextcloud (and upgrade an existing account)

*Upload +100 Gb

Would the aforementioned steps allow me to access the files on Fedora/Kubuntu (two separate hard drives on a desktop) and openSUSUE (on a laptop)?

I’m also testing a filen.io account and a sync.com account. All three services (NextCloud, Filen, and Sync) work as I expect on an Ipad.

Filen and Nextcloud have Linux applications, and both have been working without problems on test backups of 100 pictures.

Sync is CANADIAN but not Linux friendly (I tried Wine, didn’t work, gave up)… I’m accessing a free account via Firefox only, so I’m not counting on them for this journey.

So, long story short, I want to back up my files (mostly pictures/scans and some pfd documents) on someone else's computer and locally.

Now the question. Can anyone recommend a guide to achieve what I want?

I’m a cook by trade without any technical (software/hardware) training who has been using Linux (openSUSE, Ubuntu, Arch, Mint) since 2012. Please forgive any mistakes on terminology.

I included a picture of my intervalo-Frankenstein-meter from 2020.

Thank You.

16
 
 

Please @nextcloud@mastodon.xyz could you allow your #android app to open custom links? I was given access to a #nextcloud instance, but when somebody shares links to files on nextcloud, it opens the browser and I have to search for my login details every single time. Kinda defeats the purpose of having an app + it makes me want to just share the files publicly - I know others do too.

17
18
 
 

I'm wondering if there is a way for me to sync my SMS messages with Nextcloud and not share them with third party apps. I currently use an app that allows me to block numbers and helps me filter spam but I'm sure they have a copy of all my messages which I don't like.

Any suggestions?

19
20
21
 
 

I have a Nextcloud v24.xx install on shared hosting, good host that would probably help, but I want to learn. I hve looked through the Nextcloud site and my OS/browsers are deemed too old. I can run MX KDE off a stick but not for long because it runs the fans hard on my old MBP (2009).

I've had an issue with the internal GUI updater getting stuck on Step 3 for a long time. There was a file to remove so I could try again, which I did back then in the v25 days, but it kept stopping at Step 3, and I've been ill, so I let it go.

Now I look and NC is on v28? And I now have a little time. I have SSH access and the cPanel terminal available, and when Softalicious did the install I chose the db name and can find that info and have PHP MyAdmin access.

But I am not certain about some things, one being that I see advice out there to update one version at a time, which seems like it'll be a long slog if it can be done at all, since I'm on 24.xx now.

Softalicious, BTW, also could not do the update back then and then at a certain point told me it was too many versions behind instead of just failing with no explication.

I'd either like to update in one swoop, or save my data/db and do a new install and import my data from a backup and point it to the db. I'm assuming there were database changes along the way and a 24.x db might not import.

Suggestions welcomed, anything I learn I'll post if helpful.

22
23
1
submitted 2 years ago* (last edited 2 years ago) by Zafcar@lemmy.world to c/nextcloud@lemmy.world
 
 

Hey guys, I am pretty new to nextcloud.

Right now I am look for some good plugins to sync into multiple devices, as I take a lot of notes and do a lot of team projects.

For now the plugins I am using -

24
 
 

Okay i have a strange problem. Im running a nextcloud instance with linuxserver.io docker. And every night at 03:00 AM i get 100% load. And it disapears when i restart the docker.

I have entered docker shell when the high loads occurs and i see that the process is php /app/www/public/cron.php that is causing the high load.

Nothing i the logs shows errors and i have checked all settings. How can i continue the search of what making the high load?

I cant trigger the high load from anything else execpt waiting until 03:00 AM.

25
 
 

Might be of some interest to those who moved away from ownCloud to Nextcloud.

https://owncloud.com/news/owncloud-becomes-part-of-kiteworks/

view more: next ›