Also is it possible to use config scripts from iMSCP to for example: create domain/ftp account etc. from command line?
Posts by sargit
-
-
Hi there,
I could afford to pay dev to develop that script further. Maybe we should do some crowd investment for dev of iMSCP to develop it? -
I've got quick question: is it possible to provide configuration file for installation script with prechoosen config options? For example which php version we would like to install? Which ftp server to use? Database version, FQDN and so on? Is it even possible? I'd love to use iMSCP install script with such option available with conjuction with Ansible - auto deploy whole server using that tech.
-
Hi,
I'm running mutliple domains using i-mscp. What I did observe is a fact, that if subdomain for example: pr.example.com doesn't have ssl generated/assigned then default cert of a: adomain.com is used. How can I force apache2/imscp stack not to use default ssl cert of a domain adomain.com? Self signed cert is not the solution because chrome/ff/etc blocks loading of a page and thus I can't use redirect to redirect page from https to http (yes, that's the demanded sollution). Using .htaccess for redirect does not work because site doesn't even load.
Questions:
1. how can I force site not to use default cert?2. do I need ssl cert for that subdomain to make redirect from https to http?
-
Hello,
I have two domains on server. One is http://utrzymanieruchu.pl other one is http://controlengineering.pl.Cert for http://controlengineering.pl works just fine. It's correct one.
But for http://utrzymanieruchu.pl picked cert is from http://controlengineering.pl, which is wrong.
Additionaly, after reinstalling imscp (server was changed from public to private address with redirect onto that private ip server and with choosen option for listening on all eth during installation), some of domains do redirect to controlengineering.pl - like utrzymanieruchu.pl, even thou no redirects were present in imscp. Plugin in use for SSL is Let's encrpyt SSL plugin from imscp store.
How to fix issue of redirecting pages to controlengineering.pl? I tried suggestions from this topic: Lets Encrypt - Certificate revoked, with no effect.
Imscp in use: 15.3
Plugins in use Let's encrypt 2.0.1
Output of perl /var/www/imscp/engine/imscp-rqst-mngr -vShell-Script- [DEBUG] iMSCP::Bootstrapper::boot: Booting backend....
- [DEBUG] iMSCP::LockFile::acquire: Acquiring exclusive lock on /var/lock/imscp.lock
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Plugin tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Plugin tasks for: PhpSwitcher (ID 1)
- [DEBUG] Modules::Plugin::_executePluginAction: Executing run( ) action on Plugin::PhpSwitcher
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::ServerIP tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::ServerIP
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::SSLcertificate tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::SSLcertificate
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::User tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::User
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Domain tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Domain
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Subdomain tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Subdomain
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Alias tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Alias
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::SubAlias tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::SubAlias
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::CustomDNS tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::CustomDNS
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::CustomDNS tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::CustomDNS
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::FtpUser tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::FtpUser
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Mail tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Mail
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Htpasswd tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Htpasswd
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Htgroup tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Htgroup
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Htaccess tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Htaccess
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::SubAlias tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::SubAlias
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Alias tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Alias
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Subdomain tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Subdomain
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Domain tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Domain
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::User tasks...
- [DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::User
- [DEBUG] iMSCP::LockFile::release: Releasing exclusive lock on /var/lock/imscp.lock
-
Hi,
we recently installed imscp on our server (brand new).
How can I check current dovecot/postfix settings? (ports in use, encryption f. ex: ssl, starttls), etc).
What might be the reason behind outlook not able to send/recive emails?
Domain configured for emails (mail.pik-instruments.pl) look ok. So my guess was that to connect/send emails I need such configuration:
recive:
host: mail.pik-instruments.pl
port: 143
encryption: starttls
send:
host: mail.pik-instruments.pl
port: 587
encryption: none
Could you help me fix that issue?
Ps. emails work from roundcube, we are able send/recive emails using it. -
Searching thru logs I stumbled upon this:
E: Failed to fetch https://cdn.sury.org/php/dists…ch/main/source/Sources.gz Hash Sum mismatch
Hashes of expected file:
- Filesize:26370 [weak]
- SHA256:3a5a3941791968951d989323c880160d4d2d341504f09467a7a9d3c160e3587a
- SHA1:b5fbe5612ede82e386b8519b8d3875c4592b8003 [weak]
- MD5Sum:251086bfdc89fff53008407115c37527 [weak]
Hashes of received file:
- SHA256:372ece46bc4545beb297ab7c4eb0c29e94ed435b3b599d2fa93412045cdb5d21
- SHA1:d5b8c5bc8b02dab3f68d4127807e9cab48dc0609 [weak]
- MD5Sum:18fe2ee5e09ddc72cfc3c0a485acf135 [weak]
- Filesize:26362 [weak]
Last modification reported: Wed, 20 Feb 2019 00:10:08 +0000
Release file created at: Tue, 19 Feb 2019 09:12:38 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Anyone might know why hashes are different? -
Also those 2 lines get automatically uncommented:
deb https://packages.sury.org/php/ stretch maindeb-src https://packages.sury.org/php/ stretch main
in sources.list in apt config
-
Hello,
during autoinstallation I've got such an error:[ERROR] │
│ │
│ Error while performing step: │
│ │
│ Updating packages index │
│ │
│ Error was: │
│ │
│ autoinstaller::Adapter::DebianAdapter::_updatePackagesIndex: Couldn't update package index from remote repository: Hit:1 │
│ http://deb.debian.org/debian-security stretch/updates InRelease │
│ Ign:2 http://deb.debian.org/debian stretch InRelease │
│ Hit:3 http://security.debian.org/debian-security stretch/updates InRelease │
│ Hit:4 http://deb.debian.org/debian stretch Release │
│ Ign:5 http://mirror.hetzner.de/debian/packages stretch InRelease │
│ Ign:6 http://ftp.debian.org/debian stable InRelease │
│ Hit:7 http://mirror.hetzner.de/debian/security stretch/updates InRelease │
│ Ign:8 http://ftp.de.debian.org/debian stretch InRelease │
│ Hit:9 http://ftp.debian.org/debian stable Release │
│ Hit:10 http://mirror.hetzner.de/debian/packages stretch-updates InRelease │
│ Hit:11 http://ftp.de.debian.org/debian stretch-updates InRelease │
│ Hit:12 http://mirror.hetzner.de/debian/packages stretch Release │
│ Hit:15 http://ftp.de.debian.org/debian stretch Release │
│ Get:13 https://cdn.sury.org/php stretch InRelease [6934 B] │
│ Ign:16 http://ftp.us.debian.org/debian stable InRelease │
│ Ign:18 http://download.webmin.com/download/repository sarge InRelease │
│ Hit:19 http://ftp.us.debian.org/debian stable Release │
│ Get:22 https://cdn.sury.org/php stretch/main Sources [26.4 kB] │
│ Err:22 https://cdn.sury.org/php stretch/main Sources │
│ Hash Sum mismatch │
│ Hashes of expected file:
Server is in hetzner.com (dedicated)
Linux distro: debian 9 stretch
What might be the reason behind such an error and how to resolve it? -
Hi,
I've a problem with let's encrypt plugin. I've enabled ssl for http://www.prenumerator.trademedia.us/ce/login/duze. However, webbrowser says it's unecrypted. Site http://www.prenumerator.trademedia.us/ce/login/duze is used as an iframe on another site (https://www.controlengineering.pl/login/). On http://www.controlengineering.pl ssl is working fine, but not on http://www.prenumerator.trademedia.us. What might be the issue?