Umami upgrade: yarn fails to install date-fns during upgrade

:uk:/:us: Message template (english)

P.S. there’s no umami app tag.

The “support” category is meant to ask for help or troubleshooting related to installing or using YunoHost or its applications. It is not to ask assistance on general system administration, network administration or special use cases that goes beyond the scope of the project. If you wish to discuss more advanced use case, please post in the “Advanced Use Case” category.

Before posting, please :

My YunoHost server

Hardware: QEMU VM

my neofetch

YunoHost version: 11.2.10.3
I have access to my server : webadmin/SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
If your request is related to an app, specify its name and version: Umami v2.10.2~ynh1 (trying to update to 2.11.0~ynh1)

Description of my issue

To get help efficiently, please explain what you are trying to achieve, in which context, what you tried and provide detailed error messages and logs if you can.

Avoid saying that it “doesn’t work” or that it “does nothing” … explain what really happens and how you interpret it !


I attempted to update umami, after it created a backup it said an error occured in the install script. Further investigation revealed this error:

2024-04-07 08:55:58,762: DEBUG - + sudo -u umami env PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install
2024-04-07 08:56:10,119: DEBUG - Corepack is about to download https://registry.yarnpkg.com/yarn/-/yarn-1.22.22.tgz.
2024-04-07 08:56:14,658: DEBUG - yarn install v1.22.22
2024-04-07 08:56:17,451: DEBUG - [1/4] Resolving packages...
2024-04-07 08:56:26,376: DEBUG - [2/4] Fetching packages...
2024-04-07 08:57:03,257: DEBUG - info There appears to be trouble with your network connection. Retrying...
2024-04-07 08:57:36,537: DEBUG - info There appears to be trouble with your network connection. Retrying...
2024-04-07 08:58:09,835: DEBUG - info There appears to be trouble with your network connection. Retrying...
2024-04-07 08:58:43,046: DEBUG - info There appears to be trouble with your network connection. Retrying...
2024-04-07 08:59:17,627: DEBUG - error Error: https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz: ESOCKETTIMEDOUT
2024-04-07 08:59:17,630: DEBUG -     at ClientRequest.<anonymous> (/var/www/umami/.cache/node/corepack/v1/yarn/1.22.22/lib/cli.js:142037:19)
2024-04-07 08:59:17,630: DEBUG -     at Object.onceWrapper (node:events:631:28)
2024-04-07 08:59:17,630: DEBUG -     at ClientRequest.emit (node:events:517:28)
2024-04-07 08:59:17,631: DEBUG -     at TLSSocket.emitRequestTimeout (node:_http_client:847:9)
2024-04-07 08:59:17,631: DEBUG -     at Object.onceWrapper (node:events:631:28)
2024-04-07 08:59:17,632: DEBUG -     at TLSSocket.emit (node:events:529:35)
2024-04-07 08:59:17,632: DEBUG -     at Socket._onTimeout (node:net:598:8)
2024-04-07 08:59:17,632: DEBUG -     at listOnTimeout (node:internal/timers:569:17)
2024-04-07 08:59:17,633: DEBUG -     at process.processTimers (node:internal/timers:512:7)
2024-04-07 08:59:17,633: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

My DNS and internet are fine, and the yarn registry seems to be up.

Full log: https://paste.yunohost.org/raw/amubayolom

Does not seem like packaging issue as automated CI passed, perhaps try again later?

Tried again just now, upgrade successful

1 Like

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