YunoHost-Apps / hedgedoc_ynh

HedgeDoc package for YunoHost
https://hedgedoc.org/
GNU General Public License v3.0
13 stars 8 forks source link

Update to 1.9.6-ynh1 failed (yarn-cache/git related error) #50

Closed rmueck closed 1 year ago

rmueck commented 1 year ago

Update 1.9.5~ynh1 to 1.9.6~ynh1 failed

Context

Steps to reproduce

    sudo yunohost app upgrade hedgedoc

Expected behavior

Upgrade sucessful

Logs

Logs

OniriCorpe commented 1 year ago

Hi! Same here: https://paste.yunohost.org/raw/wiwovegexa

ynh version: 11.1.0.2 hedgedoc upgrade: 1.9.5~ynh1 to 1.9.6~ynh1

cichy1173 commented 1 year ago

Hello! I have the same issue.

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

isAAAc commented 1 year ago

same here too hedgedoc upgrade: 1.9.5~ynh1 to 1.9.6~ynh1

yunohost -v

yunohost: 
  repo: stable
  version: 11.0.10.2
yunohost-admin: 
  repo: stable
  version: 11.0.11
moulinette: 
  repo: stable
  version: 11.0.9
ssowat: 
  repo: stable
  version: 11.0.9

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

rmueck commented 1 year ago

Meanwile i was able to solve the issue!

Related lines in log: 2022-11-07 21:06:06,987: WARNING - Arguments: pull 2022-11-07 21:06:06,987: WARNING - Directory: /usr/local/share/.cache/yarn/v6/.tmp/f288a63eaa4f5075285a1b09fb58c8f0 2022-11-07 21:06:06,987: WARNING - Output: 2022-11-07 21:06:06,987: WARNING - hint: Pulling without specifying how to reconcile divergent branches is 2022-11-07 21:06:06,988: WARNING - hint: discouraged. You can squelch this message by running one of the following 2022-11-07 21:06:06,988: WARNING - hint: commands sometime before your next pull:

Solution: On the server (as root) i did a
# yarn cache clean

After that the update was sucessful and HedgeDoc is running

cichy1173 commented 1 year ago

Meanwile i was able to solve the issue!

Related lines in log: 2022-11-07 21:06:06,987: WARNING - Arguments: pull 2022-11-07 21:06:06,987: WARNING - Directory: /usr/local/share/.cache/yarn/v6/.tmp/f288a63eaa4f5075285a1b09fb58c8f0 2022-11-07 21:06:06,987: WARNING - Output: 2022-11-07 21:06:06,987: WARNING - hint: Pulling without specifying how to reconcile divergent branches is 2022-11-07 21:06:06,988: WARNING - hint: discouraged. You can squelch this message by running one of the following 2022-11-07 21:06:06,988: WARNING - hint: commands sometime before your next pull:

On the server i did a # yarn cache clean

After that the update was sucessfu and HedgeDoc is running

It does not work for me.

rmueck commented 1 year ago

Meanwile i was able to solve the issue! Related lines in log: 2022-11-07 21:06:06,987: WARNING - Arguments: pull 2022-11-07 21:06:06,987: WARNING - Directory: /usr/local/share/.cache/yarn/v6/.tmp/f288a63eaa4f5075285a1b09fb58c8f0 2022-11-07 21:06:06,987: WARNING - Output: 2022-11-07 21:06:06,987: WARNING - hint: Pulling without specifying how to reconcile divergent branches is 2022-11-07 21:06:06,988: WARNING - hint: discouraged. You can squelch this message by running one of the following 2022-11-07 21:06:06,988: WARNING - hint: commands sometime before your next pull: On the server i did a # yarn cache clean After that the update was sucessfu and HedgeDoc is running

It does not work for me.

Hi!
But in your logs i see the same error related for git! 2022-11-10 21:06:10,562: WARNING - error Command failed. 2022-11-10 21:06:10,563: WARNING - Exit code: 128 2022-11-10 21:06:10,563: WARNING - Command: git 2022-11-10 21:06:10,563: WARNING - Arguments: pull 2022-11-10 21:06:10,564: WARNING - Directory: /usr/local/share/.cache/yarn/v6/.tmp/f288a63eaa4f5075285a1b09fb58c8f0 2022-11-10 21:06:10,564: WARNING - Output: 2022-11-10 21:06:10,564: WARNING - podpowiedź: Odradza się zaciągania bez podania, jak pogodzić rozbieżne gałęzie. 2022-11-10 21:06:10,564: WARNING - podpowiedź: Można uciszyć ten komunikat wykonując jedno z poniższych 2022-11-10 21:06:10,565: WARNING - podpowiedź: poleceń kiedyś przed następnym zaciągnięciem: 2022-11-10 21:06:10,565: WARNING - podpowiedź: 2022-11-10 21:06:10,565: WARNING - podpowiedź: git config pull.rebase false # scalenie (domyślna strategia) 2022-11-10 21:06:10,565: WARNING - podpowiedź: git config pull.rebase true # przestawienie 2022-11-10 21:06:10,565: WARNING - podpowiedź: git config pull.ff only # tylko przewinięcie

isAAAc commented 1 year ago

Meanwile i was able to solve the issue! Related lines in log: 2022-11-07 21:06:06,987: WARNING - Arguments: pull 2022-11-07 21:06:06,987: WARNING - Directory: /usr/local/share/.cache/yarn/v6/.tmp/f288a63eaa4f5075285a1b09fb58c8f0 2022-11-07 21:06:06,987: WARNING - Output: 2022-11-07 21:06:06,987: WARNING - hint: Pulling without specifying how to reconcile divergent branches is 2022-11-07 21:06:06,988: WARNING - hint: discouraged. You can squelch this message by running one of the following 2022-11-07 21:06:06,988: WARNING - hint: commands sometime before your next pull: On the server i did a # yarn cache clean After that the update was sucessfu and HedgeDoc is running

It does not work for me.

for me neither: https://paste.yunohost.org/raw/hiwojecoxi

cichy1173 commented 1 year ago

@rmueck Why did you close this thread?

bugsysop commented 1 year ago

I had the same problem but upgrading from 1.9.4 to 1.9.6

I resolved this with this process using CLI:

sudo yarn cache clean

sudo yunohost app upgrade hedgedoc

Now Hedgedoc is up and running

isAAAc commented 1 year ago

i confirm, this time, yarn cache clean && yunohost app upgrade hedgedoc worked. :white_check_mark:

Jaxom99 commented 1 year ago

so... is this fixed on a newer release ? or should we apply the same process ? :monocle_face: