Released on May 23, 2024
opencli docker
commandsFatal glibc error: CPU does not support x86-64-v2
413 Request Entity Too Large
opencli ssl-hostname
script now tries to restart all required services if any are failed.opencli php-install_php_version
now also sets limits for the php-cli ini--version=0.1.8
jq
is no longer added on OpenPanel installation, instead only if/when needed by OpenCLI--version=
--post_install=
--skip-apt-update
--enable-ftp
--ips
Administrators now have the ability to set the maximum percentage of CPU and Memory resources that all Docker containers combined can utilize on the server.
By default, this setting is configured to 90%, safeguarding against Docker monopolizing 100% of available resources and rendering the server inaccessible.
Please note: Memory usage is saved in gigabytes (GB), not as a percentage. Therefore, if the server's RAM is increased, the memory allocation settings will need to be adjusted accordingly.
Composer command is now available in both openpanel/nginx and openpanel/apache docker images.
Administrators can now grant root-level (sudo) permissions to users inside their docker containers.
Check current sudo status:
opencli user-sudo USERNAME status
Grant sudo privilegies:
opencli user-sudo USERNAME enable
Remove sudo privilegies:
opencli user-sudo USERNAME disable
GoAccess is no longer directly installed on the server; instead, it runs as a Docker container when necessary. This setup ensures that resources are utilized only when required and prevents any utilization of system services during idle periods. When collecting domain statistics, one container is initiated per domain name.
You can disable individual user accounts from all backup jobs by including them in the file usr/local/admin/scripts/helpers/excluded_from_backups.txt
.
Several new OpenCLI commands are now available to manage the Docker service:
To collect docker resource usage information (cpu, ram, i/o) for all users:
opencli docker-collect_stats
Set global docker limits (ram and cpu) for all containers combined.
opencli docker-limits [--apply | --read]
Download official docker images for OpenPanel:
opencli docker-update_images
Rotate resource usage logs for all users according to the resource_usage_retention setting.
opencli docker-usage_stats_cleanup