YunoHost-Apps / mygpo_ynh

mygpo packaged for YunoHost
https://github.com/gpodder/mygpo
GNU Affero General Public License v3.0
6 stars 4 forks source link

unable to restart after one reboot #10

Closed changemenemo closed 4 months ago

changemenemo commented 3 years ago

How to post a meaningful bug report

  1. Read this whole template first.
  2. Determine if you are on the right place:
    • If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!
    • Otherwise, the issue may be due to mygpo itself. Refer to its documentation or repository for help.
    • When in doubt, post here and we will figure it out together.
  3. Delete the italic comments as you write over them below, and remove this guide.

Describe the bug

after one reboot mygpo drops and don't want to start anymore.

Context

/media/web/www /var/www none defaults,bind 0 0


the last line is for a disk image located on the same server allocated to the VM yunohost directly on SSD.  so no iscsi device or truenas link for that one.

### Steps to reproduce
just a reboot and then the python environment doesn't seem to be accessible anymore? 

### Expected behavior
the log should be more clear about the problem since /run/mygpo.sock doesn't exist.

### Logs
[yunohost paste](
https://paste.yunohost.org/atuqerisas)
Jules-Bertholet commented 3 years ago

Are you using the latest version of the package?

changemenemo commented 3 years ago

Yes no updates yet n the yunohost webmin about this app

changemenemo commented 3 years ago

Feel free to ask me if you need any other specifics or if you want me to test a few things. My only guess is that the python environment is not sync properly ? because from what I can see in htop or bpytop, gunicorn for mygpo is launched. There is a statement of this in the list of the process.

Jules-Bertholet commented 3 years ago

I just pushed a new update for the package, could you try installing it ?

changemenemo commented 3 years ago

Yes, will do when my dear co-members of my independent vpn service provider have finished to do messed up things with their already messed up vpn configurations:)

changemenemo commented 3 years ago

I have an update for galene, I don't have an update for gpo yet

Jules-Bertholet commented 3 years ago

@boistordu There is a delay between new pushes to master and getting an update notification, you can force an immediate upgrade with yunohost app upgrade mygpo -F -u https://github.com/YunoHost-Apps/mygpo_ynh

changemenemo commented 3 years ago

mmmh okey that I didn't know. well it's up to date now. I just had to wait 24 hours. the webapp is reachable again and the service has started again. Would you like me to do a test or anything alike?

Jules-Bertholet commented 3 years ago

@boistordu Could you reboot, and see if the services start properly?

changemenemo commented 3 years ago

yes it's working now apparently, even with my iscsi problems of not being able to shutdown properly. Any idea what was the problem?

changemenemo commented 3 years ago

what i can see from syslog, even if it works, and since it's the only service that I see with that kind of error: Apr 29 20:03:54 systemd[1]: /etc/systemd/system/mygpo-beat.service:3: Failed to add dependency on mygpo.scoket, ignoring: Unknown error -22 tell me if you want to look into it.

Jules-Bertholet commented 3 years ago

As long as mygpo-beat.service starts, it should be fine, but I'll look into it