New version of Raspcontrol

Today I am in full redesign of the Raspberry which is from a dirty power outage. Wanting to redo the installation of Raspcontrol as here, I found that the author of Raspcontrol has just announced on his account Twitter that a new version of Raspcontrol is available for download.

It is more purified at the interface level :

Nouvelle version de Raspcontrol sous Nginx - Page après login

New version of Raspcontrol under Nginx - Page after login

Nouvelle version de Raspcontrol sous Nginx - Page de détail

New version of Raspcontrol under Nginx - Detail page

Nouvelle version de Raspcontrol sous Nginx - Page de détail

New version of Raspcontrol under Nginx - Detail page

Goodbye commands to restart the machine or certain services (pretty bogus). I found two small bugs : the hostname is not recovered (2th screenshot) and the calculation of a score is not good (3th screenshot).

For the rest it is more accurate. Brief, c’est une question de goût 🙂

Precision, This version is intended to be run under Apache because rewrites rules in a .htaccess file. For those who use Nginx as me, you will need to add the following two lines in the configuration associated with Raspcontrol file (Nginx does not use the .htaccess) :

rewrite ^ / raspcontrol/details$ /raspcontrol/index.php?page = details last;
rewrite ^ / raspcontrol/logout$ /raspcontrol/login.php?Logout last;

Attention to change the name of the directory in these lines (the capitals have their importance) 😉

You play to be updated !

You may also like...

  • WF

    Good evening,

    the hostname back home.

    I'm running Apache, by cons I have the correct the config.php :

    define('LOGOUT', './index.php?page = logout');

    define('DETAILS', './index.php?page = detail ');

    a

  • Hello,

    Indeed this quite annoying… For the hostname, appear at least on the home page ?

    Can you do a little test : in the lib/rbpi.php file change in the line 24 “hostame f” by “/bin/hostname f” ?

    Concerning the problem of calculation for HDD sizes, We are just watching it…

    And little more personal question, was you much using the command to restart your RBpi online, as well as other services ?

    • Good evening,
      On the homepage it is good.
      For editing, CA does not alter. However if I run command line :
      root@pihomeserver:~# /bin/hostname -f
      hostname: Name or service not known
      root@pihomeserver:~# /bin/hostname
      pihomeserver

      I therefore removed the option ' f’ and it works.

      For the services I had modified to at least the reboot and the relaunch of SSH. The utility had a concern on the SD card. Now that I have everything again I do not think you need. But if SSH doesn't at least one can restart the machine without unplugging the. Surely rare still.

  • Re-good evening,

    On the home page, It is a PHP command that retrieves the hostname of the machine.

    In contrast to the details page, I wanted to be able to have the full hostname (If completed at a time), Hence a system command, who among you is the resistance…

    The problem might come that the system cannot find the full name (but I remain doubtful, in this case it would call surely just the name “short”), or that one of the files (/etc/hostname or/etc/hosts) be badly composed ?

    Thanks for the Info, I think that it might indeed be practical that the command is, même si rarement utilisée 😉

  • Christophe

    Hello and thanks for the information

    For me by following the tutorial and comments c is OK

    However the logout is not working …

    Error 404

    The document you're looking for doesn't exist.

    Strange

    • At home I do not disconnect, I return to the home page.

    • There is an error on this directive :

      rewrite ^ / raspcontrol/logout$ /raspcontrol/login.php?page = logout last;

      It should be replaced by :

      rewrite ^ / raspcontrol/logout$ /raspcontrol/login.php?Logout last;

      Normally, It should better walk...

      • It works and it is fixed in article. Thank you.

  • JeremKy

    UH… I do not see where you put these 2 lines so that it works… Can someone help me ? Merci beaucoup 🙂

    • Hello,
      In the Nginx configuration file that is associated with the site of Raspcontrol.
      Example :
      server {
      ...
      root /var/www;
      index index.php index.html index.htm;
      ...

      rewrite ^/raspcontrol/details$ /raspcontrol/index.php?page=details last;
      rewrite ^/raspcontrol/logout$ /raspcontrol/login.php?logout last;

      location / {
      ...

      • JeremKy

        Thank you very much, It works ! 🙂

        Apparently he is not able to know the temperature of the processor. This is the case for everyone ?

        • No worries for me on the details page : 50° currently with current Time Machine backup

          • GEO

            Is that your temperature is the same when you do :
            /opt/vc/bin/vcgencmd measure_temp

            Merci 🙂

  • Joel Schneider

    For me after you follow step-by-step installation or any happened correctly, a seizure of the password I get an error message : Oops! Failed to open authentication file in /etc/raspcontrol/database.aptmnt
    Any authorisation have been posted I don't understand.
    Thank you for your help.

Handpicked links

disk Page Caching using disk: enhanced Database Caching 142/442 queries in 0.319 seconds using disk Served from: pihomeserver.fr @ 2017-06-22 17:05:49 by W3 Total Cache -->