[GH-ISSUE #1214] centos 7.3 on digitalocean #989

Closed
opened 2026-02-27 11:14:37 +03:00 by kerem · 14 comments
Owner

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 :)

  • Modoboa: X.X.x
  • installer used: Yes ?
  • Webserver: Nginx

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

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 :) * Modoboa: X.X.x * installer used: Yes ? * Webserver: Nginx # 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 <module> 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
kerem closed this issue 2026-02-27 11:14:37 +03:00
Author
Owner

@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.

<!-- gh-comment-id:322248280 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:322266004 --> @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.
Author
Owner

@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?

<!-- gh-comment-id:323287689 --> @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?
Author
Owner

@mylastore commented on GitHub (Aug 29, 2017):

@tonioo what programs are you using for templates and can they be modify?

<!-- gh-comment-id:325552182 --> @mylastore commented on GitHub (Aug 29, 2017): @tonioo what programs are you using for templates and can they be modify?
Author
Owner

@tonioo commented on GitHub (Sep 3, 2017):

@mylastore What do you mean by templates?

<!-- gh-comment-id:326792350 --> @tonioo commented on GitHub (Sep 3, 2017): @mylastore What do you mean by templates?
Author
Owner

@mylastore commented on GitHub (Sep 3, 2017):

@tonioo views

<!-- gh-comment-id:326814710 --> @mylastore commented on GitHub (Sep 3, 2017): @tonioo views
Author
Owner

@mylastore commented on GitHub (Sep 4, 2017):

@tonioo can the views be modify?

<!-- gh-comment-id:327030781 --> @mylastore commented on GitHub (Sep 4, 2017): @tonioo can the views be modify?
Author
Owner

@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.

<!-- gh-comment-id:327218357 --> @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.
Author
Owner

@gawel commented on GitHub (Sep 5, 2017):

So it's the right place :D (it was the wrong place to talk about the installer)

<!-- gh-comment-id:327226288 --> @gawel commented on GitHub (Sep 5, 2017): So it's the right place :D (it was the wrong place to talk about the installer)
Author
Owner

@tonioo commented on GitHub (Sep 5, 2017):

@gawel T_T
@mylastore it's indeed the right repository but not the right issue

<!-- gh-comment-id:327227210 --> @tonioo commented on GitHub (Sep 5, 2017): @gawel T_T @mylastore it's indeed the right repository but not the right issue
Author
Owner

@tonioo commented on GitHub (Sep 15, 2017):

@iahim ping

<!-- gh-comment-id:329730088 --> @tonioo commented on GitHub (Sep 15, 2017): @iahim ping
Author
Owner

@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.

<!-- gh-comment-id:329758652 --> @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.
Author
Owner

@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!

<!-- gh-comment-id:329763063 --> @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!
Author
Owner

@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.

<!-- gh-comment-id:329766140 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#989
No description provided.