lms icon indicating copy to clipboard operation
lms copied to clipboard

Self deploy without docker, process started, but not app route

Open ray1888 opened this issue 1 year ago • 4 comments

Describe the bug Self deploy without docker, process started, but not app route

To Reproduce Steps to reproduce the behavior:

  1. install the freapp-bench with pip3
  2. bench start
  3. follow readme command
bench new-site lms.test
bench get-app lms
bench --site lms.test install-app lms
bench --site lms.test add-to-hosts
  1. See error

Expected behavior can go into the lms system as readme show

Screenshots 1681983095073

Server Log 1681983110505

Desktop (please complete the following information):

  • OS: Ubuntu 20.04 LTS
  • Browser chrome
  • Version 112.0.5615.122 (Official Build) (64-bit)

Additional context Nothing

ray1888 avatar Apr 20 '23 09:04 ray1888

i deploy it on my homelab server, but i try to use wget in server with lms.test domain , it can get an html file, so how can i request from other client (like my laptop)?

server wget itself screenshot, it can get with lms.test by add-to-host 1681989989040

laptop chrome: still can't access to it. my homelab server ip is 192.168.3.10( private network) 1681990045736

ray1888 avatar Apr 20 '23 11:04 ray1888

@ray1888 the name of your site is lms.test right?

Did you add the site to the hosts' file? Try the command mentioned below.

bench --site lms.test add-to-hosts

Once this is done, open the browser and visit lms.test:8000. The website should open up from there.

pateljannat avatar Apr 21 '23 03:04 pateljannat

@pateljannat already add at my homelab server, but the command you mention is add a host to 127.0.0.1 as lms.test domain. but i need to test the system throught the lan. add host lms.test as localhost of homelab server is not meet up with my requirement. maybe i think the question is how can i add host 192.168.3.10 as lms.test, because currently only homelab server itself can refer as lms.test

ray1888 avatar Apr 21 '23 03:04 ray1888

@pateljannat i still can't get it access from my desktop, what should i do to fix it?

ray1888 avatar Apr 24 '23 03:04 ray1888