rejetto / hfs

HFS is a web file server to run on your computer. Share folders or even a single file thanks to the virtual file system.
GNU General Public License v3.0
2.29k stars 227 forks source link

HFS not running in Linux (Alpine) #276

Closed MadScienzzz closed 1 year ago

MadScienzzz commented 1 year ago

Spun up a VM in proxmox (Alpine Linux) Downloaded latest version as zip (wget) Unzipped cd to HFS directory confirmed HFS exe had execute permission ran ./hfs result: -ash: ./hfs: not found

BussyBakks commented 1 year ago

if you use .exe file in linux, you should have wine package to run .exe file

rejetto commented 1 year ago

I don't know/use linux, I just do some testing on ubuntu, where it seems to work. Maybe the binary is not compatible with Alpine. My suggestion is that you don't use the binary at all, with these simple instructions https://github.com/rejetto/hfs#other-systems

asd0109 commented 1 year ago

is very very nice in 0.47.0-alpha3 , i can use hfs on my ubuntu server 20.04.6 LTS .

rejetto commented 1 year ago

I just tried to run node:18-alpine entered the shell with docker run -p 8000:80 -it --rm node:18-alpine sh the run npx -y hfs and it runs. now I can just browse on my computer on address http://localhost:8000 so, apparently there's no problem with Alpine. I'm closing until more information is provided.