"An instance is already running" after openvpn install

[USA]

Hello there.
Yesterday i have installed yunohost on a Debian Jessie machine.
Yesterday it’s work correctly but today it’s not possible to access on admin page.
When i connect it’s said i m correctly connected but when i refresh the page it’s said “An instance is already running”. I have no problem for access to user normal page (jappix etc).

Yesterday i have only install jappix and openvpn, not modify any configuration.

Anybody for help me please? :slight_smile:

It’s my first install of yunohost but i know how use debian/ubuntu.

[FR]

Salut tout le monde.
Hier j’ai installé yunohost sur une machine Debian Jessie.
Hier ça fonctionnait correctement mais aujourd’hui après avoir démarré la machine plus moyen d’accéder à la page admin.
Quand je me connecte il me réponds bien que je suis connecté mais dés que je raffraichis la page (qui ne se redirige plus seule) il m’affiche en haut “An instance is already running”. Je n’ai pas de problème pour accéder aux pages normales de l’utilisateurs (jappix etc)

Hier j’ai juste installé Jappix et OpenVPN, rien modifié de spécial.

Quelqu’un pourrait-il m’aider svp ? :slight_smile:

C’est ma première installation de yunohost néanmoins j’ai déjà de l’expérience sur debian et ubuntu.

[USA]
Well, for testing i have completly format my machine and re-install Yunohost and just OpenVPN application.
After have shutdown the machine during the night, the problem re-coming : i can’t access to the admin WEBUI.

Please, a little help? :slight_smile:

Edit : It seems to be a bug already spotted and left to abandon :’(
Edit2 : i haved try to remove openvpn via “yunohost app remove openvpn --verbose” bt it’s not work. I have removed it via “apt-get remove openvpn” but that not solve the admin page problem.

[FR]
Bon, pour le test j’ai complètement reformaté la machine et ré-installé Yunoshot et juste l’application OpenVPN.
Après avoir éteint la machine durant la nuit, ça recommence à nouveau, plus moyen d’accéder à la page d’administration !

SVP : un peu d’aide? :slight_smile:

Edit : ça semble être un bug déjà répéré et laissé a l’abandon :’(
Edit2: j’ai essayé de supprimer openvpn via “yunohost app remove openvpn --verbose” mais ça ne fonctionne pas. Je l’ai supprimé via “apt-get remove openvpn” mais rien n’y fait.

Same problem on Yunohost Raspberry Pi Image.

Anybody for help me for search a solution please ? :slight_smile:

A workaround is to delete the file /var/run/moulinette_yunohost.lock

I think there is a problem with dyndns update but I am not sure.

1 Like

[USA]

You are a SuperSayan @peter , it’s the 4th day i try to have a solution :slight_smile:
Thank you very much

For solved this problem :slight_smile:

Edit your file /etc/rc.local

sudo nano /etc/rc.local

add the next line before exit 0

/opt/scripts/patch.sh

Quit and save (CTRL+X)

creat the folder
sudo mkdir -p /opt/scripts

creat our patch file
sudo nano /opt/scripts/patch.sh

and add theses lines

#!/bin/bash
sleep 30
sudo rm /var/run/moulinette_yunohost.lock

Save and quit (CTRL+X) and reboot.

Enjoy !

Edit : ok, it’s solve the admin WEBUI access :slight_smile: (but their is other problem after)

[FR]

Pour résoudre le problème:

Éditez votre fichier /etc/rc.local

sudo nano /etc/rc.local

Et ajoutez les lignes suivantes avant exit 0

/opt/scripts/patch.sh

Quittez et sauvez (CTRL+X)

Créez le dossier
sudo mkdir -p /opt/scripts

Créez notre fichier patch
sudo nano /opt/scripts/patch.sh

Et ajoutez les lignes suivantes

#!/bin/bash
sleep 30
sudo rm /var/run/moulinette_yunohost.lock

Sauvez et quittez (CTRL+X) et reboot.

Enjoy !

Hi all!
i have the same problem, i tried the @voxdemonix solution but it seem that don’t work whith me :frowning:
i don’t know where looking else.
Sorry for my poor english, i’m french and some basics.
Many thanks for your ideas.
//
Bonjour à tous,
j’ai le même problème, j’ai essayé la solution de @voxdemonix mais il semble que cela ne fonctionne pas même après reboot.
Merci par avance pour vos idées.