Project

General

Profile

Bug #1643

disk wizard issues

Added by rhglass over 4 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
04/03/2015
Due date:
% Done:

0%


Description

I have reinstalled my amahi server and after all set up I install disk_wizards to do a test but have got a error after formatting the drive

I select my hard disk Samsung HD204UI Path /dev/sdb size 1.82tb

then on the Confirmation screen
-----------------------------------------------
Samsung HD204UI
-----------------------------------------------
Format Yes
New filesystem type type_Ext4
mount Location /var/hda/file/drives/disk 2
System Name /dev/sdb

I apply this settings then I got a error message

Oh Snap ! you got an error with 3 buttons
get debug information that don't work
send report to Amahi I did click this button but nothing happen
the last button was to try again

-------------------------------------------------------------------
here is the details of my fstab file after running disk wizards #
  1. /etc/fstab
  2. Created by anaconda on Fri Apr 3 17:40:05 2015 #
  3. Accessible filesystems, by reference, are maintained under '/dev/disk'
  4. See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info #
    UUID=94065993-28c5-430d-9666-ab8a3e5f4ff4 / ext4 defaults 1 1
    UUID=1889acf2-27e7-4f0b-bf53-b3211cbdb88a /boot ext4 defaults 1 2
    UUID=37aafada-a4ff-4727-a888-53fa36c7500c /home ext4 defaults 1 2
    UUID=638e2dcb-687d-4179-88de-5fc03329b07e swap swap defaults 0 0
    UUID=a1e131ee-6b76-4004-8b9b-6c48da32e4d1 /var/hda/files/drives/disk 2 auto auto,rw,exec 0 0

I do have the screenshot of the error if you need anymore information just let me know

disk_wizards.PNG View - disk wizard (34.3 KB) rhglass, 04/03/2015 11:39 AM

disk_wizards formated.PNG View - disk wizard formated (30.7 KB) rhglass, 04/03/2015 11:40 AM

disk_wizards error.PNG View - error screen (20.8 KB) rhglass, 04/03/2015 11:40 AM

History

#1 Updated by cpg over 4 years ago

  • Project changed from new apps to disk wizard plugin
  • Category deleted (Utility)
  • Target version deleted (amahi-7-3)

#2 Updated by cpg over 4 years ago

from looking at the log, it appears that there is a cookie overflow in the handling of the disk wizard data. here is the relevant part of the log, including the error:

Started GET "/tab/disks/disk_wizards" for 192.168.0.191 at 2015-04-03 19:11:55 +0100
Processing by DiskWizardsController#select_device as HTML
  Rendered plugins/1001-disk_wizards/app/views/disk_wizards/select_device.html.erb within layouts/wizard (18.3ms)
  Rendered shared/_js_vars.html.slim (6.4ms)
  Rendered layouts/_searchform.html.slim (7.0ms)
  Rendered layouts/_header.html.slim (34.4ms)
  Rendered shared/_flash_messages.html.slim (6.5ms)
  Rendered layouts/_footer.html.slim (12.1ms)
Completed 200 OK in 6458ms (Views: 6373.4ms | ActiveRecord: 12.1ms)
Started GET "/assets/default/stylesheets/style.css" for 192.168.0.191 at 2015-04-03 19:12:01 +0100
Started GET "/assets/glyphicons-halflings-regular.woff" for 192.168.0.191 at 2015-04-03 19:12:02 +0100
Started GET "/tab/disks/disk_wizards/get_all_devices?_=1428084721999" for 192.168.0.191 at 2015-04-03 19:12:02 +0100
Processing by DiskServiceController#get_all_devices as JS
  Parameters: {"_"=>"1428084721999"}
  Rendered plugins/1001-disk_wizards/app/views/disk_service/_devices.html.erb (174.5ms)
  Rendered plugins/1001-disk_wizards/app/views/disk_service/get_all_devices.js.erb (201.6ms)
