YunoHost-Apps / netdata_ynh

NetData package for YunoHost
http://my-netdata.io/
GNU General Public License v3.0
10 stars 5 forks source link

Upgrade failed from 1.44.1~ynh2 to 1.44.3~ynh1 #142

Open CodeShakingSheep opened 7 months ago

CodeShakingSheep commented 7 months ago

Describe the bug

Upgrade failed from 1.44.1~ynh2 to 1.44.3~ynh1

Context

Steps to reproduce

Just hit the upgrade button in webadmin interface.

Expected behavior

Upgrade should successfully be completed.

Logs

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

I guess this is the relevant part:

error: '[(''/opt/netdata/var/cache/netdata/.netdata_bash_sleep_timer_fifo'', ''/var/www/netdata/var/cache/netdata/.netdata_bash_sleep_timer_fifo'',
  ''`/opt/netdata/var/cache/netdata/.netdata_bash_sleep_timer_fifo` is a named pipe'')]'
nathanael-h commented 4 months ago

Hello, I think the file /opt/netdata/var/cache/netdata/.netdata_bash_sleep_timer_fifo cannot be moved because it is a named pipe (did not that until reading this issue :smile: ). As the path suggest it is some cache, so it might not be mandatory to keep it. So I'd say you can remove it with sudo rm /opt/netdata/var/cache/netdata/.netdata_bash_sleep_timer_fifo

Info about named pipes :

  1. https://www.man7.org/linux/man-pages/man7/pipe.7.html
  2. https://opensource.com/article/18/8/introduction-pipes-linux
  3. https://forums.unraid.net/bug-reports/stable-releases/mover-hangs-on-named-pipes-r2963/