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: "Error occurred while checking server setup"

Featured Replies

I'm migrating from OMV to Unraid and after migrating my Nextcloud install if I go to the 'Administration settings' it tries to do the install checkup but fails every time. I've tried the official Nextcloud container (not the AIO) and the Linuxserver.io container. They both have the same issue. The only real differences between how I did it in OMV and how I do it here is the owner is 99:100 here where I used www-data on OMV, also on OMV I used docker compose and linked the app container with the database (the official MariaDB container). Using the Unraid builtin docker tools I don't see anyway of adding that link.

 

Does anyone else have this issue? Are you using MariaDB or SQLite?

Screenshot 2024-08-14 091103.png

Environment Variables: The most common way to configure database connections in Docker containers is through environment variables. Ensure you have the following correctly set in your Nextcloud container:

Quote

MYSQL_DATABASE

Quote

MYSQL_USER

Quote

MYSQL_PASSWORD

Quote

MYSQL_HOST (likely the name or IP of your MariaDB container)

and send logs of your Nextcloud container

14 minutes ago, FlexibleToast said:

Using the Unraid builtin docker tools I don't see anyway of adding that link.

You don't need one, you just edit NC's config file to point to the server's ip and the port you spun up the DB container on. But you probably did that already otherwise you wouldn't be able to load a nextcloud page at all.

  • Author
33 minutes ago, Rashoodi said:

Environment Variables: The most common way to configure database connections in Docker containers is through environment variables. Ensure you have the following correctly set in your Nextcloud container:

and send logs of your Nextcloud container

Yep, I did that. I copied them over from my compose file from OMV

32 minutes ago, Kilrah said:

You don't need one, you just edit NC's config file to point to the server's ip and the port you spun up the DB container on. But you probably did that already otherwise you wouldn't be able to load a nextcloud page at all.

Yep, I created a docker network for nextcloud and added both containers to it so that I didn't have to expose the DB port and the app could refer to it by container name. That part all works as expected.

  • Author

Okay, I tried using docker compose on Unraid using the 'Docker Compose Manager' plugin to get docker compose at the cli. I installed a fresh copy and it had the same issue. So, I tried just starting up my nextcloud containers on my OMV machine. They haven't been modified, only copied from so they should work as they did. It has the same issue. So, this must not be related to the way I'm doing things with Unraid at all. What's weird is the same/similar compose file and cloudflare tunnels are what I use at my dad's house and that instance works as expected. I think I'm going to do a fresh install on Unraid using the built in docker tools and go to Nextcloud forums or github and troubleshoot from there.

  • 11 months later...

I use Haproxy on pfSense to reverse proxy my nextcloud container on Unraid. I got the same error if I access it by nextcloud.mydomain.com; but no such error if using its local IP to access. Still can't find a solution to this.

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.