cage_uses show (ShellCmd::BadExitStatus) "rsync -q -e \"ssh \" --include-from=/var/www/bikelink.

You need to create task for it on https://redmine.bikelink.org

  • Put link to note
A ShellCmd::BadExitStatus occurred in cage_uses#show:

 rsync -q -e "ssh " --include-from=/var/www/bikelink/tmp/rsync-includes-29356.txt -r camera@kiosk-0011:archives /var/www/bikelink/tmp/cache/camera/12
ssh: Could not resolve hostname kiosk-0011: Temporary failure in name resolution
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(235) [Receiver=3.1.2]

 app/lib/shell_cmd.rb:17:in `run'


-------------------------------
Request:
-------------------------------

 * URL        : https://bikelink.org/cage_uses/466067
 * HTTP Method: GET
 * IP address : 98.35.154.160
 * Parameters : {"controller"=>"cage_uses", "action"=>"show", "id"=>"466067"}
 * Timestamp  : 2020-10-27 21:48:39 UTC
 * Server : www-3.internal.bikelink.org
   * Rails root : /var/www/bikelink
 * Process: 29356

-------------------------------
Session:
-------------------------------

 * session id: [FILTERED]
 * data: {"session_id"=>"ba2d3b919c1f4218f48b3f67a210efc1",
  "warden.user.person.key"=>[[31069], "sTS8Ej46w_WwHcSCjmQv"],
  "_csrf_token"=>"JP7ZMh7nJRqXCHbc6TpBt6CwSvhgNyC9RQFcW4c6GH4=",
  "params_for_filter"=>
   {:filter_by_location=>nil,
    :filter_by_owner=>nil,
    :filter_by_state=>2,
    :filter_by_priority=>nil}}

-------------------------------
Backtrace:
-------------------------------

 app/lib/shell_cmd.rb:17:in `run'
 app/lib/rsync.rb:6:in `rsync'
 app/lib/camera_image_fetcher.rb:48:in `fetch'
 app/models/cage_use.rb:176:in `fetch_check_in_images'
 app/controllers/cage_uses_controller.rb:78:in `block (2 levels) in show'
 app/controllers/cage_uses_controller.rb:75:in `show'
Znovu načíst