[SOLVED] Nitter installation failed (again)

Hardware: VPS bought online ( Contabo )
YunoHost version: 11.0.9.7 (stable)
I have access to my server : Through SSH and browser
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

yesterday the installation was failing because of an issue eventually solved.
but, today, it’s failing again, presumably for another issue since i managed to install the other apps linked to the previous resolved issue?

anyway, this is the excerpt: 2022-08-18 17:24:58,644: DEBUG - + '[' reload == reload ']' 2022-08-18 17:24:58,644: DEBUG - + action=reload-or-restart 2022-08-18 17:24:58,644: DEBUG - + systemctl reload-or-restart nginx 2022-08-18 17:24:58,921: INFO - [###+++++++++++++....] > Compiling Nitter... 2022-08-18 17:24:58,922: DEBUG - + build_nitter 2022-08-18 17:24:58,922: DEBUG - + pushd /var/www/nitter 2022-08-18 17:24:58,922: DEBUG - /var/www/nitter /var/cache/yunohost/app_tmp_work_dirs/app_zku9atn1/scripts 2022-08-18 17:24:58,922: DEBUG - + chown -R nitter:nitter /var/www/nitter 2022-08-18 17:24:58,944: DEBUG - ++ sudo -u nitter sh -c 'echo $PATH' 2022-08-18 17:24:58,983: DEBUG - + sudo -u nitter env PATH=/var/www/nitter/nim-installation/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin nimble build -d:release -y -d:danger --passC:-flto --passL:-flto 2022-08-18 17:24:59,002: DEBUG - Verifying dependencies for nitter@0.1.0 2022-08-18 17:24:59,004: DEBUG - Prompt: No local packages.json found, download it from internet? -> [forced yes] 2022-08-18 17:24:59,004: DEBUG - Downloading Official package list 2022-08-18 17:24:59,291: DEBUG - Success Package list downloaded. 2022-08-18 17:24:59,309: DEBUG - Installing jester@>= 0.5.0 2022-08-18 17:24:59,309: DEBUG - Downloading https://github.com/dom96/jester using git 2022-08-18 17:25:00,763: DEBUG - oserr.nim(95) raiseOSError 2022-08-18 17:25:00,764: DEBUG - Error: unhandled exception: Permission denied 2022-08-18 17:25:00,764: DEBUG - Additional info: /tmp/nimblecache-3747440334/jester_1698854134 [OSError] 2022-08-18 17:25:00,768: DEBUG - + ynh_exit_properly 2022-08-18 17:25:01,277: DEBUG - + ynh_clean_setup 2022-08-18 17:25:01,277: DEBUG - + ynh_clean_check_starting 2022-08-18 17:25:01,277: DEBUG - + '[' -n '' ']' 2022-08-18 17:25:01,277: DEBUG - + '[' -n '' ']' 2022-08-18 17:25:02,279: ERROR - Unable to install nitter: An error occurred inside the app installation script

and this is the full log.

Hmmokay the actually issue seems to be:

2022-08-18 16:29:29,611: DEBUG - Downloading https://github.com/dom96/jester using git
2022-08-18 16:29:31,188: DEBUG - oserr.nim(95)            raiseOSError
2022-08-18 16:29:31,189: DEBUG - Error: unhandled exception: Permission denied
2022-08-18 16:29:31,189: DEBUG - Additional info: /tmp/nimblecache-3747440334/jester_2922802880 [OSError]

which is puzzling … dunno why it would get permission denied …

Maybe we can try namei -l /tmp/nimblecache-3747440334 and namei -l /tmp/nimblecache-3747440334/jester_2922802880 to investigate permissions just in case those folders still exist but that’s not sure

namei -l /tmp/nimblecache-3747440334 and namei -l /tmp/nimblecache-3747440334/jester_2922802880
f: /tmp/nimblecache-3747440334
drwxr-xr-x root  root  /
drwxrwxrwt root  root  tmp
drwxr-xr-x searx searx nimblecache-3747440334
f: and
                       and - No such file or directory
f: namei
                       namei - No such file or directory
f: /tmp/nimblecache-3747440334/jester_2922802880
drwxr-xr-x root  root  /
drwxrwxrwt root  root  tmp
drwxr-xr-x searx searx nimblecache-3747440334
                       jester_2922802880 - No such file or directory

looks like they don’t?

Uuuuuh why is it owned by searx x_x …

Anyway if ls -l /tmp/nimblecache-3747440334 doesn’t return anything (= there’s no file inside that folder), I would just delete this with rm -rf /tmp/nimblecache-3747440334

and then retry the install

1 Like

it worked. thanks. :smiley:

1 Like

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