Admin Panel not open on linuxmint
Closed this issue · 20 comments
root@akai:~# npx hfs
04:50:03 HFS ~ HTTP File Server
04:50:03 © Massimo Melina a@rejetto.com - License https://www.gnu.org/licenses/gpl-3.0.txt
04:50:03 started 10/15/2024, 4:50:03 AM
04:50:03 version 0.53.1
04:50:03 build 2024-09-28T16:00:41.759Z
04:50:03 cwd /root/.hfs
04:50:03 app /root/.npm/_npx/d99544b1c5641eb5/node_modules/hfs
04:50:03 node v18.19.1
04:50:03 platform linux x64
04:50:03 pid 75253
04:50:03 config config.yaml
04:50:03 HINT: type "help" for help
04:50:04 http serving on any network : 80
04:50:04 serving on http://192.168.1.10
04:50:05 loading plugin antibrute
i can't install linux mint to make a test, and this is too little information to work on.
you say admin-panel doesn't open.
it's not clear if you meant that it doesn't open automatically (as it should by default), or even manually.
is your linux a VPS? is it a docker container?
Yes It doesn't open automatically (as it should by default)
But if I open manually in browser it's working
http://localhost/~/admin/
I am using on my pc Linux mint 22 Wilma
can you please run npx hfs@exp
and tell me if it fixes the problem?
i don't understand how that is possible.
how is your home folder configured in the VFS?
If we do manually edit configure config.yaml and do some changes.
Can we do this?
i don't understand what you mean.
can you publish a screenshot of your Admin-panel > Shared-files ?
or paste here what's in your config.yaml (removing any sensible information)
@rejetto Hii
Hfs 0.53.1 is working fine but that it doesn't open automatically (as it should by default)
But if I open manually in browser it's working
http://localhost/~/admin/
config.yaml..........
version: 0.53.1
enable_plugins:
- antibrute
- download-counter
- list-uploader
vfs:
children:
- source: /media/baba/Curcial/WordPress Development and Freelancing Course.zip
Another one thing my ISP didnt provide static ip address for port forwarding so i can share file only my network, not all over Network, so mood cut OFF,
I am appreciated As your hard work and afford , but i can use it its purely full benefits.
Thanks for support
thanks for the additional information.
please, if you want to ask about port forwarding, open a different issue/discussion.
i still can't find an explanation for the errors you've found running hfs@exp. I tried on my ubuntu machine, and i can't see anything like that.
i will make an attempt installing linux mint in a VM, but without much hope.
can you make an attempt and run npx hfs@beta
?
i can't run linux mint as my cpu is arm, and mint doesn't support it
@rejetto Hii
version: 0.54.0-rc9 beta
Config.yaml......
version: 0.54.0-rc9
enable_plugins:
- antibrute
- download-counter
- list-uploader
vfs:
children: []
can_see: true
can_read: true
can_list:
- baba
can_upload:
this:
- baba
children:
- baba
can_delete:
this:
- baba
children:
- baba
can_archive: true
source: /root
accounts:
baba:
admin: true
ignore_limits: true
srp: 27488716086045005488877264233683402412903047869680472254853060398685144970886984629264626418683031223806584436315589116684133588619955025388511226477707658236549986791076458132664603042201795487513535268220182820290320441602168191120021644409873756706912596806413675301583600685934967358463123076173791684507|14769368508882528778812987204304171022008645465919954044899204569320222124418274684242034876536344848381940103460942040980587491477504016973745213190162836387695096323334713987901392114796002330968600744528268923057759983464287193407991625624583446718285170924769433529994375081743116772101311111308017034396174090931973295773638864652107573249124046151492936152548295021073622795439053234124648043017729329399340429523796906234690932047873968547643553692973380375587665106905415668135135148299804901044499850714693520108210418012682508084872210435494739306371154494495035619488065551640029557839680969837382507159129
base_url: http://192.168.1.10
can you tell me if you have these problems with npx hfs
too? 0.53
i tried to copy your same config on my ubuntu, and i have no problem. Even if I try hard, i can't find a way to reproduce those problems. Several people use it on Ubuntu, so it seems to be only related to Mint (or your system), which I cannot test as it doesn't run on my CPU.
can you tell me if you have these problems with
npx hfs
too? 0.53i tried to copy your same config on my ubuntu, and i have no problem. Even if I try hard, i can't find a way to reproduce those problems. Several people use it on Ubuntu, so it seems to be only related to Mint (or your system), which I cannot test as it doesn't run on my CPU.
Yes its working smooth version 0.53.1
only one issue It doesn't open Admin-panel automatically (as it should by default)
onething its my request can you do work for hfs Deploy on Vercel or other platform....Oracle Cloud
Benefits:-
1- No portforwarding needed
2- we can use our custom domain
3- No SSL Certificate needed
4- User friendly
there's a lot of work for me to do on HFS, I don't think i can pause it to spend time on Vercel at the moment. Maybe someone else could.
so, problems started with 0.54, but we don't know exactly when.
can you try npx hfs@0.54.0-alpha4
?
there's a lot of work for me to do on HFS, I don't think i can pause it to spend time on Vercel at the moment. Maybe someone else could.
so, problems started with 0.54, but we don't know exactly when. can you try
npx hfs@0.54.0-alpha4
?
Dont worry i will help you for testing HFS version Result
request for close/delete this issue/discussion. #775 post
Config.yaml:
version: 0.54.0-alpha4
vfs:
children:
- source: /home/baba/Downloads
enable_plugins:
- antibrute
- download-counter
- list-uploader
Debug.log:
10/18/2024, 2:46:58 AM: uncaught: TypeError: Cannot read properties of undefined (reading '0')
10/18/2024, 2:48:27 AM: uncaught: TypeError: Cannot read properties of undefined (reading '0')
thanks for your test!
ok, that "reading 0" error is known and fixed in rc7.
other than that, i don't see other problems you had with rc9.
can you try npx hfs@0.54.0-rc7
?
i don't use matrix.
i'm creating an account and sending you a message, but i won't install a client, as I already have too many. 🫠
you can also find me as "rejetto" on telegram, but communicating here is good for me.
i've just found and fixed the "isDirectory" problem of version 0.55
@Akai-Abd since you solved, can you share your solution here for other people who may have your same problem?
The issue is encountering likely occurs because port 80 (the default HTTP port) requires elevated permissions (root or sudo access) on Linux systems. By default, non-root users cannot bind processes to ports below 1024, including port 80.
so use port above from 1024
ex:1080............