Finding the exact url

Hello, I created a small server on my emoncms raspberry, but now I do not know the exact url to view it from the outside.
In the guides say to go dshborad the page and click on the share, but in the version I'm using (V 8.3.5) I share the key is not there.

Thank you for your help
Marcello

Olivier's picture

Re: Finding the exact url

Hello,

You can access through your local network to all your dashboard (if they are public) with the following address: http://ip_of_your_server/emoncms/username/ (Ip should be replaced by your own IP, and username by your emoncms login). You can find your IP using your DHCP server: router or box.

If you want to access to the same server from outside your network you will have to redirect with your router or your box the request from internet to the ip of your emoncms server. There are a lot of tutorial available on internet because it will depend of your network equipment.

 

ricello's picture

Re: Finding the exact url

Grazie per la risposta tempestiva ma se nel mio browers inserisco questo indirizzo:
http://192.168.0.107/emoncms/admin che corrispondono rispettivamente all'indirizzo  IP della scheda raspberry e al mio nome utente mi compare la pagina con questo errore:

Notice: Undefined variable: result in /var/www/emoncms/Modules/admin/admin_controller.php on line 80

Nel file admin_controller.php alla riga 80 il codice è il seguente:
return array('content'=>$result);

ti allego anche una copia del file

Grazie
Marcello.

ricello's picture

Re: Finding the exact url

Thanks for the prompt reply but if I plug in my browers this address:
http://192.168.0.107/emoncms/admin that correspond to the IP address of the card raspberry and my username I get the page with this error:

Notice: Undefined variable: result in /var/www/emoncms/Modules/admin/admin_controller.php on line 80

In the file admin_controller.php at line 80 the code is the following:
return array ('content' => $ result);

I am attaching a copy of the file

Thank you
Marcello.

Olivier's picture

Re: Finding the exact url

I think that it's linked to the fact that this /admin folder is used by another view in emoncms. There is a conflict between the user name allowing to see the "dashboard view" and the "admin view".

=> To avoid this in the future I think we need to lock in the software the possibility to create a user login called "admin"

I had the same issue with my first test installation of EmonCMS.

How I solved this issue: I edited the user table with phpmyadmin to change the name of my user login and it solved this issue.

ricello's picture

Re: Finding the exact url

Ok, perfect.
I changed the user name in the user table with phpmyadmin and it seems to work properly.
Thanks for your help.

ricello's picture

Re: Finding the exact url

Hello, I'm still here.
I'm trying to access my web server from a PC want to be out from the LAN but ......

Post off-topic - moved to it's own thread here. -  Paul (mod)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.