Update stuck on nginx-common

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.11
How are you able to access your server: The webadmin
SSH
Direct access via physical keyboard/screen

Describe your issue

Hi all,

I ran a system update through the webadmin, as there were quite a few packages to update, but the update process got stuck at Setting up nginx-common (1.22.1-9+deb12u1). What is the suggested procedure in this case?
Thanks!

Share relevant logs or error messages

Happy to provide logs if needed

1 Like

Good evening @apt9637 and the community,

I am new with Yunohost and I find myself exactly in the same situation, pending on Setting up nginx-common (1.22.1-9+deb12u1) ...

So I’m afraid to close my browser :scream:

+1 to know what is the best practice to adopt in this kind of situation? Is it better to apply updates via command lines?

Thank you in advance, a good night or a good day :smiling_face:

I tried connecting with another browser at the same time, and the updates apparently installed successfully :ok_hand:

I suspect the update service display was bugged when it applied the nginx update :wink:

That actually makes kind of sense, since NGINX is the web server, it would restart upon its update and your browser would temporarily lose its connection with it.

However as a feature, we should be able to reestablish that connection and not let the update screen hanging.

1 Like

I find this happens quite often during updates. Refreshing the page usually sorts everything out.

Makes perfect sense and indeed it solved the issue, I was just worried of refreshing the page :person_facepalming:

Great idea to add an alert! Thank you :slight_smile:

1 Like

Starting with YunoHost 12.1 (currently in testing), we have a new mechanism that syncs what’s happening in the CLI and the browser. After that version you can definitely refresh the page without worries. :slight_smile:

3 Likes

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