Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant access web dashboard #250

Closed
kronnofatal1ty opened this issue Feb 6, 2019 · 20 comments
Closed

Cant access web dashboard #250

kronnofatal1ty opened this issue Feb 6, 2019 · 20 comments

Comments

@kronnofatal1ty
Copy link

Hi, i'm new to this projects and i followed your tutorial step by step and when i'm trying to access the web dashboard always keep saying connection refused and i'm kinda stuck here.
Can someone say what RPI version your using and which linux distro?
I'm frying my head for 3 days and can't get any answers. Thank you and btw great project ;)

@kronnofatal1ty
Copy link
Author

51544751_240133996877322_4811318490642251776_n
51604595_245352126352245_2072736450952036352_n

@Kargha
Copy link

Kargha commented Feb 6, 2019

I used an RPi 2B with Raspbian Stretch Lite for my setup. I had issues with it at first because I used the wrong Linux Dist, and Raspbian Stretch is basically a requirement to get it to work properly.

@kronnofatal1ty
Copy link
Author

im using Raspbian Strecht too. I've tested with RPI 3 and 3B+ same result as i posted

@theyosh
Copy link
Owner

theyosh commented Feb 6, 2019

Please rerun the installer. The python module emails is missing, so the installer did not run fully.

@Kargha
Copy link

Kargha commented Feb 6, 2019

That's really odd. I mean, it's clearly missing the python email module... Are you using regular Stretch or Stretch Lite? Apparently the regular stretch (with desktop and recommended software) doesn't seem to work.

@kronnofatal1ty
Copy link
Author

The oddest thing is during the installation. When trying to install the required software (with stretch lite and desktop version) the errors are the same. ssl errors and no matching distribution found errors.
I know that he keeps trying till the modules are installed. Im going to try to install manually the packages to check if it makes any difference. And going to portforwarding on my router.

@kronnofatal1ty
Copy link
Author

51844983_751595355226687_7479200403658113024_n

@kronnofatal1ty
Copy link
Author

with the stretch lite is the same errors

@theyosh
Copy link
Owner

theyosh commented Feb 6, 2019

Hmmm it is a bit small, but I can see something like that python 2.7 is somewhere depricated.

So could you try the following: sudo ./install.sh 3 the 3 will install it as python 3. But, then you also need to start the software either manual with: sudo ./start.sh 3 or change the /etc/rc.local file by adding the 3 to the startup command.

@kronnofatal1ty
Copy link
Author

i did what you said with the command ./install.sh 3
Everything was running smoothly till the last 3 packages.
Again SSL errors

@kronnofatal1ty
Copy link
Author

Bad handshake: SysCallError(104, 'ECONNRESET')

@kronnofatal1ty
Copy link
Author

Im going to test that with strecht lite. ill keep u up

@kronnofatal1ty
Copy link
Author

problem

Now i'm dealing with this. Any help?

@theyosh
Copy link
Owner

theyosh commented Feb 6, 2019

Yes, this is somewhat a known issue: https://github.com/theyosh/TerrariumPI/wiki/Known-issues#python3-numpy-import-error

In short run: sudo pip3 uninstall -y numpy

But the installer should take care of that....

@kronnofatal1ty
Copy link
Author

When you solve a problem more appear lol
ImportError: cannot import name 'PiCamera'

@kronnofatal1ty
Copy link
Author

solved. just deleted the imports from camera

@theyosh
Copy link
Owner

theyosh commented Feb 6, 2019

Again, you are missing modules. Please read: #246 (comment)

I can not fix this, as somehow the installation is failing. I have installed more then 100 times now, and it is always working. So the issue is somewhat outside my control

@Kargha
Copy link

Kargha commented Feb 6, 2019

@theyosh Could it potentially be connected to lack of power? I know I've had problems with my PI sometimes when doing CPU and read/write intensive tasks if I haven't had a stable enough power source (it loved to turn off my wi-fi mid-downloads and such sometimes).

@theyosh
Copy link
Owner

theyosh commented Feb 6, 2019

@Kargha I do not have enough knowledge about that. It sounds reasonable that heavy CPU usage will use more power. And the installation of the python packages is all compile work. So that could be an issue.

But at the same time there are lot of people having issues due to a 'broken' SD card. And swapping to a new SD card fix the issues. So I am more tending to a broken SD card than a power issue. Even when there are not yet SD card errors in the OS.

@theyosh
Copy link
Owner

theyosh commented Feb 9, 2019

@kronnofatal1ty is your issue fixed? Then this issue can be closed?

@theyosh theyosh closed this as completed Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants