Comments (7)
I can see in your script that you want deploy mailman on the /mailman
location.
Have you seen the instructions in the Readme what you need to do?
These steps need to be done BEFORE you build Mailman!
-
open
mailman/client/package.json
and change"homepage": "http://localhost:4000/"
to"homepage": "http://localhost:4000/mailman"
-
open
mailman/client/.env.production
and changeREACT_APP_BASENAME=/
toREACT_APP_BASENAME=/mailman
-
open
mailman/.env
and changeMAILMAN_BASENAME=/
toMAILMAN_BASENAME=/mailman
-
build Mailman
npm install && cd client && npm install && cd - && npm run build
-
kill
pm2
if it is already running withpm2 kill
-
start Mailman again:
npm start
Now you should be able to access Mailman on your webserver on /mailman.
You need to adopt your script and I hope this solves the white page error.
from mailman.
Why don't you use the docker image?
-
Add the official docker apt repository
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable"
-
Install Docker
sudo apt-get update && apt-get install docker-ce
-
Pull the latest mailman docker image
docker pull phiilu/mailman:latest
-
Download and edit the latest sample.env
https://github.com/phiilu/mailman/blob/master/sample.env -
Start the container
docker run -d -p 4000:4000 --net="host" --env-file /path/to/env/sample.env --restart=always --name mailman phiilu/mailman
from mailman.
Docker is not an option.
I'm trying to include it into a script / deploy or manually and it doesn't work as intended or I'm doing smth wrong.
The described fix in #10 doesn't work too.
from mailman.
I will try to deploy Mailman using your script and report back if I found a solution :)
from mailman.
Thanks this fixed it :)
Now it's running on /mailman.
The login isn't working, but I guess that's a bug in my script (using the Leister Email Setup) and the DB password :)
from mailman.
Awesome! Maybe you have the same problem as #15
from mailman.
It was another problem and it's solved, I made mistakes on my side :O
I mentioned your Repo in our Beta Release News, thanks for your work!
from mailman.
Related Issues (20)
- several vmail admins HOT 1
- Login - Something went wrong HOT 2
- Client Ip log HOT 4
- zeigt keine Domains usw. an HOT 6
- Problems while installing HOT 1
- No Catchall ("Alias requires Username") HOT 2
- Login - Password
- MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. HOT 3
- Userlogin Alias Problem HOT 2
- Password integrety problem HOT 1
- Problem with Database HOT 4
- Non-standard port for database HOT 1
- Error: Cannot read 'data' of undefined
- Support of unix socket for access to mysql/mariadb database
- Using unix socket and nginx as reverse proxy to access web server
- Aliases with NULL for Source-Adress causes Mailman to stop working HOT 2
- Vorschlag für Änderung
- Docker Reagiert nicht mehr nach neustart
- External Database Support HOT 1
- Attach not working [win10]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailman.