Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. [Update] OpenProject 8.2.1 to 9.0.1 configuration fails (SassC::SyntaxError)

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

Added by Tobias Braun almost 6 years ago

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'


Replies (3)

RE: [Update] OpenProject 8.2.1 to 9.0.1 configuration fails (SassC::SyntaxError) - Added by Tobias Braun almost 6 years ago

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

RE: [Update] OpenProject 8.2.1 to 9.0.1 configuration fails (SassC::SyntaxError) - Added by Oliver Günther almost 6 years ago

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 #30372

Best,

Oliver

RE: [Update] OpenProject 8.2.1 to 9.0.1 configuration fails (SassC::SyntaxError) - Added by Tobias Braun almost 6 years ago

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

  • (1 - 3/3)
Loading...