moufette icon indicating copy to clipboard operation
moufette copied to clipboard

[HELP] An Error occurred

Open mzch opened this issue 4 years ago • 0 comments

I tried to install Moufette locally but an error occurred as below when switching on feedback or feature, typing any chars in header in setting tab:

ScreenShot

Could anyone tell me how to fix this issue?

  • .env
EXPRESS_SESSION_SECRET=secret
MONGODB_URI=mongodb://moufette:[email protected]:27017/moufette
JWT_SECRET=secret
MAIL_HOST=192.168.207.21:25
[email protected]
  • apache
<IfModule mod_ssl.c>
<VirtualHost *:443>

	ServerName example.info
	ServerAlias www.example.info
	ServerAdmin [email protected]

	Include /etc/letsencrypt/options-ssl-apache.conf
	SSLCertificateFile /etc/letsencrypt/live/example.info/fullchain.pem
	SSLCertificateKeyFile /etc/letsencrypt/live/example.info/privkey.pem

	ProxyPreserveHost On
	RequestHeader set X-Forwarded-Proto "https"

	RewriteEngine On
	RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
	RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

	<Location /graphql>
		ProxyPass http://127.0.0.1:5000/graphql
		ProxyPassReverse http://127.0.0.1:5000/graphql
	</Location>

	DocumentRoot /srv/moufette/moufette/build/
	<Directory "/srv/moufette/moufette/build">
		Require all granted
	</Directory>

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>
</IfModule>
  • I executed yarn build and yarn start

mzch avatar Sep 09 '20 13:09 mzch