DanWin/hosting

unzip not work in FileMnager

sergrych opened this issue · 5 comments

mkdir- work
mkfile - work
rename - work
delete - work
unzip -no work

help what to check?

DEAM0 commented

sudo apt-get install unzip

sudo apt-get install unzip

no, unzip installed

DEAM0 commented

yeah not work for me too

do
export PATH=$PATH:/usr/sbin
or
sh -c 'echo "export PATH=$PATH:/usr/sbin" >> ~/.bashrc'

The file manager issues an unzip command to the chrooted user directory. Some systems have a symlink for /bin and /lib, which previously caused issues when creating the chroot. If that is the case for you, it most likely is the issue you are experiencing. This is fixed in 07b2fd0. When you have applied the latest changes, simply set SKIP_USER_CHROOT_UPDATE = false; in common.php and re-run the setup.php script, which will then update all user chroots. (This will take some time)
I think this is likely the cause, so I'm closing this issue. If you still have an issue with unzip after applying the change, feel free to re-open.