--- hide_table_of_contents: true --- # 0.2.4 Not yet released. ### 🚀 New features - [cPanel 2 OpenPanel importer](#cpanel-importer) - [opencli domains-add](#opencli-domains-add) - `opencli php-ioncube` - enable IonCube Loader extension for all installed PHP versions ### 🐛 Bug fixes - Fixed error [Unable to create csf UI temp file: 'utf-8' codec can't decode byte 0xa9 in position 1422: invalid start byte](https://github.com/stefanpejcic/OpenPanel/issues/152) - Fixed error [Error executing command opencli user-change_plan : Error: Unable to fetch limits for the new plan](https://community.openpanel.co/d/79-an-error-occurred-while-attempting-to-upgrade-the-hosting-plan) - Fixed bug with [MySQL for users not auto-starting after server reboot](https://community.openpanel.co/d/77-bug-mysql-for-users-not-auto-starting-after-server-reboot) - Fixed bug with the certbot schedule failing to run SSL renewals - Fixed bug with display of website favicons from https://t1.gstatic.com/ and https://t2.gstatic.com/ on OpenPanel > Site manager - Fixed 500 error on OpenPanel > Dashboard for accounts imported from cpanel, caused by parsing .lastlogin file from cpanel. ### 💅 Polish - Brand name on OpenPanel menu is now centered ### cPanel Importer Import cPanel accounts from backup. Step 1. Create a cPanel account backup ![cpanel backup wizard](https://i.postimg.cc/q7MbhszY/1.png) Step 2. Transfer the generated backup to your server Step 3. Start import from OpenPanel Navigate to OpenAdmin > Users and click on 'Import User' tab. ![import cpanel bakcup in openpanel](https://i.postimg.cc/MGPsynBG/2.png) Insert full path to the cp backup archive, select a plan to use for that user and click on 'Import from Backup'. Step 4. Wait for the process to complete ![import progress in openpanel](https://i.postimg.cc/YCxDCnqY/3.png) ### opencli domains-add New command is available to add a domain to user from the terminal: ```bash opencli domains-add ``` Example: ```bash opencli domains-add stefan pejcic.rs ``` Note: this command will add a domain for user regardless of their domains limit. ### opencli user-disk New command is available to list real-time disk and inodes usage for a user: ```bash opencli user-disk [--json] ``` Example usage: - Disk usage summary for user: ```bash # opencli user-disk proba summary -------------- disk usage -------------- - 564M /home/proba - 864M /var/lib/docker/devicemapper/mnt/ac28d2b066f5ffcacf4510b042623f6a3c196bd4f5fb9e842063c5325e4d0184 ``` ```bash # opencli user-disk proba summary --json {"home_directory_usage": "564564", "docker_container_usage": "883864", "home_path": "/home/proba", "docker_path": "/var/lib/docker/devicemapper/mnt/ac28d2b066f5ffcacf4510b042623f6a3c196bd4f5fb9e842063c5325e4d0184"} ``` - Detailed disk usage report for user: ```bash # opencli user-disk proba detail ------------- home directory ------------- - home directory: /home/proba - mountpoint: /home/proba - bytes used: 61440 - bytes total: 10375548928 - bytes limit: true - inodes used: 20 - inodes total: 1000960 ---------------- container --------------- - container directory: /var/lib/docker/devicemapper/mnt/ac28d2b066f5ffcacf4510b042623f6a3c196bd4f5fb9e842063c5325e4d0184 - bytes used: 1025388544 - bytes total: 10726932480 - inodes used: 20905 - inodes total: 5242880 - storage driver: devicemapper ``` ```bash # opencli user-disk proba detail --json { "user": "proba", "home": { "path": "/home/proba", "bytes_used": "61440", "bytes_total": "10375548928", "bytes_limit": true, "inodes_used": "20", "inodes_total": "1000960" }, "container": { "path": "/var/lib/docker/devicemapper/mnt/ac28d2b066f5ffcacf4510b042623f6a3c196bd4f5fb9e842063c5325e4d0184", "storage_driver": "devicemapper", "bytes_used": "1025388544", "bytes_total": "10726932480", "inodes_used": "20905", "inodes_total": "5242880" } } ``` - Paths for user: ```bash # opencli user-disk proba path -------------- paths -------------- - home_directory=/home/proba - docker_container_path=/var/lib/docker/devicemapper/mnt/ac28d2b066f5ffcacf4510b042623f6a3c196bd4f5fb9e842063c5325e4d0184 ``` ```bash # opencli user-disk proba path --json {"home_directory": "/home/proba","docker_container_path": "/var/lib/docker/devicemapper/mnt/ac28d2b066f5ffcacf4510b042623f6a3c196bd4f5fb9e842063c5325e4d0184"} ```