mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[GH-ISSUE #1214] centos 7.3 on digitalocean #989
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#989
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iahim on GitHub (Aug 14, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1214
Impacted versions
I am using CentOS Linux release 7.3.1611 (Core)
latest one from git as of ... today :)
Steps to reproduce
just run the installer and:
Welcome to Modoboa installer!
Configuration file installer.cfg not found, creating new one.
Your mail server will be installed with the following components:
modoboa automx amavis clamav dovecot nginx razor postfix spamassassin uwsgi
Do you confirm? (Y/n) Y
The process can be long, feel free to take a coffee and come back later ;)
Starting...
Generating new self-signed certificate
Installing amavis
Installing spamassassin
Installing razor
Installing clamav
Installing modoboa
Installing automx
Installing uwsgi
Installing nginx
Traceback (most recent call last):
File "./run.py", line 91, in
main()
File "./run.py", line 81, in main
scripts.install("nginx", config)
File "/root/modoboa-installer/modoboa_installer/scripts/init.py", line 22, in install
getattr(script, appname.capitalize())(config).run()
File "/root/modoboa-installer/modoboa_installer/scripts/base.py", line 147, in run
self.post_run()
File "/root/modoboa-installer/modoboa_installer/scripts/nginx.py", line 64, in post_run
self._setup_config("automx", hostname)
File "/root/modoboa-installer/modoboa_installer/scripts/nginx.py", line 53, in _setup_config
utils.copy_from_template(src, dst, context)
File "/root/modoboa-installer/modoboa_installer/utils.py", line 135, in copy_from_template
with open(dest, "w") as fp:
IOError: [Errno 2] No such file or directory: '/etc/nginx/conf.d/autoconfig.mail01.brad24.ro.conf
@iahim commented on GitHub (Aug 14, 2017):
i tried the same thing on an Ubuntu 16.04 and the installer just stopped ... with no message after installing modoboa package.
@iahim commented on GitHub (Aug 14, 2017):
It did NOT work on ubuntu 14.04 LTS. It was installed - the only distro that finished the installer ... and at the end the web interface came up with > Sorry An internal error occured.
So far ... i tried 3 !!! distros, so i have to try maybe mail-in-a-box. Maybe you should follow their approach - have ONE recommended distro and that's it - until the project gets more testers and you can actually test on more distros.
I can help if you need with some testing - i am not a py/django dev, but i can find my way around scripting.
YOUR idea is great ... i tried it before mail-in-a-box becasue i did not like the fact that MIAB wants to manage the dns entries as well, but in the end... i have to cope with that.
@tonioo commented on GitHub (Aug 18, 2017):
I just tried on a fresh CentOS 7.3 and I can't reproduce your issue. Have you made all your tests on digital ocean box? If so, how much RAM do you have?
@mylastore commented on GitHub (Aug 29, 2017):
@tonioo what programs are you using for templates and can they be modify?
@tonioo commented on GitHub (Sep 3, 2017):
@mylastore What do you mean by templates?
@mylastore commented on GitHub (Sep 3, 2017):
@tonioo views
@mylastore commented on GitHub (Sep 4, 2017):
@tonioo can the views be modify?
@tonioo commented on GitHub (Sep 5, 2017):
@mylastore if you're talking about the web interface, you're not at the right place. You should ask your question in the https://github.com/modoboa/modoboa repository.
@gawel commented on GitHub (Sep 5, 2017):
So it's the right place :D (it was the wrong place to talk about the installer)
@tonioo commented on GitHub (Sep 5, 2017):
@gawel T_T
@mylastore it's indeed the right repository but not the right issue
@tonioo commented on GitHub (Sep 15, 2017):
@iahim ping
@iahim commented on GitHub (Sep 15, 2017):
@tonioo Sorry - i stopped testing. I ended up using mailinabox (although they support only ubuntu 14.04).
I will run another test today on centos.
@iahim commented on GitHub (Sep 15, 2017):
So i just testeg again on centos 7.
Installer worked. Before i think it was my error - i didn't chose probably 1GB of ram.
I see that in idle state the vm consumes around 720MB ram.
Welcome to Modoboa installer!
Configuration file installer.cfg not found, creating new one.
Your mail server will be installed with the following components:
modoboa automx amavis clamav dovecot nginx razor postfix spamassassin uwsgi
Do you confirm? (Y/n) Y
The process can be long, feel free to take a coffee and come back later ;)
Starting...
Generating new self-signed certificate
Installing amavis
Installing spamassassin
Installing razor
Installing clamav
Installing modoboa
Installing automx
Installing uwsgi
Installing nginx
Installing postfix
Installing dovecot
Congratulations!
@iahim commented on GitHub (Sep 15, 2017):
So the linux version is CentOS Linux release 7.4.1708 (Core)
But i get a lof of
Sorry
An internal error occured.
I am sorry i do not have time to test some more.