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.

Seafile Error - 502 Bad Gateway Database error

Featured Replies

 

Just installed in a unraid docker. All when well.

Tried to access the GUI and got the. - 502 Bad Gateway

 

It seems to be. not. connecting to Mariadb

Here is the error -

waiting for mysql server to be ready: %s (2003, "Can't connect to MySQL server on 'seafile-mariadb ' ([Errno -2] Name or service not known)")

waiting for mysql server to be ready: %s (2003, "Can't connect to MySQL server on 'seafile-mariadb ' ([Errno -2] Name or service not known)")

waiting for mysql server to be ready: %s (2003, "Can't connect to MySQL server on 'seafile-mariadb ' ([Errno -2] Name or service not known)")

waiting for mysql server to be ready: %s 2023-08-16 15:54:49 Nginx ready

2023-08-16 15:54:49 This is an idle script (infinite loop) to keep container running.

 

Yes it was a fresh Mariadb. container install.

 

Simple fix I am sure.

Thanks in advance.

Edited by Profezor

  • Author

How can I troubleshoot this error?

  • Community Expert

See if the container has a support thread/discord:

 

docker support.JPG

  • 1 year later...

Any resolve for this?

 

Followed the instruction from github and I have the exactly same problem.

 

EDIT (SOLVED THE PROBLEM)

The problem was that MariaDb and Seafile didn't communicate because Mariadb's container name.

 

Pay attention to MariaDb's first field, "Name". It has to match Seafile's host.

 

image.thumb.png.52402a462092612a9debdb81806f5ae4.png

 

image.thumb.png.eda45255635198726b03fb99fb01b7ff.png

Edited by Jules

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.