Netdata update error

Hi all,

Today I went to update the Netdata app and straight up it gave me this error

Error: "400" Bad Request

Action: "PUT" /yunohost/api/apps/netdata/upgrade

Error message:

I don’t understand you…

Any ideas?

Same here : NetData from 1.30.0~ynh1 to 1.31.0~ynh1

Can you both try running the upgrade from the command line?

I had the the same error, upgrading from shell did it well:

Info: Now upgrading netdata…
Info: […] > Loading installation settings…
Info: [+…] > Ensuring downward compatibility…
Info: [#+…] > Backing up the app before upgrading (may take a while)…
Info: [##+++++++++++…] > Upgrading source files…
Info: [#############+…] > Upgrading NGINX web server configuration…
Info: [##############++++…] > Upgrading dependencies…
Info: [##################…] > Starting a systemd service…
Info: [##################+.] > Reloading NGINX web server…
Info: [####################] > Upgrade of netdata completed
Success! netdata upgraded
Success! Upgrade complete

lg
danio

Yup same here. Upgraded from command line all ok.

sudo yunohost tools upgrade apps
Worked correctly

3 Likes

Same for me.

Thanks guys! It looks like it’s a bug within the webadmin or how the manisfest of the app is loaded. Thanks for your tests and sorry for the disturbance. :wink:

2 Likes

I thought it worked fine, but netdata service was down and refused to restart.
I didn’t investigate further, sorry.
I just uninstalled it and reinstalled it again from the webadmin and it 's working fine now.

If you can dig in your service logs, that would be great to help us debug what happened. :slight_smile:

I can’t ssh right now

I’m back home

admin@home:~$ sudo yunohost service status netdata
configuration: unknown
description: Real-time performance and health monitoring for systems and applications
last_state_change: 2021-08-19 11:24:00
start_on_boot: enabled
status: running

But I’m still having the error in the admin interface

Upgraded from command line all ok.

sudo yunohost app upgrade netdata
Info: Now upgrading netdata...
Info: [....................] > Loading installation settings...
Info: [+...................] > Ensuring downward compatibility...
Info: [#+..................] > Backing up the app before upgrading (may take a while)...
Info: [##+++++++++++.......] > Upgrading source files...
Info: [#############+......] > Upgrading NGINX web server configuration...
Info: [##############++++..] > Upgrading dependencies...
Info: [##################..] > Starting a systemd service...
Info: [##################+.] > Reloading NGINX web server...
Info: [####################] > Upgrade of netdata completed
Success! netdata upgraded
Success! Upgrade complete

Could you please check the netdata service status in the webadmin interface?
I’m having 404 error

Upgrade from command line, it’s ok !

I also successfully upgraded netdata from the command line, but when I go to the admin interface of yunohost > services > netdata, I get an error. Netdata is working correctly, the netdata service status from the command line says it’s up and running.

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