GitLab inaccessible after upgrade - redirects to app selection

My YunoHost server

Hardware: VirtualBox VM running on Intel iMac - The VM is assigned two CPU cores and 8GB of RAM.
YunoHost version: 11.2.11.3 (stable)
I have access to my server : Through SSH and through web admin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : No
**If yes, please explain: n/a
If your request is related to an app, specify its name and version: GitLab 16.11

Description of my issue

For the last three or four weeks, I’ve been unable to upgrade Yunohost (standard maintenance upgrades I do every week) without breaking GitLab. The problem started with a failed GitLab upgrade where the system timed out after twenty minutes of the following message:

Info: Wait for the migration in the background to finish

I’ve rolled back to a backup ever since because I need GitLab to keep working. Today I ran the standard CLI YunoHost commands, namely:

sudo yunohost tools update

sudo yunohost tools upgrade system

sudo yunohost tools upgrade apps

For the last couple of weeks, GitLab hasn’t thrown any errors or messages, but the result is the same: After the upgrade, GitLab no longer works. Instead, when you try to go to it in the browser, you wind up on the YunoHost page where you can select which application you’d like to use. It’s immediately redirected with no messages appearing in the browser.

I’ve got it working again by rolling back to last week’s system, but last week’s system is actually the system I was using two or three weeks ago, so it’s missing the latest system and app updates and upgrades. Does anyone have any idea how to fix this?

Thank you!

Okay, I’ve got some more information on this one. Still no solution, but maybe this might help find the problem?

Earlier last week I deleted the old GitLab backup that was sitting on the system just to clear space and give it a fresh start.

This morning I started out with the same Yunohost system version as mentioned above. GitLab was working on that system, though it was a couple weeks outdated. Anyway, I always back up my VM before updating and upgrading, so I did that first.

After the backup, I logged into the system via ssh and ran:

sudo yunohost tools update

Followed by:

sudo yunohost tools upgrade system

I left all the apps alone and, after the system upgrade completed, I rebooted the VM and checked GitLab. I found it was still working after a system upgrade so that’s good. That means I’ve got the system updated with all the new software and security patches. I shutdown the system and made a backup of that, labeling it as a no-app upgrade.

After restarting, I ran:

sudo yunohost tools upgrade apps

That pulled down the latest app upgrades and, in my case, I needed upgrades for GitLab, SearXNG, and WordPress. GitLab’s info was:

current_version: 16.11.1~ynh1
description: Git-repository manager providing wiki, issue-tracking and CI/CD pipeline features
domain_path: Sign in · GitLab
id: gitlab
logo: 2381b8ee626cbedf0b6c001b428e43337c354e3f9bf4c5b5cbec1871a2f00ba4
name: GitLab
new_version: 16.11.2~ynh1
notifications:
upgradable: yes
version: 16.11.1~ynh1

I wanted to hit GitLab on its own and ran:

sudo yunohost app upgrade gitlab

It started out normally, but soon ran into Wait for the migration in the background to finish endlessly scrolling down the terminal. I stopped the app upgrade after a few minutes and it tried to reinstall GitLab using the backup. That too failed. So I shut down the VM and restored from the working backup. GitLab 16.11.1~ynh1 is currently working on 11.2.12, but as before it won’t upgrade. But, this time I have the log from the failed upgrade:

https://paste.yunohost.org/raw/iqemakanud

I don’t see any warnings or errors, other than where I manually stopped the upgrade, but maybe someone can spot something.

Thanks!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.