[bug] Error migrating from Pleroma #467

Closed
opened 2023-02-15 19:30:02 +00:00 by lina · 8 comments

Your setup

OTP

Extra details

Alpine Linux stable in a vm

Version

pleroma 2.5.0

PostgreSQL version

14.7

What were you trying to do?

I started the migration process with su pleroma -s $SHELL -lc "./bin/pleroma_ctl update --zip-url https://akkoma-updates.s3-website.fr-par.scw.cloud/stable/akkoma-amd64-musl.zip".

What did you expect to happen?

A successful migration to Akkoma.

What actually happened?

Upon executing the migrate (su pleroma -s $SHELL -lc "./bin/pleroma_ctl migrate") command, I got these errors:

Error locating /opt/pleroma/erts-13.1.4/bin/beam.smp: __extendhfdh2: symbol not found
Error locating /opt/pleroma/erts-13.1.4/bin/beam.smp: __truncdfhf2: symbol not found
Error locating /opt/pleroma/erts-13.1.4/bin/beam.smp: __truncxfhf2: symbol not found

I have no clue what the issue might be. Maybe it doesn't like the version of musl libc (musl-1.2.3-r2) installed? I've upgraded Alpine just in case. Don't know how to revert back to Pleroma either. Hope my database isn't corrupted or anything.

Logs

Error locating /opt/pleroma/erts-13.1.4/bin/beam.smp: __extendhfdh2: symbol not found
Error locating /opt/pleroma/erts-13.1.4/bin/beam.smp: __truncdfhf2: symbol not found
Error locating /opt/pleroma/erts-13.1.4/bin/beam.smp: __truncxfhf2: symbol not found

Severity

I cannot use the software

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Your setup OTP ### Extra details Alpine Linux stable in a vm ### Version pleroma 2.5.0 ### PostgreSQL version 14.7 ### What were you trying to do? I started the migration process with `su pleroma -s $SHELL -lc "./bin/pleroma_ctl update --zip-url https://akkoma-updates.s3-website.fr-par.scw.cloud/stable/akkoma-amd64-musl.zip"`. ### What did you expect to happen? A successful migration to Akkoma. ### What actually happened? Upon executing the migrate (`su pleroma -s $SHELL -lc "./bin/pleroma_ctl migrate"`) command, I got these errors: ``` Error locating /opt/pleroma/erts-13.1.4/bin/beam.smp: __extendhfdh2: symbol not found Error locating /opt/pleroma/erts-13.1.4/bin/beam.smp: __truncdfhf2: symbol not found Error locating /opt/pleroma/erts-13.1.4/bin/beam.smp: __truncxfhf2: symbol not found ``` I have no clue what the issue might be. Maybe it doesn't like the version of musl libc (`musl-1.2.3-r2`) installed? I've upgraded Alpine just in case. Don't know how to revert back to Pleroma either. Hope my database isn't corrupted or anything. ### Logs ````shell Error locating /opt/pleroma/erts-13.1.4/bin/beam.smp: __extendhfdh2: symbol not found Error locating /opt/pleroma/erts-13.1.4/bin/beam.smp: __truncdfhf2: symbol not found Error locating /opt/pleroma/erts-13.1.4/bin/beam.smp: __truncxfhf2: symbol not found ```` ### Severity I cannot use the software ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
lina added the
bug
label 2023-02-15 19:30:02 +00:00
Author

just checked that the update zip wasn't corrupted on download

just checked that the update zip wasn't corrupted on download

which architecture are you on? standard amd64?
not an arm processor or anything?
can't say I've ever seen an error like this

which architecture are you on? standard amd64? not an arm processor or anything? can't say I've ever seen an error like this
Author

yeah, regular amd64 on an old sandy bridge thinkpad. i'll try a regular install without any migrations and see if it works at all

yeah, regular amd64 on an old sandy bridge thinkpad. i'll try a regular install without any migrations and see if it works at all
Author

right now i seem to have successfully reverted back to pleroma by manually copying the release folder from the zip and it's working but it's fucked up to the point the migrate command isn't working ([info] Migrations already up). ehhhhhhhhhhhhh

right now i seem to have successfully reverted back to pleroma by manually copying the release folder from the zip and it's working but it's fucked up to the point the migrate command isn't working (`[info] Migrations already up`). ehhhhhhhhhhhhh

ok i can replicate your error in a docker container
i'm going to try building a new version to see if something hecked up on build day

ok i can replicate your error in a docker container i'm going to try building a new version to see if something hecked up on build day

updating the docker container made it work, which implies it's just an alpine compatibility issue, building on an older alpine now, give it 15 mins

updating the docker container made it work, which implies it's just an alpine compatibility issue, building on an older alpine now, give it 15 mins

built, try updating now

built, try updating now
Author

sorry i was asleep but i got to it now and it works :D im so happy :D

sorry i was asleep but i got to it now and it works :D im so happy :D
lina closed this issue 2023-02-16 07:25:12 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 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#467
No description provided.