pi-apps icon indicating copy to clipboard operation
pi-apps copied to clipboard

pi-apps is not responding

Open PGSCOM opened this issue 2 years ago • 3 comments

Confirmations

  • [X] I searched for similar bug reports in https://github.com/Botspot/pi-apps/issues and found none were relevant.
  • [x] I tried updating Pi Apps and the issue is still not fixed. How to update Pi Apps?

What happened?

The app cannot be opened

Description

Today I tried to update pi-apps but when I clicked on the update tab before it loaded I gave configuration. Then the update tab appeared, it was closed, and the configuration tab was opened. I closed pi-apps and reopened it, and from that moment pi-apps was not responding.

Then try to open it from the console but it did not emit anything, no error or warning. I put pi-apps in console and it was as if I just pressed enter.

My last attempt was to start the '/home/pi/pi-apps/updater' executable to update and it gave me this error.

What is your operating system?

Twister OS in RPI4

(Optional) Error log? Terminal output? Debug messages?

pi@raspberrypi:~/pi-apps $ '/home/pi/pi-apps/updater'
/home/pi/pi-apps/updater: línea 492: status: orden no encontrada
Checking for online changes... Done
/home/pi/pi-apps/updater: línea 172: list_apps: orden no encontrada
Scanning apps... Done
Scanning files... Done
/home/pi/pi-apps/updater: línea 629: status: orden no encontrada
pi@raspberrypi:~/pi-apps $

PGSCOM avatar May 29 '22 10:05 PGSCOM

Now I can't start pi-apps.

PGSCOM avatar May 29 '22 10:05 PGSCOM

It seems the status function is missing.

Itai-Nelken avatar May 29 '22 12:05 Itai-Nelken

/home/pi/pi-apps/updater: línea 172: list_apps: orden no encontrada
/home/pi/pi-apps/updater: línea 629: status: orden no encontrada

since you are missing two vital function from the api, my guess would be this is due to corruption of the api file or the sd card in general.

you best bet of restoring your install without uninstalling it to perform a forced 3-months update

DIRECTORY=~/pi-apps
rm -rf ~/pi-apps-forced-update
git clone "$(cat "${DIRECTORY}/etc/git_url")" pi-apps-forced-update 1>&2 && \
cp -af "${DIRECTORY}/data" ~/pi-apps-forced-update && \
cp -af "${DIRECTORY}/apps" ~/pi-apps-forced-update && \
mv -f "$DIRECTORY" "${DIRECTORY}-3-months-old" && \
mv -f ~/pi-apps-forced-update "$DIRECTORY"

theofficialgman avatar May 30 '22 01:05 theofficialgman