What type of hardware are you using: VPS bought online What YunoHost version are you running: 12.0.7 What app is this about: Sharkey
Describe your issue
I am trying to install Sharkey through Yunohost. The first time failed (1GB RAM insufficient, web interface would hang with no error message, command line console install attempt showed install failure) and after upgrading to 2GB RAM the second install also failed. The second time the web interface did not hang and I did not have to go into the command console to see how the process resolved. I know basically nothing about Linux so I do not know how to read the error log. How do I resolve whatever problem resulted in the error message of “packages/frontend build: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory”?
As you figured, the build process ran out of memory. For one reason or another env is not inherited when running yunohost command, hence your export is not effective.
This requires patching in the repo
Using that guide worked and I was able to successfully install Sharkey within Yunohost, thank you so much! (Now I have to deal with DNS problems in order to actually connect to the domain on the web but that’s an entirely separate issue I already knew about, haha.)
Would you recommend following step 6 and adjusting swappiness/cache pressure? I stopped after step 5 to try the install.
Also, can I proceed with the app version you had me install or should I do something different now?