rkaczorek / astroberry-server

Astroberry Server is a ready to use system for Raspberry Pi for controlling all your astronomy equipment
GNU General Public License v3.0
274 stars 19 forks source link

"Service Not Available" connecting to hotspot #91

Open Abelink23 opened 4 years ago

Abelink23 commented 4 years ago

I made a fresh installation of astroberry on my Raspberry Pi3 b+ 3-4 months ago and everything has worked perfectly but today I decided to update it via apt update/upgrade and I am no longer able to connect via browser (https://astroberry.local/desktop/ or http://10.42.0.1/desktop).

I get this error message: Service Not Available Requested service is not available.

If you see this page while using floating menu, this means that system service providing this functionality is stopped.
Check and/or restart respective system services and try again.

Otherwise it means that your system is misconfigured. Review and/or revert your recent changes and try again.
Review system documentation and if you believe it is a bug, report it here.

The hotspot itself works fine as I am able to connect via VNC viewer.

Any tips about what can I do to fix it?

Many thanks! Abel

rkaczorek commented 4 years ago

Clear cache in your browser. Otherwise a browser can serve old content to you. You can do it by refreshing the page a few times. If it doesn't help you need to restart respective services e.g. if GPS panel is not available run sudo systemctl restart gpspanel.service This also applies to astropanel.service and indiwebmanager.service

rkaczorek commented 4 years ago

What's the status of this issue on your side?

Abelink23 commented 4 years ago

I still have to test it and I was actually planning to do it today. I will update this as soon as I do it.

Abel

On 7/9/20 22:59, Radek Kaczorek wrote:

What's the status of this issue on your side?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rkaczorek/astroberry-server/issues/91#issuecomment-688522246, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLQLLEVVJMTSB7XCLN6Y23SEVJU3ANCNFSM4QBBB2YA.

-- Abel de Burgos Sierra

Science is more than a body of knowledge, it's a way of thinking Carl Sagan

Abelink23 commented 4 years ago

I have tried all the commands and they all get stuck running forever. I am afraid that there is another program preventing their execution or something like that.

Also, I have tried to access via different devices with the same problem and in all cases clearing the cache.

Any clue of what could it be?

Many thanks,

Abel

On 23/8/20 22:12, Radek Kaczorek wrote:

Clear cache in your browser. Otherwise a browser can serve old content to you. You can do it by refreshing the page a few times. If it doesn't help you need to restart respective services e.g. if GPS panel is not available run |sudo systemctl restart gpspanel.service| This also applies to astropanel.service and indiwebmanager.service

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rkaczorek/astroberry-server/issues/91#issuecomment-678825450, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLQLLESA3PZUDTTKSFFBBLSCGA2NANCNFSM4QBBB2YA.

-- Abel de Burgos Sierra

Science is more than a body of knowledge, it's a way of thinking Carl Sagan

rkaczorek commented 4 years ago

Please take a look at this thread https://indilib.org/forum/astroberry/7627-raspberry-pi-trojan-going-wild.html

Abelink23 commented 4 years ago

I can confirm that I had many bins.deutschland-zahlung.eu entries and I have now changed the passwords.

What would be the next step now in order to recover the normal behavior of my system?

Many thanks,

Abel

On 8/9/20 21:49, Radek Kaczorek wrote:

Please take a look at this thread https://indilib.org/forum/astroberry/7627-raspberry-pi-trojan-going-wild.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rkaczorek/astroberry-server/issues/91#issuecomment-689128667, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLQLLGQCI6TSKK6SJIMLF3SE2KHLANCNFSM4QBBB2YA.

-- Abel de Burgos Sierra

Science is more than a body of knowledge, it's a way of thinking Carl Sagan

rkaczorek commented 4 years ago

The easiest way is to reflash your microSD card. The hard way is to remove the malware by hand as described here https://www.tobsan.se/update/2017/11/06/rpi-trojan.html

Abelink23 commented 4 years ago

May I ask for me to understand, what is the connection between the problem I experienced not being able to use the web-interface, and the Trojan?

Many thanks,

Abel

On 9/9/20 7:51, Radek Kaczorek wrote:

The easiest way is to reflash your microSD card. The hard way is to remove the malware by hand as described here https://www.tobsan.se/update/2017/11/06/rpi-trojan.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rkaczorek/astroberry-server/issues/91#issuecomment-689346262, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLQLLBUFCVUMH6IZ7UYBZ3SE4QVNANCNFSM4QBBB2YA.

-- Abel de Burgos Sierra

Science is more than a body of knowledge, it's a way of thinking Carl Sagan

rkaczorek commented 4 years ago

The trojan changes records in /etc/hosts and overtakes some localhost services. As the result web panels are not accessible on localhost (127.0.0.1)