soup-bowl / hot-this-week

🔥 Posts last.fm details to a Mastodon/Bluesky account.
MIT License
4 stars 0 forks source link

Main/latest container failing - Edge is fine #3

Closed soup-bowl closed 2 years ago

soup-bowl commented 2 years ago
server:/$ /usr/bin/docker run -v <redacted>:/opt/app/config.json ghcr.io/soup-bowl/hot-this-week:latest
Processing soup-bowl
- Scraping from last.fm...
- Generating collage...
- Composing tweet...
- Posting to Twitter...
PHP Fatal error:  Uncaught Error: Class 'HotThisWeek\TwitterOAuth' not found in /opt/app/src/TwitterAPI.php:68
Stack trace:
#0 /opt/app/src/CLI.php(100): HotThisWeek\TwitterAPI->postToTwitter()
#1 /opt/app/main.php(89): HotThisWeek\CLI->main()
#2 {main}
  thrown in /opt/app/src/TwitterAPI.php on line 68

Looks like the mainline image isn't grabbing Composer dependencies. Edge container appears to be fine.

soup-bowl commented 2 years ago

Impacted by #2.

soup-bowl commented 2 years ago

No longer an issue with the latest latest and edge builds.