issue with uninstaller #5

Aperto
by Ghost opened 6 anni fa · 1 commenti
Ghost 6 anni fa ha commentato

i get this error when running the uninstaller

root@merith-tk:/# curl -fsSL https://git.coolaj86.com/coolaj86/gitea-installer.sh/raw/branch/master/remove.sh | bash
Removing Gitea and DELETING ALL DATA.
Stopping and removing the Gitea service.
Warning: gitea.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Failed to execute operation: No such file or directory
rm: cannot remove '/etc/systemd/system/gitea.service': No such file or directory
Deleting Gitea configuration and Data.
rm: cannot remove '/usr/local/bin/gitea': No such file or directory
bash: line 18: syntax error near unexpected token `else'
bash: line 18: `else
i get this error when running the uninstaller ``` root@merith-tk:/# curl -fsSL https://git.coolaj86.com/coolaj86/gitea-installer.sh/raw/branch/master/remove.sh | bash Removing Gitea and DELETING ALL DATA. Stopping and removing the Gitea service. Warning: gitea.service changed on disk. Run 'systemctl daemon-reload' to reload units. Failed to execute operation: No such file or directory rm: cannot remove '/etc/systemd/system/gitea.service': No such file or directory Deleting Gitea configuration and Data. rm: cannot remove '/usr/local/bin/gitea': No such file or directory bash: line 18: syntax error near unexpected token `else' bash: line 18: `else ```
Ghost 5 anni fa ha commentato

Hi @DovaMerith!

The repo owner misspelled the shell format and the command. The correct is:

curl -fsSL https://git.coolaj86.com/coolaj86/gitea-installer.sh/raw/branch/master/remove.sh | sh
Hi @DovaMerith! The repo owner misspelled the shell format and the command. The correct is: ``` curl -fsSL https://git.coolaj86.com/coolaj86/gitea-installer.sh/raw/branch/master/remove.sh | sh ```
Effettua l'accesso per partecipare alla conversazione.
Nessuna etichetta
Nessuna milestone
Nessuna assegnatario
1 Partecipanti
Notifiche
Data di scadenza

Nessuna data di scadenza impostata.

Dipendenze

Questo problema attualmente non ha alcuna dipendenza.

Caricamento…
Non ci sono ancora contenuti.