Skip to content

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

Description

@walterzilla

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.

Activity

  1. 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`[/+] on Aug 24, 2024
  2. joshtrichards commented on Aug 24, 2024

    @joshtrichards
  3. walterzilla commented on Aug 24, 2024

    @walterzilla
    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.

  4. joshtrichards commented on Aug 24, 2024

    @joshtrichards
    Member

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

  5. h4b4n3r0 commented on Aug 24, 2024

    @h4b4n3r0

    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!

  6. joshtrichards commented on Aug 24, 2024

    @joshtrichards
  7. walterzilla commented on Aug 24, 2024

    @walterzilla
    Author

    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...

  8. joshtrichards commented on Aug 25, 2024

    @joshtrichards
    Member

    You can set NEXTCLOUD_TRUSTED_DOMAINS too.

  9. walterzilla commented on Aug 25, 2024

    @walterzilla
    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.

  10. 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[/+] on Aug 27, 2024
  11. joshtrichards commented on Aug 27, 2024

    @joshtrichards
    Member

    Confirmed to be upstream (server) as suspected.

    Fixed in nextcloud/server#47521

  12. joshtrichards commented on Aug 27, 2024

    @joshtrichards
    Member

    Keeping open until:

  13. joshtrichards commented on Sep 3, 2024

    @joshtrichards
    Member

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

  14. joshtrichards commented on Sep 4, 2024

    @joshtrichards
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions