Hi YUHOSTİANS,
I’m one of you now and i’m fucking proud. Planning on to creating a merch but that’s for another discussion.
My YunoHost server
**I run a Lightsail instance on AWS, it’s 1 GB RAM, 1 vCPU, 40 GB SSD Debian 10.8 YunoHost version: 4.3.6 I have access to my server : through the webadmin Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
I created a fresh Yunohost installation with 0 errors and i just installed Movim without doing anything special. No modifications to Yunohost or anything whatsoever. I get this error:
2022-01-17 21:48:11,609: WARNING - The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly
It seems that fellow 2 solved this issue, he says:
I guess I installed composer, setup the composer.json file, updated, tried to install Movim again through terminal and it all worked.
But i lack the technical knowledge so i couldn’t do what he did without instructions. It looks like an easy fix, i looked up on the net there are some ways to do this but i wanted a Yunohost specific solution so that i don’t encounter any more problems.
Thanks for your response. I installed it from the command line and it installed.
After installing it i got this error:
an 18 14:56:57 movim[31366]: movim.ERROR: fopen(/var/www/movim/cache/ach.po.cache): failed to open stream: Permission denied in /var/www/movim/src/Movim/i18n/Locale.php (line 63) Trace
Then i entered this in the command line:
sudo chmod -R 777 /var/www/movim/cache/
It started but now i received this in the syslog and i’m not sure how to do this:
Jan 18 14:57:28 movim[31568]: --- Server Configuration - Apache ---
Jan 18 14:57:28 movim[31568]: Enable the Secure WebSocket to WebSocket tunneling
Jan 18 14:57:28 movim[31568]: # a2enmod proxy_wstunnel
Jan 18 14:57:28 movim[31568]: Add this in your configuration file (default-ssl.conf)
Jan 18 14:57:28 movim[31568]: ProxyPass /ws/ ws://127.0.0.1:9537/
Jan 18 14:57:28 movim[31568]: --- Server Configuration - nginx ---
Jan 18 14:57:28 movim[31568]: Add this in your configuration file
Jan 18 14:57:28 movim[31568]: location /ws/ {
Jan 18 14:57:28 movim[31568]: proxy_pass http://127.0.0.1:9537/;
Jan 18 14:57:28 movim[31568]: proxy_http_version 1.1;
Jan 18 14:57:28 movim[31568]: proxy_set_header Upgrade $http_upgrade;
Jan 18 14:57:28 movim[31568]: proxy_set_header Connection "Upgrade";
Jan 18 14:57:28 movim[31568]: proxy_set_header Host $host;
Jan 18 14:57:28 movim[31568]: proxy_set_header X-Real-IP $remote_addr;
Jan 18 14:57:28 movim[31568]: proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Jan 18 14:57:28 movim[31568]: proxy_set_header X-Forwarded-Proto https;
Jan 18 14:57:28 movim[31568]: proxy_redirect off;
Jan 18 14:57:28 movim[31568]: }