DanWin / hosting

This is a setup for a Tor based shared web hosting server
https://danwin1210.de/hosting/
GNU General Public License v3.0
347 stars 123 forks source link

unzip not work in FileMnager #125

Closed sergrych closed 2 years ago

sergrych commented 2 years ago

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

help what to check?

DEAM0 commented 2 years ago

sudo apt-get install unzip

sergrych commented 2 years ago

sudo apt-get install unzip

no, unzip installed

DEAM0 commented 2 years ago

yeah not work for me too

sergrych commented 2 years ago

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

DanWin commented 2 years ago

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 07b2fd0650cf8f2b3548b5303fd9ff52a829b55d. 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.