Open link in a new tab

Content

Expand project menu

[Update] OpenProject 8.2.1 to 9.0.1 configuration fails (SassC::SyntaxError)

Good morning,

I followed the instruction to update to OP 9.0.1 from 8.2.1 and have the following issue during the configuration. Hope you can help me in short time, since OP needs to run here again ;-):

*** Loading openproject_boards seed data
SCM vendor Subversion uses remote managed repositories. Skipping.
RECOMPILE_RAILS_ASSETS was set by installation, but RECOMPILE_ANGULAR_ASSETS is false. Skipping angular compilation. Set RECOMPILE_ANGULAR_ASSETS='true' if you need to force it.
rake aborted!
SassC::SyntaxError: Error: File to import not found or unreadable: helpers/functions.
        on line 33 of app/assets/stylesheets/openproject/_settings.scss
        from line 37 of app/assets/stylesheets/openproject.sass
>> @import "helpers/functions";

   ^
/opt/openproject/app/assets/stylesheets/openproject/_settings.scss:33
/opt/openproject/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/lib/sassc/engine.rb:49:in `render'
/opt/openproject/vendor/bundle/ruby/2.6.0/gems/sassc-rails-2.1.0/lib/sassc/rails/template.rb:40:in `block in call'

Message actions

The RPM installation throwed also a lot of errors (these are not all):

warning: file /opt/openproject/tmp/cache/assets/sprockets/v3.0/zz/zzuSq9yNUxU3DrPMe0u_QEYGXzE8nNaW4qL_HNJBa5I.cache: remove failed: No such file or directo                                       ry
warning: file /opt/openproject/tmp/cache/assets/sprockets/v3.0/zz/zzh0yiV3mRWgtl06MeOMZfEqNHHVpjvkSEGoBbftgIY.cache: remove failed: No such file or directo                                       ry
warning: file /opt/openproject/tmp/cache/assets/sprockets/v3.0/zz/zzWme8TDkTvQ46P0NPq8Jl66_VxzmkwV8d7TnUwLpDA.cache: remove failed: No such file or directo                                       ry
warning: file /opt/openproject/tmp/cache/assets/sprockets/v3.0/zy/zylzxJ5SwoIQrzWbiayQ3-tJMhA5eJd37UBcDxtZTQE.cache: remove failed: No such file or directo                                       ry
warning: file /opt/openproject/tmp/cache/assets/sprockets/v3.0/zy/zy_J-IunhOlnWmW8Kr89hXihCuD25EZP5XiGg96WSBk.cache: remove failed: No such file or directo                                       ry

Message actions

Hi Tobias,

please set openproject config:set RECOMPILE_ANGULAR_ASSETS=true before you run openproject configure. There's a bug in 9.0. when using relative URL roots and recompilation without node modules that will result in the error you're seeing.

If you set this flag, frontend dependencies will be installed and compiled so your installation will be a bit bigger and take longer to configure. I'm working on a solution for 9.0.2 as part of OP-5930

Best,

Oliver

Message actions

Hi Oliver,

thanks for the hint. This helped to finish the configuration. I then also did reconfiguration since the page could not be displayed. This also did not help. So I did a restart with 

sudo openproject restart

Now the website loads again, but some of the icons are not displayed.  I send you a picture via mail. Can not attach it here.

Thanks,

Tobias