Removed old-style roles declaration in tasks from the capistrano config. Use only version 3-style roles in tasks instead (on roles :app do...)