issue with uninstaller #5

Öppen
by Ghost opened 6 år sedan · 1 kommentarer
Ghost kommenterad 6 år sedan

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 kommenterad 5 år sedan

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 ```
Logga in för att delta i denna konversation.
Ingen Etikett
Ingen Milsten
Ingen tilldelad
1 Deltagare
Notiser
Förfallodatum

Inget förfallodatum satt.

Beroenden

Det här ärendet har för närvarande inga beroenden.

Laddar…
Det finns inget innehåll än.