Project

General

Profile

Bug #2314

Updated by sanjitchak about 3 years ago

h2. -june 26,2018


Made successful upgrade to amahi 11 from amahi 10. But didn't set a username in the amahi server before the *upgrade*. Was able to set a username after upgrading to amahi 11. Apps were not showing, as usual, in amahi 11. Will test the *upgrade* again after creating a username in amahi 10.

h2. -june 28,2018


Unfortunately, *dashboard exception* occurred when I installed after creating a username in the amahi server.
https://paste.fedoraproject.org/paste/-ZUf9u6019xGI8v2K9avZQ (for production.log)
https://paste.fedoraproject.org/paste/Nx-~VhLTCgKpsp7HYVYcew (for /var/log/httpd/error_log)

So, I tried *upgrading* again without creating a username in the Amahi Server. This time, *dashboard exception* occurred, even when the user is *not* created.
https://paste.fedoraproject.org/paste/2zH~RrjIL7QmaRW8dvqAeQ (for production.log)
https://paste.fedoraproject.org/paste/FuFBQ4k7Ojv~hzHUDKSQYg (for /var/log/httpd/error_log)

So, something might have changed from fedora side or from our side, to cause *dashboard exception* in every case.

In *production.log*, the error seems to be from these lines:-
<pre>
[2018-06-28T01:00:11.408243 #1282] FATAL -- : [8ca274b0-71e9-418c-8de5-1dd9f14bd569]
F, [2018-06-28T01:00:11.408273 #1282] FATAL -- : [8ca274b0-71e9-418c-8de5-1dd9f14bd569] app/controllers/application_controller.rb:36:in `accessed_from_ip'
I, [2018-06-28T01:00:15.587357 #1282] INFO -- : [e67daf02-6383-407e-86b9-94e6e9154804] Started GET "/tab/debug" for 192.168.2.103 at 2018-06-28 01:00:15 +0530
I, [2018-06-28T01:00:15.588762 #1282] INFO -- : [e67daf02-6383-407e-86b9-94e6e9154804] Processing by DebugController#index as HTML
D, [2018-06-28T01:00:15.591550 #1282] DEBUG -- : [e67daf02-6383-407e-86b9-94e6e9154804] Setting Load (0.6ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'domain' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2018-06-28T01:00:15.593934 #1282] DEBUG -- : [e67daf02-6383-407e-86b9-94e6e9154804] DnsAlias Load (0.8ms) SELECT `dns_aliases`.* FROM `dns_aliases` WHERE `dns_aliases`.`name` = '192.168.2.10' ORDER BY `dns_aliases`.`id` ASC LIMIT 1
D, [2018-06-28T01:00:15.595931 #1282] DEBUG -- : [e67daf02-6383-407e-86b9-94e6e9154804] Setting Load (0.7ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'theme' ORDER BY `settings`.`id` ASC LIMIT 1
D, [2018-06-28T01:00:15.601818 #1282] DEBUG -- : [e67daf02-6383-407e-86b9-94e6e9154804] Setting Load (0.7ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'advanced' ORDER BY `settings`.`id` ASC LIMIT 1
I, [2018-06-28T01:00:15.602996 #1282] INFO -- : [e67daf02-6383-407e-86b9-94e6e9154804] Completed 500 Internal Server Error in 14ms (ActiveRecord: 2.8ms)
F, [2018-06-28T01:00:15.603640 #1282] FATAL -- : [e67daf02-6383-407e-86b9-94e6e9154804]
F, [2018-06-28T01:00:15.603715 #1282] FATAL -- : [e67daf02-6383-407e-86b9-94e6e9154804] JSON::ParserError (765: unexpected token at '{
I"session_id:ETI"%a0ffacfe8bc35d748ecc60c9df1b313f;'):
F, [2018-06-28T01:00:15.603763 #1282] FATAL -- : [e67daf02-6383-407e-86b9-94e6e9154804]
F, [2018-06-28T01:00:15.603814 #1282] FATAL -- : [e67daf02-6383-407e-86b9-94e6e9154804] app/controllers/application_controller.rb:36:in `accessed_from_ip'
</pre>

Back