Skip to content

Reduce certbot renewal checks from twice daily to monthly and align deployment docs#21

Merged
AbandonedCart merged 2 commits into
devfrom
copilot/fix-certbot-renewal-schedule
Apr 22, 2026
Merged

Reduce certbot renewal checks from twice daily to monthly and align deployment docs#21
AbandonedCart merged 2 commits into
devfrom
copilot/fix-certbot-renewal-schedule

Conversation

Copilot AI commented Apr 22, 2026

Copy link
Copy Markdown

Infomation

Please use the following form when submitting a pull request for amiibo database. Update both the amiibo.json and game_info.json file to prevent error. If unsure of game_info.json please use the example format below to include an empty array.

This change addresses an EC2 deployment regression introduced by certbot automation: renewal checks were over-scheduled and the server startup context needed to remain project-root-safe for gunicorn deployments.

Pull request form

  • Summary
    • Excessive certbot scheduling was reduced to a low-maintenance cadence while keeping renewal behavior safe for 90-day certs.
  • Changes
    • Cron cadence
      • Updated scripts/certbot_certificate.sh cron entry from twice daily to monthly.
    • Operator-facing text
      • Updated script usage/help text to reflect the new schedule.
      • Updated README SSL section to match actual renewal-check cadence.
  • Relevant snippet
# before
0 3,15 * * * root /bin/bash .../scripts/certbot_certificate.sh renew >> /var/log/amiiboapi-certbot.log 2>&1

# after
0 3 1 * * root /bin/bash .../scripts/certbot_certificate.sh renew >> /var/log/amiiboapi-certbot.log 2>&1

Checklist

  • The ids provided are not spoofed.
  • The ids provided are all in lowercase.
  • The game_info.json had been updated with the matching ids.
  • Images of amiibo have been provided in high quality.

Link to amiibo.life for amiibo

  • link_1
  • link_2
  • link_3

Example of empty game_info

"0x02ed0001015a0502":
{
	"games3DS": [],
	"gamesWiiU": [],
	"gamesSwitch": [],
	"gamesSwitch2": []
}

Copilot AI and others added 2 commits April 22, 2026 17:44
Agent-Logs-Url: https://github.com/8bitDream/AmiiboAPI/sessions/3dd6435e-c3bf-4823-8118-e043ba3c3b14

Co-authored-by: AbandonedCart <1173913+AbandonedCart@users.noreply.github.com>
Agent-Logs-Url: https://github.com/8bitDream/AmiiboAPI/sessions/3dd6435e-c3bf-4823-8118-e043ba3c3b14

Co-authored-by: AbandonedCart <1173913+AbandonedCart@users.noreply.github.com>
@AbandonedCart AbandonedCart marked this pull request as ready for review April 22, 2026 18:08
@AbandonedCart AbandonedCart merged commit 9fe5546 into dev Apr 22, 2026
1 check passed
@AbandonedCart AbandonedCart deleted the copilot/fix-certbot-renewal-schedule branch April 22, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants