If you boot up your Pi with a keyboard and screen attached, then log in after booting up, you'll see the following on the screen:
This image comes without a desktop environment installed because it's not
required for running OctoPrint. If you want a desktop environment you can
install it via
sudo /home/pi/scripts/install-desktop
Running that install desktop command (the line that starts with "sudo") installs the Desktop GUI (it's not included by default in OctoPi since it's usually not needed).
It's been a while, I'm not sure if you then have to run sudo raspi-config
choose the "Boot Options",
then choose the "Desktop / CLI" option,
and pick one of the Desktop options (I prefer "Desktop GUI requiring user to log in)
Next reboot, and you should see the familiar desktop GUI.
Connect to your WiFi network just as you did when booting up from the full Raspian.
When you are done and have connected successfully, you can go back and reset it to boot to the command line (CLI) in Raspi-config.
You are shutting your Pi down properly, aren't you? You don't want to just shut off the power, since that can damage the SD card (sometimes you get away with it, some times you don't).
To shut down from the command line, use the following: sudo shutdown -h now
I'll be away from my computer for at least 4 or 5 hours now. I hope all of the above works for you.
You can also shut it down from a menu choice when accessing OctoPrint web page (that menu only shows up if you are logged in as an OctoPrint administrator).
Just for reference, here's the two things which that script would do (assuming that you ask it to automatically boot to the Desktop):
sudo apt-get install --yes raspberrypi-ui-mods
sudo systemctl set-default graphical.target
Per that earlier comment (to see what it might do):
which raspi-config
/usr/bin/raspi-config
cat /usr/bin/raspi-config
So here's the two sections in raspi-config that would steer it to the console boot options but neither uninstall any of the software. You'd have to do an htop and look for them in this case.
It takes a full minute for Bonjour announcements to happen... and then maybe a bit for your router to cache-and-repropagate them on other routes/segments (if it does).
@zGHLooL, You added a reply to a topic that is over a year old. If you really want help, I suggest that you start a new topic paying particular attention to the blue links in the template and provide as much of the details requested about your specific problem.