Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Internal Server Error after installation of 29.0.5 #2283

Closed
walterzilla opened this issue Aug 24, 2024 · 12 comments
Closed

[bug] Internal Server Error after installation of 29.0.5 #2283

walterzilla opened this issue Aug 24, 2024 · 12 comments

Comments

@walterzilla
Copy link

walterzilla commented Aug 24, 2024

Setting up brand new istance using stock composer file with latest nextcloud image results in Internal Server Error shortly after pressing Install button.

image

No errors in containers log but inside NC one I can found following:

Failed to open stream: No such file or directory at /var/www/html/lib/private/Config.php

Anyway said file is there...

Quick workaround would be installing and upgrading previous minor release (29.0.4) but in that case one's facing a Connection refused error which requires editing mariadb container's default hostname (from container's one to host's one) so maybe would be better installing and upgrading previous major release (28.0.9) instead.

@joshtrichards joshtrichards changed the title [bug] Internal Server Error [bug] Internal Server Error: Failed to open stream: No such file or directory at /var/www/html/lib/private/Config.php Aug 24, 2024
@joshtrichards

This comment was marked as resolved.

@walterzilla
Copy link
Author

Is our 28.0.9 image broken too?

As mentioned before, installing and upgrading 28.0.9 and 29.0.4 images works fine (except for that minor issue with the latter).

Thanks for your prompt and careful remarks.

@joshtrichards
Copy link
Member

Possible workaround: Specify NEXTCLOUD_ADMIN_USER and NEXTCLOUD_ADMIN_PASSWORD (skips the web installer)

@h4b4n3r0
Copy link

Oh man. :P Yesterday everything was working with my test setup and today ... it drove me crazy.
Thanks for giving the hint with the additional env variables. It worked for me!

@joshtrichards

This comment was marked as resolved.

@walterzilla
Copy link
Author

walterzilla commented Aug 24, 2024

Possible workaround: Specify NEXTCLOUD_ADMIN_USER and NEXTCLOUD_ADMIN_PASSWORD (skips the web installer)

Interesting idea...but I have to point out that in my case doing so results in at least two collateral inconveniences:

  • trusted_domains config var being set to localhost
  • security warning Your data directory and files are probably accessible from the internet (etc etc...) appearing

Both of them (especially first one) can be fixed in no time if one knows where to put its hands, still I guess meanwhile better stick to a more straightforward workaround like upgrading from previous release...

@joshtrichards
Copy link
Member

You can set NEXTCLOUD_TRUSTED_DOMAINS too.

@walterzilla
Copy link
Author

You can set NEXTCLOUD_TRUSTED_DOMAINS too.

Sure, that's the reason I wrote expecially first one...still it takes some more effort to solve second one so I reckon it's going to be only a waste of time for a docker typical user wishing to keep things simple.

inwerk added a commit to inwerk/nextcloud-docker that referenced this issue Aug 27, 2024
@joshtrichards joshtrichards changed the title [bug] Internal Server Error: Failed to open stream: No such file or directory at /var/www/html/lib/private/Config.php [bug] Internal Server Error after installation of 29.0.5 Aug 27, 2024
@joshtrichards
Copy link
Member

Confirmed to be upstream (server) as suspected.

Fixed in nextcloud/server#47521

@joshtrichards
Copy link
Member

joshtrichards commented Aug 27, 2024

Keeping open until:

@joshtrichards joshtrichards pinned this issue Aug 27, 2024
inwerk added a commit to inwerk/nextcloud-docker that referenced this issue Aug 31, 2024
@joshtrichards
Copy link
Member

Upstream 29.0.6 published formally: nextcloud-releases/updater_server#1113

@joshtrichards
Copy link
Member

https://github.com/nextcloud/docker/releases/tag/v2024.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants