plesk / docker Goto Github PK
View Code? Open in Web Editor NEWDockerfiles for Plesk
License: Other
Dockerfiles for Plesk
License: Other
Hi there, it would be nice if it was possible to have a centos-based image as well to run automated testing against
Plesk gets the local IP address from Docker bridge. So it gives notification that DNS resolving IP does not match with Host IP.
How can I change of IP address settings so plesk gets my VPS server IP address?
Screenshot: http://prntscr.com/luo9ff
Using the 12.0 Dockerfile inside the Docker manager dokku results in this fatal error:
DEBUGGER DETECTED... Bye!
Killed
Ubuntu 14.04 LTS "Trusty Tahr" Minimal: http://archive.ubuntu.com/ubuntu/dists/trusty/main/installer-amd64/current/images/netboot/mini.iso
Note: Install SSH server during setup or configure manually.
sudo passwd
su
apt-get update
sed -i 's/PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
wget https://raw.githubusercontent.com/progrium/dokku/v0.4.4/bootstrap.sh
DOKKU_TAG=v0.4.4 bash bootstrap.sh
reboot
NOTE: This assumes that 192.168.1.100 is the server IP address.
scp ~/.ssh/id_rsa.pub [email protected]:
ssh [email protected] 'cat id_rsa.pub | sshcommand acl-add dokku test'
mkdir test
cd test
wget https://raw.githubusercontent.com/plesk/docker/master/12.0/Dockerfile
git init .
git add Dockerfile
git commit -m 'test'
git remote add test [email protected]:test
git push -v --set-upstream test master
[...]
===> Installing psa database
Trying to check psa database... Trying to find psa database... not found
Trying to install initial psa database... done
Trying to set psa database version to 012000018... done
Trying to insert Hostname to the MySQL database... done
done
DEBUGGER DETECTED... Bye!
KilledERROR while trying to SMB database not created
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again***** problem report *****
ERROR while trying to SMB database not created
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try againERROR: An error occurred during performing of installation PREP actions (see log for details). Installation was rolled back.
Warning! Not all packages were installed.
Please check if your system services are operable.
Please resolve this issue and try installing the packages again.
If you cannot resolve the issue on your own, contact product technical support for assistance.
remote: The command '/bin/sh -c apt-get update && apt-get install -y wget && wget -q -O /root/ai http://autoinstall.plesk.com/plesk-installer && chmod +x /root/ai && /root/ai --select-product-id=plesk --select-release-id=PLESK_12_0_18 --install-component common --install-component panel --install-component psa-autoinstaller --install-component phpgroup --install-component sitebuilder --install-component web-hosting --install-component mod_fcgid --install-component proftpd --install-component webservers --install-component nginx --install-component mysqlgroup --install-component php5.6 && plesk sbin ch_admin_passwd' returned a non-zero code: 1
To [email protected]:test
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:test'
I would like to give feedback and help develop one of the best worked-out environment for web-hosting and application builders as a docker image, but it all looks very unsupported. Let's get that out of the way first. No use trying gits without engagement. Please advise.
When starting the migration from another server to this instance the pmm_agent data is rsync'ed by using ssh authentication. Unfortunately the 'ssh' command is not installed on that image.
Changing the Dockerfile by adding 'apt-get install -y openssh-client' solved the problem.
How to deploy community / free version of plesk on docker?
This question may be related to #6
Is there a version that can keep the configuration on redeploy?
I just started a docker container, moved my plesk configuration from my old instance to it and everything worked fine. Afterwards I changed a port and redeployed the container and everything's gone.
One reason why I want to run plesk inside a docker container is the massive impact on the host system. So I could imagine, that mapping docker volumes from a plesk container to the host system could be a hard job?
Hi, tried the git and it didn't work because the base image doesn't have ssh installed(security reasons).
for git i need ssh-keyscan to add the github to .ssh/known_hosts.
you can add: --install-component ssh or openssh-client
to the docker file.
Hi @sibprogrammer ,
I just wanted to take a look at your project, but when I try to build the image with:
docker build -t plesk/plesk:12.5 .
I am presented with the following error:
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 12472 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.5_5.5.46-0ubuntu0.14.04.2_amd64.deb ...
chfn: PAM: System error
adduser: `/usr/bin/chfn -f MySQL Server mysql' returned error code 1. Exiting.
dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.46-0ubuntu0.14.04.2_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.5.46-0ubuntu0.14.04.2_all.deb ...
Unpacking mysql-server (5.5.46-0ubuntu0.14.04.2) ...
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.5_5.5.46-0ubuntu0.14.04.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
2015/11/17 16:29:54 The command [/bin/sh -c apt-get update && apt-get install -y wget && wget -q -O /root/ai http://autoinstall.plesk.com/plesk-installer && bash /root/ai --select-product-id=plesk --select-release-id=PLESK_12_5_30 --install-component panel --install-component phpgroup --install-component web-hosting --install-component mod_fcgid --install-component proftpd --install-component webservers --install-component nginx --install-component mysqlgroup --install-component php5.6 --install-component l10n --install-component heavy-metal-skin && plesk bin init_conf --init -email [email protected] -passwd changeme -hostname-not-required && plesk bin license -i A00S00-CKXS03-EY4741-R57B10-GT1984 && plesk bin settings --set admin_info_not_required=true && plesk bin poweruser --off && plesk bin cloning -u -prepare-public-image true -reset-license false -reset-init-conf false -skip-update true && plesk bin ipmanage --auto-remap-ip-addresses true && apt-get clean && rm -rf /root/ai /root/parallels] returned a non-zero code: 1
Can I provide you with more information, in case it helps?
Thanks.
Hey,
I am Morsalin from easy digital. I want to provide High Availability Cloud Hosting services with Kubernetes,
Plesk Docker. Is it possible to do?
On a fresh build of plesk/plesk I'm getting "ERR [1] Token validation failed: The license key 'PLSK.04122247' is not active. To purchase a new license key, please visit <https://www
.plesk.com/plans-pricing/>" when trying to run it.
I wanted to propose a pull request for an image based on ubuntu 22 LTS, but the license key provided in the README.md does not work:
plesk bin settings --set admin_info_not_required=true
he license key is invalid. In order to use Plesk, please obtain and install a new valid license key.
The license key is intended only for use with Plesk operating inside the following virtual environments: Virtuozzo containers, VMWare, Microsoft Hyper-V, Xen, KVM, Virtuozzo Server, LXC, Docker.exit status 1
Error logs below:
The changes were applied successfully.
[2019-07-09 11:39:31.904] ERR [panel] No such file or directory
[2019-07-09 11:39:50.579] ERR [panel] No such file or directory
[2019-07-09 11:39:58.483] ERR [panel] No such file or directory
SUCCESS: Plesk initialization is completed.
Command -i requires parameters
Command -i requires parameters
exit status 1
The command '/bin/sh -c apt-get update && apt-get install -y wget libicu60 tzdata && wget -q -O /root/ai http://autoinstall.plesk.com/plesk-installer && bash /root/ai --all-versions --select-product-id=plesk --select-release-latest --tier testing --install-component panel --install-component phpgroup --install-component web-hosting --install-component mod_fcgid --install-component proftpd --install-component webservers --install-component nginx --install-component mysqlgroup --install-component php5.6 --install-component php7.2 --install-component l10n --install-component heavy-metal-skin --install-component git --install-component passenger --install-component ruby --install-component nodejs --install-component wp-toolkit && plesk bin init_conf --init -email [email protected] -passwd changeme -hostname-not-required && plesk bin license -i $LICENSE && plesk bin settings --set admin_info_not_required=true && plesk bin poweruser --off && plesk bin extension --install-url https://github.com/plesk/ext-default-login/releases/download/1.0-1/default-login-1.0-1.zip && plesk bin cloning -u -prepare-public-image true -reset-license false -reset-init-conf false -skip-update true && plesk bin ipmanage --auto-remap-ip-addresses true && echo DOCKER > /usr/local/psa/var/cloud_id && touch /root/set_admin_password && apt-get clean && rm -rf /root/ai /root/parallels' returned a non-zero code: 1
v1.7.8-gke.0
running on Google Container engine.apiVersion: v1
kind: Service
metadata:
name: plesk
labels:
app: plesk
spec:
selector:
app: plesk
ports:
- port: 8880
targetPort: port-8880
name: port-8880
- port: 21
targetPort: port-21
name: port-21
- port: 80
targetPort: port-80
name: port-80
- port: 443
targetPort: port-443
name: port-443
- port: 8443
targetPort: port-8443
name: port-8443
- port: 8447
targetPort: port-8447
name: port-8447
type: LoadBalancer
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: plesk
spec:
replicas: 1
progressDeadlineSeconds: 300
template:
metadata:
labels:
app: plesk
spec:
containers:
- name: plesk
image: plesk/plesk
ports:
- name: port-8880
containerPort: 8880
- name: port-21
containerPort: 21
- name: port-80
containerPort: 80
- name: port-443
containerPort: 443
- name: port-8443
containerPort: 8443
- name: port-8447
containerPort: 8447
find /var/lib/mysql -type f -exec touch {} \;
after exec in the pods.
- Sync IP addresses between Plesk and OS. For that go to Tools & Settings > IP Addresses > Reread IP
- Select Repair to fix missing IP in the interface or Remove if it is no longer required.
- Enable nginx service:
# /usr/local/psa/admin/bin/nginxmng -e
repair
, it's showing me following errorError: ifmng failed: Execution of /sbin/ip addr add 172.17.0.3/255.255.0.0 dev eth0 label eth0:1 failed with return code 2. Stderr is RTNETLINK answers: Operation not permitted
The issue I am facing is that plesk redirect me to login page after few second of browsing on plesk dashboard.
This issues never came when I ran the same on my Ubuntu 16.04 Host machine using plain docker. using following command
docker run -d -P plesk/plesk
I'm trying to create a container based on the Plesk docker image, as our code base is heavily dependent on Plesk. I get an error when I try to call "plesk bin subscription --create" in my docker file :
FROM plesk/plesk:latest
# setup environment
RUN plesk bin subscription --create mydomain.local \
-service-plan "Default Domain" \
-ip 172.17.0.2 \
-login myuser \
-passwd "supers3cret"
DB query failed: SQLSTATE[HY000] [2002] No such file or directory
exit status 1
If I use a fresh Plesk container and execute it from the terminal within the container, it yields a few errors but seems to work :
root@d2313bc16ebf:/# plesk bin subscription --create mydomain.local -service-plan "Default Domain" -ip 172.17.0.2 -login myuser -passwd "supers3cret"
SUCCESS: Creation of domain 'mydomain.local' completed.
[2020-06-08 20:03:40.337] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/phpinimng' '--type' 'fpm' '--service' 'plesk-php73-fpm' '--poold' '/opt/plesk/php/7.3/etc/php-fpm.d' '--restart'] with exit code [1]
[2020-06-08 20:03:40.873] ERR [panel] Remove PHP-FPM config for mydomain.local due to service failure: phpinimng failed: invoke-rc.d: unknown initscript, /etc/init.d/plesk-php73-fpm not found.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: emulating initscript action "status", returning "unknown"
Don't know how to detect if 'plesk-php73-fpm' service is registered on Ubuntu 18.04
[2020-06-08 20:03:41.096] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/phpinimng' '--type' 'fpm' '--virtual-host' 'mydomain.local' '--service' 'plesk-php73-fpm' '--poold' '/opt/plesk/php/7.3/etc/php-fpm.d' '--remove'] with exit code [1]
PHP Fatal error: Uncaught PleskUtilException: phpinimng failed: invoke-rc.d: unknown initscript, /etc/init.d/plesk-php73-fpm not found.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: emulating initscript action "status", returning "unknown"
Don't know how to detect if 'plesk-php73-fpm' service is registered on Ubuntu 18.04 in /opt/psa/admin/plib/Service/Agent.php:196
Stack trace:
#0 /opt/psa/admin/plib/PHosting/Apache.php(611): Service_Agent->execAndGetResponse('phpinimng', Array)
#1 /opt/psa/admin/plib/PHosting/Apache.php(579): PHosting_Apache->deletePhpFpmConfiguration('mydomain....', Array)
#2 [internal function]: PHosting_Apache->restartPhpFpmBatch()
#3 {main}
thrown in /opt/psa/admin/plib/Service/Agent.php on line 196
exit status 255
When I follow the documentation to get a test container going, I end up with:
docker run -it --tmpfs /tmp --tmpfs /run --tmpfs /run/lock -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 80:80 -p 443:443 -p 8880:8880 -p 8443:8443 -p 8447:8447 plesk/plesk
systemd 245.4-4ubuntu3.23 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
Detected virtualization docker.
Detected architecture x86-64.
Welcome to Ubuntu 20.04.6 LTS!
Set hostname to <d8abe117f0a4>.
Failed to create /init.scope control group: Read-only file system
Failed to allocate manager object: Read-only file system
[!!!!!!] Failed to allocate manager object.
Exiting PID 1...
Not sure why MySQL wouldn't start on a a brand new docker image... any help would be appreciated...
docker run -d -p 8000:80 -p 4430:443 -p 8880:8880 -p 8443:8443 -p 8447:8447 plesk/plesk:preview
sshing into the image I get
root@3cb1981a90a0:/# service mysqld status
mysqld: unrecognized service
root@3cb1981a90a0:/# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
This is a brand new image, fresh install of docker...
ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory
Additionally, an exception has occurred while trying to report this error: Zend_Exception
No entry is registered for key 'translate' (Abstract.php:144)
Search for related Knowledge Base articles
ERROR: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:dbname=ps...', 'admin', '$AES-128-CBC$og...', Array) #1 /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Db/Adapter/Abstract.php(460): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /opt/psa/admin/plib/vendor/plesk/zendframework/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select param, v...', Array) #4 /opt/psa/admin/plib/Db/Adapter/Pdo/Mysql.php(30): Zend_Db_Adapter_Pdo_Abstract->query('select param, v...', Array) #5 /opt/psa/admin/plib/db.php(36): Db_Adapter_Pdo_Mysql->query('select param, v...') #6 /opt/psa/admin/plib/db.php(212): db_quer (Abstract.php:144)
Search for related Knowledge Base articles
Plesk run with docker -> Ok
Extension page find docker -> Ok
Installing Docker extension starts but does not complete.
Any idea?
* Starting MariaDB database server mysqld,
...done.,
Operation completed successfullyDatabase: [<172.17.0.42>] ,
Actual: [<172.17.0.3>] ,
Removed IPs: [<172.17.0.42>] [] ,
Added IPs: [<172.17.0.3>] [] ,
Mapping: {<172.17.0.42>: <172.17.0.3>} ,
Old not remapped: [] ,
New not used: [] ,
Generating DB update script... ,
ok ,
Updating database... ,
ok ,
Reconfiguring Apache... ,
ok ,
Reconfiguring Proftpd... ,
ok ,
Refresh trusted IPs for site preview ,
ok ,
IP addresses are successfully changed. ,
Resetting instance-specific settings...,
Generating new GUIDs for BL entities...,
Generating new passwords...,
Generating new admin password...,
Removing additional administrators...,
Generating new APS controller password...,
Generating new phpMyAdmin password...,
Generating new certificates...,
Creating default certificate backup...,
Updating default certificate...,
Updating Courier-IMAP certificates...,
Updating Dovecot certificate...,
Removing default certificate backup...,
Randomizing cron tasks execution time shifts...,
Enabling initial configuration screens on next admin login...,
Reset owner id...,
Reset upgrade history...,
Reset statistics...,
Reset one-ltime logins...,
Reloading services configuration...,
Reconfiguring Webservers...,
Reconfiguring mailserver...,�,
d,
The Plesk administrator's password was successfully updated.,
ERROR:systemctl: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!,
ERROR:systemctl: Oops, 2 unsupported directory settings. You need to create those before using the service.,
ERROR:systemctl: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!,
Log files: /var/log/maillog /var/log/sw-cp-server/error_log /var/log/plesk/httpsd_access_log /var/log/plesk/panel.log,
==> /var/log/sw-cp-server/error_log <==,
,
==> /var/log/plesk/httpsd_access_log <==,
,
==> /var/log/plesk/panel.log <==,
[2020-10-05 10:45:48.965] ERR [panel] Failed to listen on Unix domain socket "unix:///run/plesk-web-socket/ws.sock": Unknown error:,
0: /opt/psa/admin/plib/vendor/react/socket/src/UnixServer.php:75,
React\Socket\UnixServer->__construct(string 'unix:///run/plesk-web-socket/ws.sock', object of type React\EventLoop\StreamSelectLoop, array),
1: /opt/psa/admin/plib/vendor/react/socket/src/Server.php:34,
React\Socket\Server->__construct(string 'unix:///run/plesk-web-socket/ws.sock', object of type React\EventLoop\StreamSelectLoop),
2: /opt/psa/admin/plib/WebSocket/SocketServerFactory.php:17,
Plesk\WebSocket\SocketServerFactory->createServer(string 'unix:///run/plesk-web-socket/ws.sock', object of type React\EventLoop\StreamSelectLoop),
3: /opt/psa/admin/plib/WebSocket/WebSocket.php:35,
Plesk\WebSocket\WebSocket->createServer(object of type React\EventLoop\StreamSelectLoop),
4: /opt/psa/admin/plib/WebSocket/bin/ws-server.php:16,
[2020-10-05 10:45:48.966] ERR [panel] Failed to listen on Unix domain socket "unix:///run/plesk-web-socket/ws.sock": Unknown error,
[2020-10-05 10:48:04.644] ERR [panel] No such file or directory,
[2020-10-05 10:48:47.330] ERR [panel] No such file or directory,
[2020-10-05 10:48:47.337] ERR [panel] No such file or directory,
[2020-10-05 10:48:47.839] ERR [panel] No such file or directory,
[2020-10-05 10:48:47.848] ERR [panel] No such file or directory,
[2020-10-05 10:48:47.864] ERR [panel] No such file or directory,
[2020-10-05 10:48:47.905] ERR [panel] No such file or directory,
tail: cannot open '/var/log/maillog' for reading: No such file or directory,
[2020-10-11 18:34:17.021] ERR [extension/wp-toolkit] Unable to retrieve data by "https://api.wordpress.org/core/version-check/1.7/",
[2020-10-11 18:34:32.051] ERR [extension/wp-toolkit] Unable to retrieve data by "https://api.wordpress.org/core/version-check/1.7/",
[2020-10-11 18:34:47.089] ERR [extension/wp-toolkit] Unable to retrieve data by "https://api.wordpress.org/plugins/info/1.1/?action=query_plugins&request[page]=1&request[per_page]=40&request[browse]=popular&request[fields][description]=0&request[fields][short_description]=1",
[2020-10-11 18:35:02.133] ERR [extension/wp-toolkit] Unable to retrieve data by "https://api.wordpress.org/themes/info/1.1/?action=query_themes&request[page]=1&request[per_page]=40&request[browse]=popular&request[fields][downloaded]=1",
Company field is optional on ClientRequest model while its required on Client model and that brakes client that was autogenerated using Nswag
-- invalid --
PHP Startup: Unable to load dynamic library 'kolabicalendar.so' (tried: /opt/plesk/php/7.4/lib/php/modules/kolabicalendar.so (/opt/plesk/php/7.4/lib/php/modules/kolabicalendar.so: cannot open shared object file: No such file or directory), /opt/plesk/php/7.4/lib/php/modules/kolabicalendar.so.so (/opt/plesk/php/7.4/lib/php/modules/kolabicalendar.so.so: cannot open shared object file: No such file or directory))
@ALL anybody why is issue occurs. I am not using Roundcube
Hi,
is it possible to put persistent data?
If yes, how ?
thank you in advance
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
50d44ecf995e plesk/plesk:latest "/bin/sh -c /run.sh" About a minute ago Up About a minute 0.0.0.0:32786->21/tcp, 0.0.0.0:32785->80/tcp, 0.0.0.0:32784->8880/tcp admiring_mcclintock
$ curl -vv https://192.168.99.101:32784
* Rebuilt URL to: https://192.168.99.101:32784/
* Trying 192.168.99.101...
* Connected to 192.168.99.101 (192.168.99.101) port 32784 (#0)
* WARNING: using IP address, SNI is being disabled by the OS.
* Unknown SSL protocol error in connection to 192.168.99.101:-9847
* Closing connection 0
curl: (35) Unknown SSL protocol error in connection to 192.168.99.101:-9847
Hi, I've disclosured a vunerability about open redirect on plesk version 17.8 and previous versions.
Whenever a user access the url https://trusted-plesk-url.com:8443/enterprise/rsession_init.php?failure_redirect_url=https://attacker.com
, it would be redirected to the url https://attacker.com
.
POC:
$ curl -I https://trusted-plesk-url.com:8443/enterprise/rsession_init.php?failure_redirect_url=https://attacker.com --insecure
HTTP/1.1 303 See Other
Server: sw-cp-server
Date: Sun, 30 Sep 2018 04:50:10 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Expires: Fri, 28 May 1999 00:00:00 GMT
Last-Modified: Sun, 30 Sep 2018 04:50:10 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
P3P: CP="NON COR CURa ADMa OUR NOR UNI COM NAV STA"
Set-Cookie: PLESKSESSID=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
Location: https://attacker.com
This issue has warned in your documents. But, by default, this feature isn't configured and web applications and users could be involved.
Affect:
This issue can cause potential phishing attacks when attackers can modify trusted URL input to malicious sites, and they may successfully launch a phishing scam and steal user credentials.
Recommend:
This feature MUST be configured following document . This is COMPULSORY step that could enhance security for web applications and users.
P/S: sorry for my bad english.
I tried different commands of this image with different OS, but it doesn't works for me with Debian bookworm 5.19.
When I checked the logs it doesn't show anything except this one: No log line matching the '' filter
It works for me with other OS and local Docker Desktop.
The Plesk instance has been deployed from the Docker image and updated to the latest version (18.0.27.0).
An SSL certificate (from Let's Encrypt) was set up to secure Plesk panel as per the following instruction: How to secure a Plesk hostname on port 8443 with an SSL certificate (Let's Encrypt / other certificate authorities) but Plesk returns page subdomain.examample.com:8443 (subdomain.examample.com is the hostname) with a default certificate anyway.
At the same time, the domain examample.com has been successfully secured via Let's Encrypt certificate and served correctly.
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: plesk-deployment
labels:
app: plesk
spec:
replicas: 2
selector:
matchLabels:
app: plesk
template:
metadata:
labels:
app: plesk
spec:
containers:
- name: plesk
image: gcr.io/gcp-tech/plesk:version1
# imagePullPolicy: Always
securityContext:
privileged: true
ports:
- containerPort: 8880
volumeMounts:
- mountPath: /sys/fs/cgroup
name: cgroup
readOnly: true
- mountPath: /tmp
name: tmpfs
- mountPath: /run
name: tmpfs
- mountPath: /run/lock
name: tmpfs
volumes:
- name: tmpfs
emptyDir: {}
- name: cgroup
hostPath:
path: "/sys/fs/cgroup"
type: Directory
---
apiVersion: v1
kind: Service
metadata:
name: plesk-Service
spec:
selector:
app: plesk
ports:
- protocol: TCP
port: 8880
targetPort: 8880
type: LoadBalancer```
I have forked the Plesk PHP SDK because I needed some updates done to it and also wanted to automate the tests, the test suite was a good start and runs great after some adjustments. However I'm hitting a snag...
PleskX\Api\Exception: The license key is invalid. In order to use Plesk, please obtain and install a new valid license key.
Your license key has expired. To continue using your Plesk, you must purchase a non-expiring commercial license key.
I assumed that creating a new container would create a new 7 day license but either the CI I am using is caching a bit to much or Plesk is somehow tracking the license in other ways.
Would love to know if this is somehow doable because I really like having the tests running 👍
Full log: https://drone.alboweb.nl/stayallive/plesk-php-api/41
Project: https://github.com/stayallive/plesk-php-api
I run Plesk latest version with this command
sudo docker run -d -p 80:80 -p 443:443 -p 2082:8880 -p 2083:8443 -p 8447:8447 plesk/plesk
responded
port 2082 2083 8447 is open but 80 and 443 is close
Control on validity of ambient vars seems to be too strict. For example, LC_CTYPE issues a warning because it contains an underscore. Should this check be relaxed? Many images issue this warning.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.