Completed 200 OK in 6431ms (Views: 253.2ms | ActiveRecord: 22.7ms)
Started POST "/tab/disks/disk_wizards/file_system" for 192.168.0.191 at 2015-04-03 19:13:36 +0100
Processing by DiskWizardsController#select_fs as HTML
  Parameters: {"utf8"=>"?", "authenticity_token"=>"hLzqXDklVebSuCbWHtqVvYOhYsk8ldxiJb44Ugt6ds8=", "device"=>"/dev/sdb"}
  Rendered plugins/1001-disk_wizards/app/views/disk_wizards/select_fs.html.erb within layouts/wizard (150.5ms)
  Rendered shared/_js_vars.html.slim (1.2ms)
  Rendered layouts/_searchform.html.slim (1.3ms)
  Rendered layouts/_header.html.slim (6.3ms)
  Rendered shared/_flash_messages.html.slim (0.3ms)
  Rendered layouts/_footer.html.slim (1.3ms)
Completed 200 OK in 528ms (Views: 190.6ms | ActiveRecord: 23.0ms)
Started GET "/assets/default/stylesheets/style.css" for 192.168.0.191 at 2015-04-03 19:13:36 +0100
Started GET "/assets/glyphicons-halflings-regular.woff" for 192.168.0.191 at 2015-04-03 19:13:37 +0100
Started POST "/tab/disks/disk_wizards/manage" for 192.168.0.191 at 2015-04-03 19:13:55 +0100
Processing by DiskWizardsController#manage_disk as 
  Parameters: {"utf8"=>"?", "authenticity_token"=>"hLzqXDklVebSuCbWHtqVvYOhYsk8ldxiJb44Ugt6ds8=", "device"=>"/dev/sdb", "model"=>"SAMSUNG HD204UI", "partition"=>"/dev/sdb", "fs_type"=>"0"}
  Rendered plugins/1001-disk_wizards/app/views/disk_wizards/manage_disk.html.erb within layouts/wizard (4.7ms)
  Rendered shared/_js_vars.html.slim (6.8ms)
  Rendered layouts/_searchform.html.slim (7.1ms)
  Rendered layouts/_header.html.slim (42.8ms)
  Rendered shared/_flash_messages.html.slim (6.6ms)
  Rendered layouts/_footer.html.slim (12.3ms)
Completed 200 OK in 229ms (Views: 177.1ms | ActiveRecord: 23.6ms)
Started GET "/assets/default/stylesheets/style.css" for 192.168.0.191 at 2015-04-03 19:13:56 +0100
Started GET "/assets/glyphicons-halflings-regular.woff" for 192.168.0.191 at 2015-04-03 19:13:56 +0100
Started POST "/tab/disks/disk_wizards/confirmation" for 192.168.0.191 at 2015-04-03 19:14:08 +0100
Processing by DiskWizardsController#confirmation as HTML
  Parameters: {"utf8"=>"?", "authenticity_token"=>"hLzqXDklVebSuCbWHtqVvYOhYsk8ldxiJb44Ugt6ds8=", "device"=>"/dev/sdb", "option"=>["1"], "label"=>"disk 2"}
  Rendered plugins/1001-disk_wizards/app/views/disk_wizards/confirmation.html.erb within layouts/wizard (8.4ms)
  Rendered shared/_js_vars.html.slim (0.8ms)
  Rendered layouts/_searchform.html.slim (1.7ms)
  Rendered layouts/_header.html.slim (6.3ms)
  Rendered shared/_flash_messages.html.slim (0.3ms)
  Rendered layouts/_footer.html.slim (111.5ms)
Completed 200 OK in 481ms (Views: 146.7ms | ActiveRecord: 20.5ms)
Started GET "/assets/default/stylesheets/style.css" for 192.168.0.191 at 2015-04-03 19:14:09 +0100
Started GET "/assets/glyphicons-halflings-regular.woff" for 192.168.0.191 at 2015-04-03 19:14:09 +0100
Started POST "/tab/disks/disk_wizards/process" for 192.168.0.191 at 2015-04-03 19:15:04 +0100
Processing by DiskWizardsController#progress as HTML
  Parameters: {"utf8"=>"?", "authenticity_token"=>"hLzqXDklVebSuCbWHtqVvYOhYsk8ldxiJb44Ugt6ds8=", "device"=>"/dev/sdb", "button"=>""}
  Rendered plugins/1001-disk_wizards/app/views/disk_wizards/progress.html.erb within layouts/wizard (43.6ms)
  Rendered shared/_js_vars.html.slim (0.8ms)
  Rendered layouts/_searchform.html.slim (1.2ms)
  Rendered layouts/_header.html.slim (5.5ms)
  Rendered shared/_flash_messages.html.slim (0.3ms)
  Rendered layouts/_footer.html.slim (1.2ms)
