Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nextcloud/Mariadb/Swag Internal Server Error for WebUI

Featured Replies

I have just followed Spaceinvaderone's tutorial on setting up Nextcloud on Unraid. After I finish setting everything up (and make the changes to address the 502 bad gateway error) I try to start the Nextcloud webui and get the following error:

 

Internal Server Error

The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the webserver log.

 

There are multiple other Unraid forum threads on this issue and I have tried all the solutions with no luck, including:

 

  1. Change the mariadb docker repository to "linuxserver/mariadb:110.4.21mariabionic-ls31" and let it run.

    Then edit the docker repository again to "linuxserver/mariadb:latest" Source here.

  2. Opening a console on the mariadb docker and running the following commands:

    > cd /config/databases

    > rm ib_logfile0

    > rm ib_logfile1

    Then stopping and restarting both nextcloud and mariadb. Source here.

  3. Completing removing the mariadb docker and image and reinstalling from scratch.

 

I do not see any errors in the mariadb logs.

In the Nextcloud logs I see a repeated error: PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /config/www/nextcloud/cron.php:192

In the Swag logs I see one warning: 2023-01-29 16:04:42,345 fail2ban.configreader [406]: WARNING 'allowipv6' not defined in 'Definition'. Using default one: 'auto'

 

Does anyone have any suggestions on how to fix this?

Edited by Ocman76
Spelling

  • Ocman76 changed the title to Nextcloud/Mariadb/Swag Internal Server Error for WebUI
  • 2 months later...

did you ever get this fixed? if so what was it?

  • Author
4 hours ago, itskamel said:

did you ever get this fixed? if so what was it?

I did not. I posted both here and on the Unraid reddit and got no responses. I ended up using Filebrowser instead which works for my purposes and was much easier to set up. The only tricky part was setting up the ports correctly with Swag. If helpful let me know and I can post the port configuration I ended up using to get it to to work.

  • 1 year later...

Necro~ Bummer that you never got a response. I have the same issue right after the initial setup where you create the admin account. No errors in MariaDB, it's as though it didn't even try to connect at all, despite the connection info being correct.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.