Bom dia Pessoal. Estou com um problema no i-diario, após atualizar o ieducar acessei o idiario pra fazer a sincronização, mas aparece que estar fazendo uma sincronização desde 18 de Julho com estado atual “Em andamento (0%)”. Acessei a tabela “ieducar_api_synchronizations” no banco do i-diario e ela está em branco.
Verifiquei com pessoal que fez a instalação e passaram que não estão conseguindo estartar o sidekiq.
Segue em anexo log do erro:
W, [2022-08-10T12:41:47.518687 #2105] WARN -- Skylight: [SKYLIGHT] [4.3.2] Running Skylight in development mode. No data will be reported until you deploy your app.
(To disable this message for all local apps, run `skylight disable_dev_warning`.)
/usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:457:in `load': /var/www/idiario/app/models/student_enrollment.rb:116: syntax error, unexpected '.' (SyntaxError)
... .student&
... ^
from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:457:in `block in load_file'
from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:647:in `new_constants_in'
from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:456:in `load_file'
from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:354:in `require_or_load'
from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:317:in `depend_on'
from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:233:in `require_dependency'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/engine.rb:471:in `each'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/engine.rb:471:in `block in eager_load!'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/engine.rb:469:in `each'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/engine.rb:469:in `eager_load!'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/engine.rb:346:in `eager_load!'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/application/finisher.rb:56:in `each'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/initializable.rb:30:in `instance_exec'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/initializable.rb:30:in `run'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:347:in `each'
from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:347:in `call'
from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component'
from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/initializable.rb:54:in `run_initializers'
from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/application.rb:352:in `initialize!'
from /var/www/idiario/config/environment.rb:5:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.5.8/gems/skylight-core-4.3.2/lib/skylight/core/probes.rb:118:in `require'
from /usr/local/rvm/gems/ruby-2.5.8/gems/skylight-core-4.3.2/lib/skylight/core/probes.rb:118:in `require'
from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in `block in require'
from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:240:in `load_dependency'
from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in `require'
from /usr/local/rvm/gems/ruby-2.5.8/gems/sidekiq-5.0.3/lib/sidekiq/cli.rb:254:in `boot_system'
from /usr/local/rvm/gems/ruby-2.5.8/gems/sidekiq-5.0.3/lib/sidekiq/cli.rb:54:in `run'
from /usr/local/rvm/gems/ruby-2.5.8/gems/sidekiq-5.0.3/bin/sidekiq:12:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.5.8/bin/sidekiq:23:in `load'
from /usr/local/rvm/gems/ruby-2.5.8/bin/sidekiq:23:in `<main>'
from /usr/local/rvm/gems/ruby-2.5.8/bin/ruby_executable_hooks:22:in `eval'
from /usr/local/rvm/gems/ruby-2.5.8/bin/ruby_executable_hooks:22:in `<main>'