2017-03-09 - Re: [GRASE-Hotspot] Grase crashed after power issues.

Header Data

From: David Wilson <da***e@argyle.com.au>
Message Hash: d7039a99ce1bdc0d6f7a16322e97f3dc3594610faf335498e0fab6e917ea256a
Message ID: <4B240D9D-86F9-4FE8-B443-2B8D8E9F97BD@argyle.com.au>
Reply To: <615B9DD4-9DA9-434E-A485-D6C1E3073A3C@argyle.com.au>
UTC Datetime: 2017-03-09 05:33:32 UTC
Raw Date: Thu, 09 Mar 2017 23:33:32 +1100

Raw message

Ok, 

I did get this working 
There seemed to be a cookie of some description cached that was preventing the page from loading once I logged in. 

I was constantly clearing my cache just in case but was not clearing cookies. 

But it is working now 

Thanks 


Dave 





> On 9 Mar 2017, at 10:46 pm, David Wilson <da***e@argyle.com.au> wrote:
> 
> Hi Tim, 
> 
> 
> Yeah - I’ve kept my databases but Im not sure I am accessing them correctly. 
> I can log into the databases from the command line - so db username and password are known and valid. 
> 
> But I can’t log into grade admin with admin username and password - Unless I’ve totally stuffed it up and got the wrong password - but it seems strange cause I log in here quite regularly. 
> 
> I have set details in /etc/grase/radius.conf and  /etc/grase/radmin.conf
> 
> 
> would that be the only placed I need to config db settings? 
> Or is there a way to set a known password in the db so that I can verify if it is working and I just somehow changed the admin password. 
> 
> 
> Dave 
> 
> 
>> On 9 Mar 2017, at 10:08 pm, Timothy White <ti***8@gmail.com <mailto:ti***8@gmail.com>> wrote:
>> 
>> Hi Dave
>> 
>> Glad you worked out the missing repository. Hopefully you haven't deleted your databases with the purge commands. If you have, look in /var/backups/grase (I think that's the right location) for the nightly database dumps.
>> 
>> Regards
>> 
>> Tim
>> 
>> On Thu, Mar 9, 2017 at 8:32 PM, David Wilson <da***e@argyle.com.au <mailto:da***e@argyle.com.au>> wrote:
>> Doh…. 
>> 
>> Just realised that the update commented out the Grase Repository. 
>> 
>> Installing now. 
>> 
>> 
>> dave 
>> 
>> 
>> 
>>> On 9 Mar 2017, at 9:25 pm, David Wilson <da***e@argyle.com.au <mailto:da***e@argyle.com.au>> wrote:
>>> 
>>> Hi
>>> 
>>> Need some urgent help. 
>>> We have a grade server running very well for quite some time, but earlier today there were major power issues causing surges and outages for several hours. 
>>> The server, router and everything are on UPS’s but because there were so many outages and so frequently, the systems went up and down a few times. 
>>> 
>>> Anyway - the OS seems stable and working reasonably well but I could not log into Grase. 
>>> Was getting admin login screen but no further. 
>>> If i tried logging it it would just re-display the login page. 
>>> Initially I though I had miss-typed the password but then I noticed that any wrong combination of username / password would display the Red error. 
>>> But the correct combination would simply red display the login page without the error - but I still could not get in.
>>> 
>>> It was a while since it was all updated and everyone was off-air anyway so i run some updates. 
>>> OS is now fully up to date Welcome to Ubuntu 14.04.5 LTS
>>> 
>>> I tried to take a look around and found 
>>> 
>>> ubuntu@wifi:/usr/share/grase/www/radmin$ ls -l
>>> total 4
>>> drwxrwxrwx 2 root www-data 4096 Mar  9 19:13 templates_c
>>> ubuntu@wifi:/usr/share/grase/www/radmin$ 
>>> 
>>> 
>>> That does not look good - so I want to reinstall totally. 
>>> This is where I am stuck. 
>>> 
>>> I tried 
>>> 
>>> sudo apt-get install --reinstall grase-www-portal
>>> got 
>>> 
>>> Reading package lists... Done
>>> Building dependency tree       
>>> Reading state information... Done
>>> Package grase-www-portal is not available, but is referred to by another package.
>>> This may mean that the package is missing, has been obsoleted, or
>>> is only available from another source
>>> However the following packages replace it:
>>>   grase-conf-apache2
>>> 
>>> 
>>> So I purged all three packages 
>>> 
>>> 	sudo apt-get purge grase-www-portal
>>> 	sudo apt-get purge grase-conf-freeradius
>>> 	sudo apt-get purge grase-conf-openvpn
>>> 
>>> Reboot then tried re-installing 
>>> 
>>> sudo apt-get install grase-www-portal grase-conf-freeradius grase-conf-openvpn
>>> Reading package lists... Done
>>> Building dependency tree       
>>> Reading state information... Done
>>> Package grase-www-portal is not available, but is referred to by another package.
>>> This may mean that the package is missing, has been obsoleted, or
>>> is only available from another source
>>> However the following packages replace it:
>>>   grase-conf-apache2
>>> 
>>> E: Package 'grase-www-portal' has no installation candidate
>>> E: Unable to locate package grase-conf-freeradius
>>> E: Unable to locate package grase-conf-openvpn
>>> 
>>> 
>>> 
>>> So I am stuck - I can’t seem t be able to find the package.
>>> 
>>> 
>>> Dave 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> This mailing list is for the Grase Hotspot Project http://grasehotspot.org <http://grasehotspot.org/>
>>> --- 
>>> You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to gr***e@grasehotspot.org <mailto:gr***e@grasehotspot.org>.
>>> To post to this group, send email to gr***t@grasehotspot.org <mailto:gr***t@grasehotspot.org>.
>>> Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/ <https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/>.
>>> To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/9753C18E-33A7-4CD3-9EBD-35A4C9B9435A%40argyle.com.au <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/9753C18E-33A7-4CD3-9EBD-35A4C9B9435A%40argyle.com.au?utm_medium=email&utm_source=footer>.
>> 
>> 
>> -- 
>> This mailing list is for the Grase Hotspot Project http://grasehotspot.org <http://grasehotspot.org/>
>> --- 
>> You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to gr***e@grasehotspot.org <mailto:gr***e@grasehotspot.org>.
>> To post to this group, send email to gr***t@grasehotspot.org <mailto:gr***t@grasehotspot.org>.
>> Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/ <https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/>.
>> To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/419658CF-CB32-4B2A-99E0-01B33B059E23%40argyle.com.au <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/419658CF-CB32-4B2A-99E0-01B33B059E23%40argyle.com.au?utm_medium=email&utm_source=footer>.
>> 
>> 
>> -- 
>> This mailing list is for the Grase Hotspot Project http://grasehotspot.org <http://grasehotspot.org/>
>> --- 
>> You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to gr***e@grasehotspot.org <mailto:gr***e@grasehotspot.org>.
>> To post to this group, send email to gr***t@grasehotspot.org <mailto:gr***t@grasehotspot.org>.
>> Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/ <https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/>.
>> To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CAESLx0LbE7WSH6ENWwChU6N-Ss1rkk6CaTh-hs%2Bb4m4fKQCE7Q%40mail.gmail.com <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CAESLx0LbE7WSH6ENWwChU6N-Ss1rkk6CaTh-hs%2Bb4m4fKQCE7Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org <http://grasehotspot.org/>
> --- 
> You received this message because you are subscribed to the Google Groups "Grase Hotspot" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to gr***e@grasehotspot.org <mailto:gr***e@grasehotspot.org>.
> To post to this group, send email to gr***t@grasehotspot.org <mailto:gr***t@grasehotspot.org>.
> Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/ <https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/>.
> To view this discussion on the web visit https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/615B9DD4-9DA9-434E-A485-D6C1E3073A3C%40argyle.com.au <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/615B9DD4-9DA9-434E-A485-D6C1E3073A3C%40argyle.com.au?utm_medium=email&utm_source=footer>.


Thread