Completed 200 OK in 116ms (Views: 71.0ms | ActiveRecord: 18.4ms)
Started GET "/assets/default/stylesheets/style.css" for 192.168.0.191 at 2015-04-03 19:15:04 +0100
Started GET "/assets/disk_wizard/progress-eeb3a4c6ad96eef405162fd47cac486d.gif" for 192.168.0.191 at 2015-04-03 19:15:04 +0100
Started GET "/assets/glyphicons-halflings-regular.woff" for 192.168.0.191 at 2015-04-03 19:15:04 +0100
Started POST "/tab/disks/disk_wizards/ajax_process" for 192.168.0.191 at 2015-04-03 19:15:04 +0100
Processing by DiskWizardsController#process_disk as JSON
Started GET "/tab/disks/disk_wizards/get_progress" for 192.168.0.191 at 2015-04-03 19:15:06 +0100
Processing by DiskWizardsController#operations_progress as JSON
Completed 200 OK in 164ms (Views: 1.0ms | ActiveRecord: 21.7ms)
Started GET "/tab/disks/disk_wizards/get_progress" for 192.168.0.191 at 2015-04-03 19:15:08 +0100
Processing by DiskWizardsController#operations_progress as JSON
Completed 200 OK in 46ms (Views: 0.8ms | ActiveRecord: 18.1ms)
Started GET "/tab/disks/disk_wizards/get_progress" for 192.168.0.191 at 2015-04-03 19:15:10 +0100
Processing by DiskWizardsController#operations_progress as JSON
Completed 200 OK in 178ms (Views: 0.9ms | ActiveRecord: 33.7ms)
Started GET "/tab/disks/disk_wizards/get_progress" for 192.168.0.191 at 2015-04-03 19:15:12 +0100
Processing by DiskWizardsController#operations_progress as JSON
Completed 200 OK in 54ms (Views: 0.6ms | ActiveRecord: 22.8ms)
Started GET "/tab/disks/disk_wizards/get_progress" for 192.168.0.191 at 2015-04-03 19:15:14 +0100
Processing by DiskWizardsController#operations_progress as JSON
Completed 200 OK in 44ms (Views: 0.8ms | ActiveRecord: 10.5ms)
Started GET "/tab/disks/disk_wizards/get_progress" for 192.168.0.191 at 2015-04-03 19:15:16 +0100
Processing by DiskWizardsController#operations_progress as JSON
Completed 200 OK in 51ms (Views: 0.8ms | ActiveRecord: 24.0ms)
Started GET "/tab/disks/disk_wizards/get_progress" for 192.168.0.191 at 2015-04-03 19:15:18 +0100
Processing by DiskWizardsController#operations_progress as JSON
Completed 200 OK in 50ms (Views: 0.9ms | ActiveRecord: 23.1ms)
Started GET "/tab/disks/disk_wizards/get_progress" for 192.168.0.191 at 2015-04-03 19:15:20 +0100
Processing by DiskWizardsController#operations_progress as JSON
Completed 200 OK in 48ms (Views: 0.8ms | ActiveRecord: 21.2ms)
Started GET "/tab/disks/disk_wizards/get_progress" for 192.168.0.191 at 2015-04-03 19:15:22 +0100
Processing by DiskWizardsController#operations_progress as JSON
Completed 200 OK in 45ms (Views: 0.8ms | ActiveRecord: 18.6ms)
Started GET "/tab/disks/disk_wizards/get_progress" for 192.168.0.191 at 2015-04-03 19:15:24 +0100
Processing by DiskWizardsController#operations_progress as JSON
Completed 200 OK in 42ms (Views: 0.6ms | ActiveRecord: 16.3ms)
Started GET "/tab/disks/disk_wizards/get_progress" for 192.168.0.191 at 2015-04-03 19:15:26 +0100
Processing by DiskWizardsController#operations_progress as JSON
Completed 200 OK in 40ms (Views: 0.7ms | ActiveRecord: 14.2ms)
Redirected to http://192.168.0.5/tab/disks/disk_wizards/error
Completed 302 Found in 23803ms (ActiveRecord: 136.3ms)

