YunoHost-Apps / mastodon_ynh

Free, open-source social network for YunoHost
https://joinmastodon.org/
GNU Affero General Public License v3.0
84 stars 36 forks source link

armv7l - Unable to install mastodon #257

Closed punkrockgirl closed 3 years ago

punkrockgirl commented 3 years ago

Hi, I'm trying to install Mastodon on a Raspberry Pi 4. I believe it should now be compatible with ARM, correct me if I'm wrong.

However, each time that I run the command (terminal) or use the GUI the install fails.

YunoHost freshly installed and updated to the last available version.

Here is the log: https://paste.yunohost.org/raw/rejuhukolo

Thanks

rosbeef commented 3 years ago

hi same error here: https://paste.yunohost.org/raw/egakubaneb

lightnin commented 3 years ago

Same error here: https://paste.yunohost.org/raw/egakubaneb

The offending lines appear to be: gcc -D__SKIP_GNU -I/opt/rbenv/versions/2.6.6/include -D_FILE_OFFSET_BITS=64 -c -o x86.o x86.S Warning: x86.S: Assembler messages: Warning: x86.S:202: Error: junk at end of line, first unrecognized character is `,' Warning: make: *** [: x86.o] Error 1 Warning: make failed, exit code 2

Which looks like it may be because it's trying to compile for x86 when (at least in my case) it should be doing it for arm (I'm on a rasbpi 4)

yalh76 commented 3 years ago

All errors are the same, related to bcrypt Can you try to install mastodon 3.3 doing yunohost app install https://github.com/YunoHost-Apps/mastodon_ynh/tree/upgrade and let me know if it solves the issue

punkrockgirl commented 3 years ago

I can confirm that it works.

It took ~50 mins on a Raspberry Pi 4B, 2 Gb RAM. Yunohost version: 4.1.7.2

If anyone is interested, here is the log: https://paste.yunohost.org/raw/iyipolipoh

My question now: in the future, is it possible to migrate to the stable/non-testing branch without uninstalling and installing again?

yalh76 commented 3 years ago

My question now: in the future, is it possible to migrate to the stable/non-testing branch without uninstalling and installing again?

There won't be any migration, when 3.3 will be in the master branch your install will be updated to last master branch (stable version)

punkrockgirl commented 3 years ago

Thanks, all clear now!