-
-
Notifications
You must be signed in to change notification settings - Fork 139
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for opening this pull request! Be sure to follow the pull request template!
2f05bd8 to
e950f35
Compare
Root-Core
commented
Sep 13, 2025
I found an issue with the current script: it does not create the CAN_INSTALL file.
I don't know why it works at all in the current container script. However, the script creates the file now.
LinuxServer-CI
commented
Sep 13, 2025
|
I am a bot, here are the test results for this PR:
|
LinuxServer-CI
commented
Oct 14, 2025
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
Root-Core
commented
Oct 14, 2025
Not stale, needs review.
LinuxServer-CI
commented
Oct 17, 2025
|
I am a bot, here are the test results for this PR:
|
LinuxServer-CI
commented
Nov 13, 2025
|
I am a bot, here are the test results for this PR:
|
LinuxServer-CI
commented
Dec 10, 2025
|
I am a bot, here are the test results for this PR:
|
LinuxServer-CI
commented
Jan 6, 2026
|
I am a bot, here are the test results for this PR:
|
LinuxServer-CI
commented
Feb 2, 2026
|
I am a bot, here are the test results for this PR:
|
LinuxServer-CI
commented
Mar 1, 2026
|
I am a bot, here are the test results for this PR:
|
Root-Core
commented
Mar 1, 2026
@linuxserver Is there any chance to get this merged?
LinuxServer-CI
commented
Mar 28, 2026
|
I am a bot, here are the test results for this PR:
|
LinuxServer-CI
commented
Apr 24, 2026
|
I am a bot, here are the test results for this PR:
|
LinuxServer-CI
commented
May 25, 2026
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
Root-Core
commented
May 25, 2026
This still needs review and is not stale.
Thanks for the PR, but to be honest, I'm not in favor of it. It adds too much complexity for little gain.
You mentioned you got inspiration from the mariadb container but to be clear, the reasons we added those auto set up operations there are 1) mariadb doesn't have a setup wizard and 2) mariadb does support auto setup via script and/or conf file. Whereas Nextcloud already has a setup wizard that is pretty nice and intuitive.
This PR would significantly increase the maintenance and support burden for us for too little gain and thus has a high cost to benefit ratio.
PS. Even the mariadb container's setup vars are effective first time only. Changing the admin password later on does nothing, and that was intentional.
Root-Core
commented
May 28, 2026
Thank you for reviewing the PR. 👍🏻
The changes only call some occ commands in order to reduce the maintenance burden on users / administrators.
At the moment you need to call the migration steps manually after upgrades (not possible via the web interface).
PS. Even the mariadb container's setup vars are effective first time only. Changing the admin password later on does nothing, and that was intentional.
Besides the password this is also the case in this PR. It just offers a convenient, declarative setup.
I understand if that's not your approach, but I don't see where it spawns additional significant maintenance burden.
It adds four new calls (2x necessary maintenance, setup, password) and some environment variables.
The rest is just moving around some things for a better program flow and documentation.
- mariadb does support auto setup via script
So does NextCloud via occ. It's just a different interface for the same functionality.
aptalca
commented
May 29, 2026
https://www.linuxserver.io/blog/why-cant-you-just-implement-thing-i-want
I understand if that's not your approach, but I don't see where it spawns additional significant maintenance burden.
It's maintenance and support burden. Each new env var added (even if optional), means a bunch of users will try to set them, and incorrectly, needing support. Many of our users don't read. K.I.S.S. is a valuable principle for us.
linuxserver.io
Description:
This implements an automated method to install nextcloud via env variables.
This implements some automated maintenance steps, which fixes annoying warnings in the admin panel and is more comfortable.
This implements a automated way to reset the admin's password via env variables.
This implements a loading mechanism for env variables from a file.
Disclaimer: I took some inspiration / code from the mariadb container.
Benefits of this PR and context:
Improved UX and automated deployment.
How Has This Been Tested?
This was tested with docker compose and mariadb. I tested multiple instances.
It doesn't affect other parts of the code, but the order of modifying files is altered to prevent issues.
Source / References:
https://github.com/linuxserver/docker-mariadb/blob/912096e6bcc4b8a0b0ec6b20f347a4e93dad7d1e/root/etc/s6-overlay/s6-rc.d/init-mariadb-initdb/run#L23
https://github.com/linuxserver/docker-mariadb/blob/912096e6bcc4b8a0b0ec6b20f347a4e93dad7d1e/readme-vars.yml#L43