First site with Frappe Manager

Hi

I have installed Frappe manager on a local Ubuntu 24 server and installed docker.

All went well

Created a site : fm create test15a erpnext:version-15

All seem to go well and at the end all the access URLs and passwords were reported

in table-format.

When I log on to the server via putty and start a CLI-browser : lynx http://test15a.localhost

I can see that it renders a text version of the Frappe login page.

The problem..

I have tried manyoptions to access the server from my Desktop..

http://test15a.localhost

or

http://test15a.localhost:8000

This after configuring

1.2.3.4     test15a.localhost

in the Desktop hosts file

Al lI get is ā€œsuccessā€ in the top left corner but the page does not render.

Would appreciate soem guidance

Hi @trainingacademy
Try this first
curl -I http://test15a.localhost
if at the top of the response you get HTTP/1.1 200 OK the site can be reached via nginx
if there is an error paste it into AI and hopefully it can help you solve your problem

Note: - if you are a windows user (putty) you could directly use fm manager in wsl2 with docker - no need for a seperate linux machine

Thank you for taking the time @asieftejani

Yes , indeed I get an OK response ………. so I am a bit puzzeld ….

Can you paste your browser screenshot and also press F12 (browser dev tools) and see if there is an error message under network.

Also it seems you are on raspberry which is ARM64 architecture while fm (I think) loads AMD64 architecture
You may need to run a customized docker compose for it

This looks like a DNS problem.

If lynx can browse it but your desktop can’t, then you need to make sure your desktop knows the right IP address to the server. But if your desktop is a different machine, you probably don’t want to use the .localhost suffix/TLD. In theory, your DNS resolver should only ever map a .localhost to a loopback address like 127.0.0.1, which is fine on your server, but not for your desktop.

Your site should be test15a.local (.local is used as a convention for internal IP addresses inside your network). Then as long as your desktop’s hosts file has the correct IP address for the server (run ā€œip aā€ on the server to get this) then you should be able to browse the site using http from the desktop, assuming everything else is set up right and the server isn’t blocking incoming connections with a firewall.

1 Like

Thank you @asieftejani and @trustedcomputer for taking the time.

It is working.

What I did was …

Setup …( RPi 5 - 8G-RAM )

RPi : server : also running tcpdump ; site http://test15a.localhost

Desktop : RPi running Chromium and commandline ; hostfile : test15a.localhost

Test 1 : lynx

Run lynx http://test15a.localhost on commandline

Browser opens in text mode displaying Frappe login; tcpdump on server reflecting activity

Test 2 Curl

curl -i http://test15a.localhost ( in commandline ); activity on screen and on tcpdump

Test 3

Command line : ping http://test15a.localhost : response from server

TEst 4

Use Chromium Browser : only activity : ā€˜success’ top left corner

Solution:

I created another site .. fm test.local –apps erpnext:version-15

So now my url ends in ā€˜.local’ … as you suggested.

And all is working. So I have to assume that the Chromium browser somehow did not like the .localhost

extention of the URL ( I did clear the browser cache incase that was a problem )

So to anyone battling with similar issues, I did not know that I can fully stipulate the site name …

fm create edu.local –apps erpnext:version-15

and not rely on ā€˜fm’ to add the ā€˜.localhost’

These are my three sites now …..

Now, I will have to tackle the next issue and that is, on my edu.local site I have Education installed

which has a ā€˜student-portal’. And that should be accessed via …

/student-portal

and that works on frappe-cloud but not on my container on my edu.local site.

But I shall make another post for that. I don’t want to digress on this thread.

Thank you @asieftejani and @trustedcomputer for the guidance. Appreciated.