Troubleshooting CyberPanel Upgrade

How to fix issues for CyberPanel upgrade

Updated 2 weeks ago

/tmp file permissions

During the CyberPanel upgrade, you may encounter an error related to file permissions:

error: [Errno 13] Permission denied: '/tmp/pip-build-v7_dcwz_/pynacl/src/libsodium/configure'
CyberPanel upgrade terminal shows Permission denied error for pynacl libsodium configure

In such cases, you must check to see if the /tmp directory is mounted with noexec by running the following command from a command window:

mount | grep /tmp

You will see the results:

Linux terminal showing /tmp mounted as tmpfs and ext4 on /var/tmp during CyberPanel troubleshooting

If noexec is present, edit /etc/fstab as root and remove noexec from the mount options of /tmp.
Reboot the system or run the following command

mount -o remount /tmp

After these changes, the CyberPanel upgrade should succeed.