Thanks for this guide. It works!
Posts by designpark
-
-
Hi
I want to install a PHP library for multiple domains.
For this I wanted to create and use a new domain in i-Mscp.
I can configure the open-basedir with the listener.
An include_once () results in the error "failed to open stream: Permission denied in ..."
This is logical because the files belong to different users.
What do I have for options with i-MSCP?
i-MSCP 1.5.3 (2018120800)
Debian 9
-
I will update i-MSCP in the next few days and report if the problem is resolved.
-
Hi,
I have an error message with the LetsEncrypt 3.5.0 plugin.
The affected domains are disabled.
The error remains even after the activation of the domain.The domains no longer require a certificate.
What options do I have for removing the error message?Code: Error in Panel Debugger / Plugin Error- An unexpected error occurred: The client lacks sufficient authorization :: Certificate is expired Please see the logfiles in /var/log/letsencrypt for more details. at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 896. ...propagated at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 899
Code: Logfile /var/log/letsencrypt/letsencrypt.log- 2019-10-01 23:54:54,880:DEBUG:requests.packages.urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/revoke-cert HTTP/1.1" 403 110
- 2019-10-01 23:54:54,881:DEBUG:acme.client:Received response:
- HTTP 403
- Server: nginx
- Date: Tue, 01 Oct 2019 21:54:54 GMT
- Content-Type: application/problem+json
- Content-Length: 110
- Connection: keep-alive
- Boulder-Requester: 29645524
- Cache-Control: public, max-age=0, no-cache
- Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
- Replay-Nonce: 0101OiCK_SOzyj8RyTGMew9tlzceoOnjUeqi72tBw5jbATI
- {
- "type": "urn:ietf:params:acme:error:unauthorized",
- "detail": "Certificate is expired",
- "status": 403
- }
- 2019-10-01 23:54:54,881:DEBUG:acme.client:Storing nonce: 0101OiCK_SOzyj8RyTGMew9tlzceoOnjUeqi72tBw5jbATI
- 2019-10-01 23:54:54,881:DEBUG:certbot.log:Exiting abnormally:
- Traceback (most recent call last):
- File "/usr/local/sbin/certbot", line 11, in <module>
- sys.exit(main())
- File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 1364, in main
- return config.func(config, plugins)
- File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 1082, in revoke
- acme.revoke(jose.ComparableX509(cert), config.reason)
- File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/acme/client.py", line 856, in revoke
- return self.client.revoke(cert, rsn)
- File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/acme/client.py", line 721, in revoke
- return self._revoke(cert, rsn, self.directory['revokeCert'])
- File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/acme/client.py", line 232, in _revoke
- reason=rsn))
- File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/acme/client.py", line 92, in _post
- return self.net.post(*args, **kwargs)
- File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/acme/client.py", line 1106, in post
- return self._post_once(*args, **kwargs)
- File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/acme/client.py", line 1120, in _post_once
- return self._check_response(response, content_type=content_type)
- File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/acme/client.py", line 980, in _check_response
- raise messages.Error.from_json(jobj)
- Error: urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Certificate is expired
- 2019-10-01 23:54:54,882:ERROR:certbot.log:An unexpected error occurred:
- 2019-10-01 23:54:54,882:ERROR:certbot.log:The client lacks sufficient authorization :: Certificate is expired
Debian Stretch
i-MSCP 1.5.1
Build: 20170908
Codename: Ennio Morricone
LetsEncrypt 3.5.0 -
on my server:
root@node42h / # ls -la /etc/logrotate.d/imscp
-rw-rw-r-- 1 root root 0 Jun 26 16:04 /etc/logrotate.d/imscp -
Hello,
I installed IMSCP on a newly installed server (Debian Stretch).
I will now get following info-mail:Cron Daemon
Subject: Cron <root@node42h> test -x /usr/sbin/anacron ( cd / && run-parts —report /etc/cron.daily )/etc/cron.daily/logrotate:
error: Ignoring imscp because of bad file mode - must be 0644 or 0444.—————-
i-MSCP 1.4.6
Build: 20170616
Codename: ZimmerDebian Stretch
-
Only for information (maybe it helps you):
I have changed the packages-stretch.xml to
Code- <mariadb_10.0pinning_package="libmariadbclient18 mariadb-client-10.1 mariadb-common mariadb-server-10.1 mysql-common"pinning_pin="release o=Debian,n=stretch"pinning_pin_priority="1001"allow_switch="remote_server"><package>libmariadbclient18</package><package>mariadb-client-10.1</package><package>mariadb-common</package><package>mariadb-server-10.1</package><package>mysql-common</package></mariadb_10.0>
libmysqlclient18 >> libmariadbclient18
(no idea if this is correct)The installation with
named server: external server
vsftpd
apache php fpmthen goes to the other error:
Code- [ERROR]
- Error while performing step:
- Executing `sh fix_apache2_mod_proxy_fcgi.sh' package postinstall task...
- Error was:
- autoinstaller::Adapter::DebianAdapter::__ANON__: W: Download is performed unsandboxed as root as file 'apache2_2.4.25-3.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
- [ERROR]
- Error while performing step:
- Installing distribution packages
- Error was:
- autoinstaller::Adapter::DebianAdapter::__ANON__: W: Download is performed unsandboxed as root as file 'apache2_2.4.25-3.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
- autoinstaller::Functions::build: An error occurred while performing build steps
-
I am currently getting an error when installing i-MSCP under Debian Stretch:
mysql-server:
Code- ERROR] autoinstaller::Adapter::DebianAdapter::installPackages: Could not install packages: Reading package lists...
- Building dependency tree...
- Reading state information...
- Package mysql-client-5.6 is not available, but is referred to by another package.
- This may mean that the package is missing, has been obsoleted, or
- is only available from another source
- However the following packages replace it:
- mariadb-server-core-10.1 mariadb-client-10.1
- Package mysql-server-5.6 is not available, but is referred to by another package.
- This may mean that the package is missing, has been obsoleted, or
- is only available from another source
- However the following packages replace it:
- mariadb-server-10.1
- Package libmysqlclient18 is not available, but is referred to by another package.
- This may mean that the package is missing, has been obsoleted, or
- is only available from another source
- E: Package 'libmysqlclient18' has no installation candidate
- E: Package 'mysql-client-5.6' has no installation candidate
- E: Package 'mysql-server-5.6' has no installation candidate
- autoinstaller::Functions::build: An error occurred while performing build steps
- ---
- mariadb-server:
- [ERROR] autoinstaller::Adapter::DebianAdapter::installPackages: Could not install packages: Reading package lists...
- Building dependency tree...
- Reading state information...
- Package mariadb-client-10.0 is not available, but is referred to by another package.
- This may mean that the package is missing, has been obsoleted, or
- is only available from another source
- However the following packages replace it:
- mariadb-client-core-10.1 mariadb-client-10.1
- Package mariadb-server-10.0 is not available, but is referred to by another package.
- This may mean that the package is missing, has been obsoleted, or
- is only available from another source
- However the following packages replace it:
- mariadb-server-10.1 mariadb-plugin-spider mariadb-plugin-oqgraph
- mariadb-plugin-mroonga mariadb-plugin-connect mariadb-client-10.1
- Package libmysqlclient18 is not available, but is referred to by another package.
- This may mean that the package is missing, has been obsoleted, or
- is only available from another source
- E: Package 'libmysqlclient18' has no installation candidate
- E: Package 'mariadb-client-10.0' has no installation candidate
- E: Package 'mariadb-server-10.0' has no installation candidate