ActionDispatch::Cookies::CookieOverflow (ActionDispatch::Cookies::CookieOverflow):
  vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/middleware/cookies.rb:529:in `[]='
  vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/middleware/session/cookie_store.rb:110:in `set_cookie'
  vendor/bundle/ruby/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:350:in `commit_session'
  vendor/bundle/ruby/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:226:in `context'
  vendor/bundle/ruby/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
  vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/middleware/cookies.rb:560:in `call'
  vendor/bundle/ruby/gems/activerecord-4.1.4/lib/active_record/query_cache.rb:36:in `call'
  vendor/bundle/ruby/gems/activerecord-4.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
  vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  vendor/bundle/ruby/gems/activesupport-4.1.4/lib/active_support/callbacks.rb:82:in `run_callbacks'
  vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
  vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/rack/logger.rb:38:in `call_app'
  vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/rack/logger.rb:20:in `block in call'
  vendor/bundle/ruby/gems/activesupport-4.1.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
  vendor/bundle/ruby/gems/activesupport-4.1.4/lib/active_support/tagged_logging.rb:26:in `tagged'
  vendor/bundle/ruby/gems/activesupport-4.1.4/lib/active_support/tagged_logging.rb:68:in `tagged'
  vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/rack/logger.rb:20:in `call'
  vendor/bundle/ruby/gems/request_store-1.0.7/lib/request_store/middleware.rb:8:in `call'
  vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
  vendor/bundle/ruby/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
  vendor/bundle/ruby/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
  vendor/bundle/ruby/gems/activesupport-4.1.4/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
  vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/middleware/static.rb:64:in `call'
  vendor/bundle/ruby/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
  vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/engine.rb:514:in `call'
  vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/application.rb:144:in `call'
  vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/railtie.rb:194:in `public_send'
  vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/railtie.rb:194:in `method_missing'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/request_handler.rb:97:in `process_request'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_request_handler.rb:521:in `accept_and_process_next_request'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/application_spawner.rb:171:in `block in handle_spawn_application'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/utils.rb:470:in `safe_fork'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/application_spawner.rb:166:in `handle_spawn_application'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb:180:in `start'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/application_spawner.rb:129:in `start'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
  /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
  /usr/share/gems/gems/passenger-3.0.21/helper-scripts/passenger-spawn-server:102:in `<main>'

Started GET "/tab/disks/disk_wizards/get_progress" for 192.168.0.191 at 2015-04-03 19:15:28 +0100
Processing by DiskWizardsController#operations_progress as JSON
Completed 200 OK in 49ms (Views: 1.1ms | ActiveRecord: 16.0ms)
Started GET "/tab/disks/disk_wizards/error" for 192.168.0.191 at 2015-04-03 19:15:28 +0100
Processing by DiskWizardsController#error as HTML
  Rendered plugins/1001-disk_wizards/app/views/disk_wizards/error.html.erb within layouts/wizard (4.3ms)
  Rendered shared/_js_vars.html.slim (0.8ms)
  Rendered layouts/_searchform.html.slim (1.2ms)
  Rendered layouts/_header.html.slim (5.8ms)
  Rendered shared/_flash_messages.html.slim (0.3ms)
  Rendered layouts/_footer.html.slim (1.2ms)
Completed 200 OK in 64ms (Views: 30.5ms | ActiveRecord: 9.4ms)
Started GET "/assets/default/stylesheets/style.css" for 192.168.0.191 at 2015-04-03 19:15:28 +0100
Started GET "/assets/glyphicons-halflings-regular.woff" for 192.168.0.191 at 2015-04-03 19:15:29 +0100
Started GET "/tab/disks/disk_wizards/debug_info" for 192.168.0.191 at 2015-04-03 19:16:24 +0100
Processing by DiskWizardsController#debug_info as JSON
Completed 200 OK in 2507ms (Views: 0.8ms | ActiveRecord: 21.2ms)
Started GET "/tab/disks/disk_wizards/debug_info" for 192.168.0.191 at 2015-04-03 19:16:54 +0100
Processing by DiskWizardsController#debug_info as JSON
Completed 200 OK in 2359ms (Views: 0.8ms | ActiveRecord: 24.7ms)
Started GET "/tab/disks/disk_wizards/debug_info" for 192.168.0.191 at 2015-04-03 19:16:58 +0100
Processing by DiskWizardsController#debug_info as JSON
Completed 200 OK in 1934ms (Views: 0.8ms | ActiveRecord: 18.2ms)
Started GET "/tab/disks/disk_wizards" for 192.168.0.191 at 2015-04-03 19:17:10 +0100
Processing by DiskWizardsController#select_device as HTML
  Rendered plugins/1001-disk_wizards/app/views/disk_wizards/select_device.html.erb within layouts/wizard (9.2ms)
  Rendered shared/_js_vars.html.slim (0.9ms)
  Rendered layouts/_searchform.html.slim (1.2ms)
  Rendered layouts/_header.html.slim (5.5ms)
  Rendered shared/_flash_messages.html.slim (0.3ms)
  Rendered layouts/_footer.html.slim (1.2ms)
Completed 200 OK in 152ms (Views: 36.2ms | ActiveRecord: 18.8ms)
Started GET "/assets/default/stylesheets/style.css" for 192.168.0.191 at 2015-04-03 19:17:10 +0100
Started GET "/assets/glyphicons-halflings-regular.woff" for 192.168.0.191 at 2015-04-03 19:17:10 +0100
Started GET "/tab/disks/disk_wizards/get_all_devices?_=1428085030499" for 192.168.0.191 at 2015-04-03 19:17:10 +0100
Processing by DiskServiceController#get_all_devices as JS
  Parameters: {"_"=>"1428085030499"}
  Rendered plugins/1001-disk_wizards/app/views/disk_service/_devices.html.erb (81.7ms)
  Rendered plugins/1001-disk_wizards/app/views/disk_service/get_all_devices.js.erb (96.3ms)
Completed 200 OK in 6500ms (Views: 122.3ms | ActiveRecord: 8.3ms)
Started GET "/tab/disks/disk_wizards/get_all_devices?_=1428085030500" for 192.168.0.191 at 2015-04-03 19:17:22 +0100
Processing by DiskServiceController#get_all_devices as JS
  Parameters: {"_"=>"1428085030500"}
  Rendered plugins/1001-disk_wizards/app/views/disk_service/_devices.html.erb (73.8ms)
  Rendered plugins/1001-disk_wizards/app/views/disk_service/get_all_devices.js.erb (88.4ms)
Completed 200 OK in 6418ms (Views: 113.5ms | ActiveRecord: 18.3ms)
Started POST "/tab/disks/disk_wizards/file_system" for 192.168.0.191 at 2015-04-03 19:17:34 +0100
Processing by DiskWizardsController#select_fs as HTML
  Parameters: {"utf8"=>"?", "authenticity_token"=>"hLzqXDklVebSuCbWHtqVvYOhYsk8ldxiJb44Ugt6ds8="}
Redirected to http://192.168.0.5/tab/disks/disk_wizards/select
Completed 302 Found in 78ms (ActiveRecord: 42.1ms)
Started GET "/tab/disks/disk_wizards/select" for 192.168.0.191 at 2015-04-03 19:17:34 +0100
Processing by DiskWizardsController#select_device as HTML
  Rendered plugins/1001-disk_wizards/app/views/disk_wizards/select_device.html.erb within layouts/wizard (8.3ms)
  Rendered shared/_js_vars.html.slim (1.0ms)
  Rendered layouts/_searchform.html.slim (1.3ms)
  Rendered layouts/_header.html.slim (5.6ms)
  Rendered shared/_flash_messages.html.slim (0.4ms)
  Rendered layouts/_footer.html.slim (1.2ms)
Completed 200 OK in 145ms (Views: 35.5ms | ActiveRecord: 23.3ms)
Started GET "/assets/default/stylesheets/style.css" for 192.168.0.191 at 2015-04-03 19:17:34 +0100
Started GET "/assets/glyphicons-halflings-regular.woff" for 192.168.0.191 at 2015-04-03 19:17:34 +0100
Started GET "/tab/disks/disk_wizards/get_all_devices?_=1428085054587" for 192.168.0.191 at 2015-04-03 19:17:34 +0100
Processing by DiskServiceController#get_all_devices as JS
  Parameters: {"_"=>"1428085054587"}
  Rendered plugins/1001-disk_wizards/app/views/disk_service/_devices.html.erb (77.8ms)
  Rendered plugins/1001-disk_wizards/app/views/disk_service/get_all_devices.js.erb (92.5ms)
Completed 200 OK in 6444ms (Views: 118.7ms | ActiveRecord: 16.6ms)
Started GET "/tab/disks/disk_wizards/get_all_devices?_=1428085054588" for 192.168.0.191 at 2015-04-03 20:02:35 +0100
Processing by DiskServiceController#get_all_devices as JS
  Parameters: {"_"=>"1428085054588"}
  Rendered plugins/1001-disk_wizards/app/views/disk_service/_devices.html.erb (175.4ms)
  Rendered plugins/1001-disk_wizards/app/views/disk_service/get_all_devices.js.erb (190.7ms)
Completed 200 OK in 6685ms (Views: 215.8ms | ActiveRecord: 16.7ms)
Started GET "/tab/disks/disk_wizards/get_all_devices?_=1428085054589" for 192.168.0.191 at 2015-04-03 20:02:55 +0100
Processing by DiskServiceController#get_all_devices as JS
  Parameters: {"_"=>"1428085054589"}
  Rendered plugins/1001-disk_wizards/app/views/disk_service/_devices.html.erb (82.4ms)
  Rendered plugins/1001-disk_wizards/app/views/disk_service/get_all_devices.js.erb (96.8ms)
Completed 200 OK in 9382ms (Views: 123.6ms | ActiveRecord: 23.0ms)
Started GET "/tab/disks" for 192.168.0.191 at 2015-04-03 20:09:16 +0100
Processing by DisksController#index as HTML
  Rendered plugins/030-disks/app/views/disks/index.html.slim within layouts/application (14.8ms)
  Rendered shared/_js_vars.html.slim (1.1ms)
  Rendered layouts/_searchform.html.slim (1.3ms)
  Rendered layouts/_header.html.slim (6.1ms)
  Rendered layouts/_subheader.html.slim (6.0ms)
  Rendered shared/_flash_messages.html.slim (0.3ms)
  Rendered shared/_tabs.html.slim (17.1ms)
  Rendered layouts/_footer.html.slim (1.5ms)
Completed 200 OK in 1134ms (Views: 357.6ms | ActiveRecord: 18.2ms)

#3 Updated by tmkasun over 4 years ago

  • Assignee set to tmkasun

It seems session variable has caused to overflow the 4kb limit in browser cookies,because,in default rails store session data on browser cookies, but there is an option1 to change it to database(active_record_store) eliminating the 4kb limit.

In diskwizard we use rails session variable2 to keep track of the user selections during the wizard steps ,
so there is a (rare) chance to get it overflow the 4kb limit.

And at the same time there is a another issue here , that there is a space character in mount point location , which might confuse the fstab parser since white spaces are used in fstab to separate the attributes.

IMO we can fix this issue by replacing whites with "_" using a regex pattern (i.e: gsub /\s+/, "_" ) in here3

[1]: http://guides.rubyonrails.org/security.html#session-guidelines

[2]: https://github.com/amahi/disk-wizard/blob/master/app/controllers/disk_wizard_controller.rb#L127

[3]: https://github.com/amahi/disk-wizard/blob/master/app/controllers/disk_wizard_controller.rb#L60

#4 Updated by rhglass over 4 years ago

Once this has been change let me know, I will be able to test do some more testing

#5 Updated by cpg about 4 years ago

  • Subject changed from disk_wizards to disk wizard issues

Also available in: Atom