YunoHost-Apps / discourse_ynh

Discourse package for YunoHost
https://www.discourse.org/
GNU General Public License v2.0
24 stars 12 forks source link

Install fails on "bin/bundle: No such file or directory" #153

Closed olberger closed 3 months ago

olberger commented 1 year ago

Install fails with WARNING - -bash: line 1: bin/bundle: No such file or directory :+1:

Excerpt of https://paste.yunohost.org/raw/ximacugomo :

2023-06-05 16:24:54,040: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_xspl3imn/scripts
2023-06-05 16:24:54,046: DEBUG - ++ uname -m
2023-06-05 16:24:54,047: DEBUG - ++ grep arm
2023-06-05 16:24:54,058: DEBUG - + '[' -n '' ']'
2023-06-05 16:24:54,058: DEBUG - + exec_login_as discourse bin/bundle config set path vendor/bundle
2023-06-05 16:24:54,058: DEBUG - + local user=discourse
2023-06-05 16:24:54,059: DEBUG - + shift 1
2023-06-05 16:24:54,059: DEBUG - + ynh_exec_as discourse --login bin/bundle config set path vendor/bundle
2023-06-05 16:24:54,059: DEBUG - + local user=discourse
2023-06-05 16:24:54,059: DEBUG - + shift 1
2023-06-05 16:24:54,062: DEBUG - ++ whoami
2023-06-05 16:24:54,068: DEBUG - + [[ discourse = root ]]
2023-06-05 16:24:54,068: DEBUG - + sudo -u discourse --login bin/bundle config set path vendor/bundle
2023-06-05 16:24:54,354: WARNING - -bash: line 1: bin/bundle: No such file or directory

Hope this helps,

JimboJoe commented 1 year ago

Very weird, it works fine on the CI. Could you retry with 2.8.14 released yesterday?

Salamandar commented 3 months ago

Should be fixed by packagingv2.