[Seafile] Impossible de réinstaller - Reinstallation fail

Bonjour,

Mon serveur YunoHost

Matériel: VPS chez OVH
Version de YunoHost: 4.1.4.4
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifications particulières sur votre instance ? : oui
Si oui, expliquer: J’ai déjà installé une première fois l’app puis je l’ai désinstallé faute d’utilisation.

Description du problème

Je cherche simplement à réinstaller Seafile sur mon serveur.
Je l’avais installé il y a plusieurs mois pour tester et je l’ai ensuite supprimé car je ne m’en servais pas. J’étais en version Yunohost 3.x.
J’ai testé de réinstaller il y a une semaine mais j’avais une erreur qui me disait que le dossier “Seafile” existait déjà. J’ai essayé de supprimer le dossier via Filezilla mais ça n’avait pas l’air de fonctionner.
J’ai ensuite effectué la migration en Yunohost 4.x et j’ai réessayé de l’installer. Via le webadmin, j’avais la même erreur que précédemment.
J’ai essayé aussi via le SSH et j’ai obtenu le log suivant : https://paste.yunohost.org/raw/ulopewetaj

J’ai tenté de faire quelques recherches sur le forum (ce qui m’a conduit à essayer en SSH) mais je n’ai pas trouvé de réponse satisfaisante.

Si vous avez une idée pour m’aider à réinstaller cette application, je vous en serai gré.
Cordialement,


Hello,

My YunoHost server

Hardware: VPS bought online
YunoHost version: 4.1.4.4
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain: I already install Seafile and uninstall it once.

Description of my issue

I want reinstall Seafile on my server.
I had installed it several months ago for testing and then removed it.
I tried to reinstall a week ago but I had an error telling me that the “Seafile” folder already existed. I tried to delete the folder via Filezilla but it didn’t seem to work. I was on yunohost 3.x
I migrated to Yunohost 4.x and tried to reinstall again. It failed.
I tried trough SSH and I get this log : https://paste.yunohost.org/raw/ulopewetaj

If you have any ideas or solutions to solve this, I’m interesting.
Regards

Hello,

If you are sure that you no data to lost in seafile you can run this command it should fix the issue:

rm  -r /opt/yunohost/seafile
1 Like

Hello,

Thanks for your reponse. I run this command and I try to reinstall Seafile.
The installation seems to go further but there is still an error : https://paste.yunohost.org/raw/izariwenic

[EN] I try again through SSH and I get the same error (https://paste.yunohost.org/raw/cabayacutu)
Error seems to be :

WARNING - ERROR 1007 (HY000) at line 1: Can't create database 'ccnetdb'; database exists

I suppose I can fix it if I delete the database before reinstallation. Do you know one command to do that through SSH? Or maybe with another way?
Thanks


[FR] J’ai réessayé via SSH mais j’obtiens la même erreur on dirait (https://paste.yunohost.org/raw/cabayacutu)
L’erreur semble être :

WARNING - ERROR 1007 (HY000) at line 1: Can't create database 'ccnetdb'; database exists

Je suppose que je peux corriger cela en supprimant la base de données avant de réinstaller. Y a-t-il une commande SSH pour faire cela ? Ou bien est-ce que je peux supprimer cette base de donnée autrement ?
Merci d’avance

[EN] I resolved my problem after drop databases “ccnetdb”, “seafiledb” and “seahubdb” through SSH.


[FR] J’ai résolu mon problème après avoir supprimé les bases de données “ccnetdb”, “seafiledb” et “seahubdb” en ligne de commande.

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