Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slides not showing complete schedule #161

Open
PhuseBolt opened this issue Apr 29, 2023 · 3 comments
Open

Slides not showing complete schedule #161

PhuseBolt opened this issue Apr 29, 2023 · 3 comments
Labels

Comments

@PhuseBolt
Copy link

PhuseBolt commented Apr 29, 2023

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 PhuseBolt added the bug label Apr 29, 2023
@PhuseBolt
Copy link
Author

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
Copy link
Contributor

ilumos commented Apr 30, 2023

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
Copy link
Contributor

ilumos commented Jul 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants