Flavour is detected incorrectly by OTP update script for ubuntu 22.04 #210

Closed
opened 2022-09-12 14:26:38 +00:00 by weird-autumn · 4 comments

When running the script to download the newest OTP release on ubuntu 22.04, the flavour is detected as 'amd64' instead of 'ubuntu-jammy', leading to the wrong version being downloaded
(was able to get around this by manually editing the script myself for now, which allowed it to update successfully)

When running the script to download the newest OTP release on ubuntu 22.04, the flavour is detected as 'amd64' instead of 'ubuntu-jammy', leading to the wrong version being downloaded (was able to get around this by manually editing the script myself for now, which allowed it to update successfully)
this is documented https://docs.akkoma.dev/stable/installation/otp_en/#detecting-flavour
Author

That's for installing it, not updating - I was following the steps to update from https://docs.akkoma.dev/stable/administration/updating/
(I should probably have just said "OTP update script" instead of "OTP installation update script" in the title originally, sorry)

That's for installing it, not updating - I was following the steps to update from https://docs.akkoma.dev/stable/administration/updating/ (I should probably have just said "OTP update script" instead of "OTP installation update script" in the title originally, sorry)
weird-autumn changed title from Flavour is detected incorrectly by OTP installation update script for ubuntu 22.04 to Flavour is detected incorrectly by OTP update script for ubuntu 22.04 2022-09-12 14:31:02 +00:00
Contributor

You should be able to set the enironment variable FLAVOUR=ubuntu-jammy.

Probably might be best to remove the auto-detection thingy and require the flavour to be set.

You should be able to set the enironment variable `FLAVOUR=ubuntu-jammy`. Probably might be best to remove the auto-detection thingy and require the flavour to be set.

or using the option --flavour

I'll have to unpick the script a little to change the

or using the option `--flavour` I'll have to unpick the script a little to change the
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#210
No description provided.