ubergeek77 / Lemmy-Easy-Deploy

Deploy Lemmy the easy way!
MIT License
133 stars 14 forks source link

"Unable to determine Frontend upgrade path" - version number parsing error #81

Closed oz42 closed 10 months ago

oz42 commented 10 months ago

Did you check the FAQ & Troubleshooting section for answers to common questions and issues?

Yes

Describe the issue

What happened? Post any relevant log snippets.

Ran deploy.sh and got this confusing message:

Current Backend Version: 0.18.5 Latest Backend Version: 0.18.5

Current Frontend Version: 0.18.5 Latest Frontend Version: 0.19.0-alpha.2


ERROR: Unable to determine Frontend upgrade path. One of the below versions is not in 0.0.0 format: Installed Frontend: 0.18.5 Target Frontend: 0.19.0-alpha.2

Are you trying to install an "rc" version manually? Combine the -w flag with -f to skip the version check: ./deploy.sh -w -f

ubergeek77 commented 10 months ago

This is because the Lemmy developers broke their versioning scheme and started tagging "alpha" releases. They only used to use "rc" or "beta" tags, so this is not a case I was expecting.

For now, you can use the command line arguments to force install alpha-2, or wait for me to fix it when I'm done visiting family this week 👍

Worth noting, this is only happening because the current latest Lemmy tag has the word "alpha" in it. This issue will go away once the current latest is something simple like 0.19. But I will add a fallback case for this situation when I can.