YunoHost-Apps / mastodon_ynh

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

Cant install on a fresh system #343

Closed harcesz closed 1 year ago

harcesz commented 1 year ago

Describe the bug

Mastodon wont install

Context

Steps to reproduce

Expected behavior

Mastodon should install

Logs

On my server with other apps cant compile Ruby 3.0.3 which seems to be a problem in itself on Debian Bullseye. Got a separate VPS just to test it out, some progress but still fails; https://paste.yunohost.org/raw/ipucedecig

At least one other person on the Matrix channel confirmed the problem. This is pretty bad, at a time when a ton of people are moving to Mastodon.

alexAubin commented 1 year ago

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Sounds like it's "just" your system running out of RAM ?

harcesz commented 1 year ago

Well paint me blue and call me birdie, increasing the RAM solved the problem. It just wont compile on less than 2GB of RAM.

Does everything need to be compiled for this app? Could it at least provide some clear indication as to the reason of fail or required resources? (This log was far more informative than earlier ones).

christ-offer commented 1 year ago

I've been trying to install myself, but not getting any verbose enough errors to figure out why it fails over here, both webadmin and ssh: https://paste.yunohost.org/raw/fusuxajefe

yalh76 commented 1 year ago

Well paint me blue and call me birdie, increasing the RAM solved the problem. It just wont compile on less than 2GB of RAM.

Does everything need to be compiled for this app? Could it at least provide some clear indication as to the reason of fail or required resources? (This log was far more informative than earlier ones).

Yes everything need to be compiled, as written in the documentation => https://docs.joinmastodon.org/admin/install/

yalh76 commented 1 year ago

I've been trying to install myself, but not getting any verbose enough errors to figure out why it fails over here, both webadmin and ssh: https://paste.yunohost.org/raw/fusuxajefe

should also be some RAM issue, how many do your server have ?

christ-offer commented 1 year ago

I've been trying to install myself, but not getting any verbose enough errors to figure out why it fails over here, both webadmin and ssh: https://paste.yunohost.org/raw/fusuxajefe

should also be some RAM issue, how many do your server have ?

Im running it on the 2gb RAM shared VPS at linode atm. Is that too little if im also running nextcloud and calibre there?

Edit: Upgraded to the 4gb server and it installed just fine.