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

Schedules Running multiple times during timezone change dates #5237

Open
3 tasks done
haraldmbs opened this issue Oct 27, 2024 · 6 comments
Open
3 tasks done

Schedules Running multiple times during timezone change dates #5237

haraldmbs opened this issue Oct 27, 2024 · 6 comments
Labels
not confirmed Report seems plausible but requires additional testing or 3rd part confirmation.

Comments

@haraldmbs
Copy link

Current Behavior

Schedules will randomly run several times more than expected (Have had it run 10x what it is supposed to do, and what it normally does)

Expected Behavior

Schedule runs once or the same amount it normally would.

Steps to Reproduce

Create a schedule. Have a timezone change happen (In this case CEST timezone changes 1 hour back)

Panel Version

1.11.7

Wings Version

1.11.13

Games and/or Eggs Affected

Assuming all, tested: Forge, Paper

Docker Image

ghcr.io/pterodactyl/yolks:java_21 and ghcr.io/pterodactyl/yolks:java_18

Error Logs

No relevant information, I believe this to be a problem either with the scheduling system itself, or cron, if it only triggered twice (1 hour apart) I wouldn't think much of it, but it spam did the schedule for around an hour span. and then again about 30 min ago it spammed a different schedule.

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
@haraldmbs haraldmbs added the not confirmed Report seems plausible but requires additional testing or 3rd part confirmation. label Oct 27, 2024
@sprocketaudio
Copy link

sprocketaudio commented Oct 28, 2024

Same problem here for me again (happened last year too and I ended up reinstalling the OS, and Panel/Wings!!)

Panel 1.11.7
Wings 1.11.13

.env file set to Europe/Berlin
config.yml file set to Europe/Berlin
Linux OS timezone set to Europe/Berlin
MYSQL time set to 'SYSTEM'

@Subthy
Copy link

Subthy commented Oct 30, 2024

same issue happening here.
Got America/Chicago time zone

@ninco90
Copy link

ninco90 commented Oct 31, 2024

The same thing happens here. The task keeps repeating itself every minute 1 hour before the scheduled time and until it reaches the scheduled time it does not stop repeating itself.

My colleague has already restarted the wings, the panel,... verified the time settings. We don't know what else to try.

@sprocketaudio
Copy link

sprocketaudio commented Nov 1, 2024

The following was posted in Discord and has worked for me finally!

Run in SSH:
sudo nano /var/www/pterodactyl/.env
check that this is the correct timezone in APP_TIMEZONE
cd /var/www/pterodactyl && php artisan config:clear (This is the important bit I think!!!)
sudo systemctl restart ngin
x
Restart the whole panel server with reboot

@ninco90
Copy link

ninco90 commented Nov 1, 2024

Yes, I forgot to post it here. I'm glad it was helpful to you.

@haraldmbs
Copy link
Author

sprocketaudio

I have followed this, yet it is still occuring to this day, everyday

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not confirmed Report seems plausible but requires additional testing or 3rd part confirmation.
Projects
None yet
Development

No branches or pull requests

4 participants