Fresh octopi -- ssh works but not browser

What is the problem?

I can ssh to a fresh image of octopi but cannot access via browser. Card is at 102.168.1.50. Tried putting that ip in browser.

Additional information about your setup

fresh imager version 1.8.5
device 3b
os - default 64-bit

Listing

pi@raspberrypi:~ $ ls -al
total 76
drwx------ 14 pi   pi   4096 Sep 15 11:44 .
drwxr-xr-x  3 root root 4096 Jul  3 17:18 ..
-rw-r--r--  1 pi   pi    220 Jul  3 17:05 .bash_logout
-rw-r--r--  1 pi   pi   3523 Jul  3 17:05 .bashrc
drwxr-xr-x  2 pi   pi   4096 Jul  3 17:10 Bookshelf
drwxr-xr-x  5 pi   pi   4096 Jul  3 17:18 .cache
drwx------  5 pi   pi   4096 Jul  3 17:18 .config
drwxr-xr-x  2 pi   pi   4096 Jul  3 17:18 Desktop
drwxr-xr-x  2 pi   pi   4096 Jul  3 17:18 Documents
drwxr-xr-x  2 pi   pi   4096 Jul  3 17:18 Downloads
drwxr-xr-x  4 pi   pi   4096 Jul  3 17:17 .local
drwxr-xr-x  2 pi   pi   4096 Jul  3 17:18 Music
drwxr-xr-x  2 pi   pi   4096 Jul  3 17:18 Pictures
-rw-r--r--  1 pi   pi    807 Jul  3 17:05 .profile
drwxr-xr-x  2 pi   pi   4096 Jul  3 17:18 Public
-rw-r--r--  1 pi   pi      0 Jul  3 17:18 .sudo_as_admin_successful
drwxr-xr-x  2 pi   pi   4096 Jul  3 17:18 Templates
drwxr-xr-x  2 pi   pi   4096 Jul  3 17:18 Videos
-rw-------  1 pi   pi    113 Sep 15 11:44 .Xauthority
-rw-------  1 pi   pi   2273 Jul  3 17:18 .xsession-errors

Help please?

The template you deleted asked for the systeminfo bundle. You can obtain that also via SSH. Just click the link for more information.

How did you enter the IP address into the browser?

are you sure about the 102. Should that not be 192?

At least you have to type:

http://192.168.1.50

or

http://192.168.1.50:5000

The problems with my ip addr were typos. I used the right url in my browser. http://192.168.1.51 in chrome gives this ...

This site can’t be reached 192.168.1.51 
refused to connect.

I tried to get the Systeminfo Bundle using this in ssh. It doesn't seem to match my system ...

pi@raspberrypi:~ $ !octo
octoprint systeminfo .
-bash: octoprint: command not found

pi@raspberrypi:~ $ ~/oprint/bin/octoprint systeminfo .
-bash: /home/pi/oprint/bin/octoprint: No such file or directory

pi@raspberrypi:~ $ cd /home/pi/oprint
-bash: cd: /home/pi/oprint: No such file or directory

If you did a manual install it could be:
[I misspelled the command cause this board sticks a link every time the word appears.....]

~/OctoPrint/venv/bin/octoprint ssteminfo .
grep (GNU grep) 3.6
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and others; see
Writing ssteminfo bundle to /home/pi/octoprint-systeminfo-20240915184102.zip...
Done!
/home/pi/octoprint-systeminfo-20240915184102.zip

I installed it using the latest imager. In any case my system doesn't have ~/OctoPrint/

Just re-saw your first post - duh! With that ls -al, you did not select the correct image and just got the OS and no OctoPrint. You could use Paul's octoprint-deploy script and install OctoPrint on the Pi.

1 Like

Thanks. That makes sense. I'm retrying the imager again. I made sure I selected the octoprint containing "(recommended)".

I can't tell you how many years I've smugly told everyone to RTFM. I'm now guilty. I just ran the imager and picked the default OS thinking it would have octoprint. I thought it was an octoprint imager. It worked after using the imager properly.

Thanks and I'm sorry for the trouble I've caused.

No problem,we all missed it. That's why women don't come with manuals, we wouldn't read them anyway.....

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.