AllskyTeam / allsky

A Raspberry Pi operated Wireless Allsky Camera
MIT License
1.16k stars 180 forks source link

Can´t connect to allsky - problems at installing #55

Closed Vigo79 closed 3 years ago

Vigo79 commented 5 years ago

Hello, I´m very new to this project and linux. The only project I did was my repetierserver for a 3D printer.

I installed raspbian stretch on my Raspi Pi 3b+ and sets the wifi network and language. Then I does all updates to raspbian and the I installed git and allsky.

ok and now my problem. I want the graphical user interface but I can´t connect. My browsers shows me a 404 failure. I think, I don´t understand this: "If you don't want to configure the camera using the terminal, you can install the web based graphical interface. Please note that this will change your hostname to allsky, install lighttpd and replace your /var/www/html directory. It will also move settings.json to /var/www/html."

Lighttpd is allready installed with my raspbian stretch but there is no /var/www/HTML directory. I don´t know, what should I "replace" there? And who will move the settings.json to var/www/html ?

Please can you explain me this?

EDIT: Ok, now after the 3rd installation I can connect to http://allsky.local at my raspberry, but I don´t know the user/password?!? The user and pw I set at the beginning at raspbian will not work hmmmm.... EDIT 2: Ok... found it with Google sorry :)

Now I have to check why I can´t get a Livepreview with my ASI 120MC :)

Greetings Vigo :)

thomasjacquin commented 5 years ago

Hi Vigo, glad you figured out the previous issues. Do you still have problems with the liveview?

Vigo79 commented 5 years ago

Hello Thomas, after an defect on my ASI120MC I bought a new one. I think my last cam broke at a firmware update. Now I have a ASI120MC-S and only a dark Preview Window with a small symbol in the left corner. Maybe you know whats strong? unbenannt-1

Greetings Vigo :)

thomasjacquin commented 5 years ago

Hi Vigo,

Can you send a screenshot of your camera settings? It seems like the path to the image is incorrect.

Vigo79 commented 5 years ago

Sure, today later. Im at work now. Thanks for the fast answere!!!

Vigo79 commented 5 years ago

Hi, here are the screenshots of my camera settings. I rightclick the black review image and the path is http://192.168.0.81/current/liveview-image.jpg

1 2

thomasjacquin commented 5 years ago

Have you found the issue? Can you see your images when you go to the images section of the GUI? I'm thinking that your lighttpd.conf file is missing the alias to /current and /images

Vigo79 commented 5 years ago

No, there are no images in the images section. I´m really newbie to raspberry programming. Can you please tell me, what must be where in which files?!? :) My next problem is... How can I start from raspbian? My raspi starts now to the allsky GUI.

thomasjacquin commented 5 years ago

I would try re-running the GUI install script. That script is responsible for creating those links so that you can see the liveview properly and see your images listed as well. sudo gui/install.sh

Maybe it didn't work completely the first time because you already had lighttpd installed. If it still doesn't work, try removing lighttpd first: sudo apt-get purge lighttpd

Vigo79 commented 5 years ago

and can u please tell me, how to start from Raspbian or maybe the Terminal? I start now from the Allsky GUI

thomasjacquin commented 5 years ago

You can just SSH to your Raspberry Pi from any computer. If you're on Linux or Mac, open a terminal and type: ssh pi@192.168.0.81 It will prompt you for the RPi password.

If you're on windows, you can use Putty to connect to your RPi

Another solution is to do remote desktop by using VNC.

Vigo79 commented 5 years ago

ah, thats my problem haha. I don´t activated SSH after installing Raspbian. It seems I have to start the whole procedure from the beginning :)

thomasjacquin commented 5 years ago

Or you can plug a monitor, keyboard and mouse and activate ssh from there.

Vigo79 commented 5 years ago

I will try this, but when i plug a monitor, I will not see the allsky GUI? I try it now...

thomasjacquin commented 5 years ago

on the Pi, you can view the GUI by opening the browser and going to http://localhost

Vigo79 commented 5 years ago

I put this in the terminal sudo gui/install.sh and reboot. Now I get a "object not found" in the browser :(

thomasjacquin commented 5 years ago

You need to run the command from the allsky directory cd allsky and then sudo gui/install.sh

Vigo79 commented 5 years ago

hmhm. Ok. Now I deinstalled lighttpd and installed the GUI new. But no preview image is there. Can you tell/show me, how it has to look? "I'm thinking that your lighttpd.conf file is missing the alias to /current and /images" I mean the lighttp.conf
When I edit this file, what must I see?

thomasjacquin commented 5 years ago

Your /etc/lighttpd/lighttpd.conf should look like that: https://github.com/thomasjacquin/allsky/blob/master/gui/lighttpd.conf

The script is supposed to do it for you.

Vigo79 commented 5 years ago

ok... I´m an Idiot... I changed my resolution of my monitor and now I have no Picture on it grrrr... lol. Give me a few minutes to repair that :)

Vigo79 commented 5 years ago

so... I can´t get my picture back to the monitor. Will you know what I do now? I put the Raspbian Image again to my sd card and do it all from the beginning. Thomas, thank you very very much for the help! I´m sure... I will write here in a few hours again hahaha 👍

Vigo79 commented 5 years ago

My lighttpd.conf looks the same as yours... :( oh man.... what can I do now?

Vigo79 commented 5 years ago

Let´s play a game. You have three tries to find out, whos the biggest stupid fool on earth... :) The first time I did the Installation exactly like your manual. I had an issue and did an reinstall of raspbian. Then I found the part at your manual with the "GUI Installation". From this point on I installed allsky from Git and jumped to the GUI Installation and never does "sudo ./install.sh" Oh Man... thanks for your support. Now I have a look at the camera settings.

thomasjacquin commented 5 years ago

Haha.. no problem, glad you figured it out.

EricClaeys commented 3 years ago

This issue is from an older release of the AllSky software and the issues appear to have been resolved. If you think it might still be relevant, please test it with the newest version and submit a new issue if needed. Thanks.