zeropingheroes / lanager

LAN party management web application
GNU Affero General Public License v3.0
121 stars 30 forks source link

Slides not showing complete schedule #161

Open PhuseBolt opened 1 year ago

PhuseBolt commented 1 year ago

Docker image version Output of docker images zeropingheroes/lanager. You must be using the LANager Docker image to receive support. REPOSITORY TAG IMAGE ID CREATED SIZE zeropingheroes/lanager develop 74d055de4349 3 months ago 202MB zeropingheroes/lanager stable 383f7534f239 3 months ago 202MB

Bug description A clear and concise description of what the bug is. We are using the slides feature on projectors to show a rotation of information. As we update the the slides and as the day progresses on, the schedule omits certain events from showing on the schedule Reproduction steps

  1. Go to '...' Slides from the main page.
  2. Click on '....' play button at the bottom.
  3. Open browser on another machine or same machine. Go to the Schedule from the top. Then select Schedule from the events tab in the main section.
  4. See the difference between the schedule and the up coming events from the schedule slide. Expected behavior A clear and concise description of what you expected to happen. We expect to see the happening and the next upcoming events shown on the schedule slide in the order they are to be based on time. Screenshots Add screenshots to help explain your problem. image image

Additional context Add any other context about the problem here. Additional information. The slide has been playing for about 24 hours (we LAN 24x7 from Friday Noon until Sunday at 4). The first evening had the correct information shown. The second day the information seemed to be missing. I have restarted the docker container, as well as the entire server itself.

This is our first LAN using this software and almost everyone in leadership is giving it rave reviews. Its' EXACTLY what I/We've been looking for.

PhuseBolt commented 1 year ago

In the screenshots above, you can see that DATS is showing still going, and it should show up in green as "Happening Now" along with Make a Spaceship craft time, and Quake Champions. It should show King of Fighters and Pickle Juice chugging contest as "Next". But it's picking and choosing only certain ones to show up.

ilumos commented 1 year ago

Thanks for reporting this one. Glad to hear you're enjoying LANager :)

Just to double check, are all of the events marked as published?

Can you runlanager-docker-compose/.backup.sh, and either email the resulting zip to info [at] zeropingheroes.co.uk, or unzip and send just the events.sql file, and I can investigate further.

I have a feeling it is to do with either this line: https://github.com/zeropingheroes/lanager/blob/develop/app/Http/Controllers/Api/EventController.php#L39

Or this one: https://github.com/zeropingheroes/lanager/blob/develop/resources/js/components/events/events.vue#L36

Thanks

ilumos commented 1 year ago

We got your email with the error:

sudo ./backup.sh
Creating temporary directory for backup data: /tmp/lanager-backup-2023-05-09
Loading database credentials from the .env file into environment variables
.env: line 9: 6hSz: command not found

Try editing your .env file to put all the values in double quotes, and re-running the backup script, and if that works, send the backup file over to info [at] zeropingheroes.co.uk