Added by John Digilio over 9 years ago
After upgrading from 4.1 to 4.2 we have had some strange rendering issues. I’ve attached a image of our main login screen in 4.2.6. There is no login or help displayed, but if you cursor over the right side of the screen under the search box they appear. This has caused confusion for our customers. I’ve inspected the CSS between 4.2.6 and our 4.1.x production environment and it seems to be the same - We are running Redhat 6 - Thanks
Replies (11)
Hi John,
how did you install OpenProject? Packager based or manual?
And what steps did you take to upgrade?
Best,
Jonas
Jonas,
I built via the packaged installation and upgraded following the directions here: https://www.openproject.org/open-source/packaged-installation/packaged-installation-community/
Hi John,
sorry for not getting back to you so long. Could try to upgrade again and post the output (of
apt-get install
andopenproject-ce configure
) here?Thanks,
Jonas
Jonas,
Here is the output from yum update
sudo yum update
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
openproject | 2.9 kB 00:00
rhel-6-server-optional-rpms | 3.5 kB 00:00
rhel-6-server-rpms | 3.7 kB 00:00
Resolving Dependencies
—> Running transaction check
—-> Package openldap.x86_64 0:2.4.40-5.el6 will be updated
—-> Package openldap.x86_64 0:2.4.40-6.el6_7 will be an update
—-> Package openldap-devel.x86_64 0:2.4.40-5.el6 will be updated
—-> Package openldap-devel.x86_64 0:2.4.40-6.el6_7 will be an update
—-> Package tzdata.noarch 0:2015f-1.el6 will be updated
—-> Package tzdata.noarch 0:2015g-2.el6 will be an update
—> Finished Dependency Resolution
Dependencies Resolved
Package Arch Version Repository Size
Updating:
openldap x86_64 2.4.40-6.el6_7 rhel-6-server-rpms 283 k
openldap-devel x86_64 2.4.40-6.el6_7 rhel-6-server-rpms 1.1 M
tzdata noarch 2015g-2.el6 rhel-6-server-rpms 440 k
Transaction Summary
Upgrade 3 Package(s)
Total download size: 1.8 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): openldap-2.4.40-6.el6_7.x86_64.rpm | 283 kB 00:00
(2/3): openldap-devel-2.4.40-6.el6_7.x86_64.rpm | 1.1 MB 00:00
(3/3): tzdata-2015g-2.el6.noarch.rpm | 440 kB 00:00
————————————————————————————————————————
Total 1.6 MB/s | 1.8 MB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : openldap-2.4.40-6.el6_7.x86_64 1/6
Updating : openldap-devel-2.4.40-6.el6_7.x86_64 2/6
Updating : tzdata-2015g-2.el6.noarch 3/6
Cleanup : openldap-devel-2.4.40-5.el6.x86_64 4/6
Cleanup : tzdata-2015f-1.el6.noarch 5/6
Cleanup : openldap-2.4.40-5.el6.x86_64 6/6
rhel-6-server-rpms/productid | 1.7 kB 00:00
rhel-sap-for-rhel-6-server-rpms/productid | 1.7 kB 00:00
Verifying : openldap-devel-2.4.40-6.el6_7.x86_64 1/6
Verifying : openldap-2.4.40-6.el6_7.x86_64 2/6
Verifying : tzdata-2015g-2.el6.noarch 3/6
Verifying : tzdata-2015f-1.el6.noarch 4/6
Verifying : openldap-devel-2.4.40-5.el6.x86_64 5/6
Verifying : openldap-2.4.40-5.el6.x86_64 6/6
Updated:
openldap.x86_64 0:2.4.40-6.el6_7 openldap-devel.x86_64 0:2.4.40-6.el6_7
tzdata.noarch 0:2015g-2.el6
Complete!
Here is the output from yum install openproject-ce
yum install openproject-ce
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Nothing to do
Here is the output from openproject-ce configure
openproject-ce configure
Launching installer for openproject-ce…
Selected addons: legacy-installer mysql apache2 svn-dav smtp memcached openproje ct
[legacy-installer] ./bin/configure
[mysql] ./bin/configure
DONE
[apache2] ./bin/configure
DONE
[svn-dav] ./bin/configure
No server installed. Skipping.
DONE
[smtp] ./bin/configure
DONE
[memcached] ./bin/configure
DONE
[openproject] ./bin/configure
[legacy-installer] ./bin/preinstall
[mysql] ./bin/preinstall
[apache2] ./bin/preinstall
[svn-dav] ./bin/preinstall
[smtp] ./bin/preinstall
[memcached] ./bin/preinstall
No memcached server to install. Skipping.
[openproject] ./bin/preinstall
[legacy-installer] ./bin/postinstall
[mysql] ./bin/postinstall
[apache2] ./bin/postinstall
[svn-dav] ./bin/postinstall
[smtp] ./bin/postinstall
[memcached] ./bin/postinstall
[openproject] ./bin/postinstall
require ‘rails/all’… 0.640s
Bundler.require… 2.510s
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them i n your Gemfile, or fold them in to your app as lib/myplugin/* and config/initial izers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonr ails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required )> at /opt/openproject-ce/Rakefile:35)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them i n your Gemfile, or fold them in to your app as lib/myplugin/* and config/initial izers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonr ails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required )> at /opt/openproject-ce/Rakefile:35)
Application.initialize!… [deprecated] I18n.enforce_available_locales will defa ult to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
fatal: Not a git repository (or any of the parent directories): .git
5.080s
***** Seeding for locale: ‘en’
***** Loading all seed data
**** builtin_roles
**** admin_user
***** Loading production seed data
**** roles
***** Skipping roles as there are already some configured
**** activities
***** Skipping activities as there are already some configured
**** colors
***** Skipping colors as there are already some configured
**** workflows
***** Skipping types, statuses and workflows as there are already some configure d
**** priorities
***** Skipping priorities as there are already some configured
**** project_statuses
***** Skipping reported project status as there are already some configured
**** project_types
***** Skipping project types as there are already some configured
***** Loading bourbon_engine seed data
***** Loading prototype_rails_engine seed data
***** Loading openproject_translations seed data
***** Loading openproject_global_roles seed data
***** Loading openproject_help_link seed data
***** Loading openproject_my_project_page seed data
***** Loading openproject_documents seed data
***** Loading reportingengine seed data
***** Loading openproject_costs seed data
***** Loading openproject_reporting seed data
***** Loading openproject_meeting seed data
***** Loading openproject_pdf_export seed data
***** Loading openproject_backlogs seed data
**** Loading production seed data
***** settings
**** Skipping settings as there are already some configured
***** Loading openproject_emoji seed data
require ‘rails/all’… 0.550s
Bundler.require… 2.140s
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them i n your Gemfile, or fold them in to your app as lib/myplugin/* and config/initial izers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonr ails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required )> at /opt/openproject-ce/Rakefile:35)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them i n your Gemfile, or fold them in to your app as lib/myplugin/* and config/initial izers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonr ails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required )> at /opt/openproject-ce/Rakefile:35)
Application.initialize!… [deprecated] I18n.enforce_available_locales will defa ult to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
fatal: Not a git repository (or any of the parent directories): .git
4.740s
Nothing to do.
Nothing to do.
This job runs via upstart, invoking upstart now…
openproject-ce start/running
Thanks for your assistance.
I cannot see anything unusual in that.
If you right-click in the page you should see something like an option to ‘inspect element’. That leads you to some kind of developer tools (are you on Firefox or Chrome?). Could you maybe open the ‘console tab’ and have a look if there is something red, i.e. a 404 or something like this? It seems like the fonts aren’t getting loaded properly.
Jonas,
Yes, that is what it looks like - see below:
downloadable font: download failed (font-family: “Lato” style:italic weight:normal stretch:normal src index:1): status=2147746065 source: http://openproject.it.marist.edu/assets/lato/Lato-Italic-6f341718f9be54cc303f7a705723b3ac.woff
My fonts appear to be in: openproject.it.marist.edu/assets/fonts which doesn’t match the search location above.
Hi John,
how did you find out that the fonts are at
/assets/fonts
? Via the bash?Could you go (with your bash) to
/opt/openproject-ce/public/assets
and have a look what’s in there? Especially, if there is a folderfonts
orlato
?Jonas
Jonas,
Yes, I just poked around on the server to look for a directory that was similar to the one I saw in Firefox.
I do have a directory /opt/openproject-ce/public/assets/lato no folder /fonts at …/assets/
Here are the contents:
Lato-Bold-0b391ff9ae37d728b7d88123e9fb097f.woff Lato-Italic-69768b13077e06414eb4a7d7eaa031d6.eot Lato-LightItalic-5c75a1fb33ff0612981d3524e306987f.woff
Lato-Bold-16e0d0e2c9ca3f919f51a33625793ac7.eot Lato-Italic-a5118baa83de223a3d565baf9f625925.ttf Lato-LightItalic-920e8cee67a9e662c9791272e90bba61.ttf
Lato-Bold-a07f4fc67a96ca25e588938c87249974.ttf Lato-Italic-ee3dc6bae573f1565585022771f7e4a1.woff Lato-LightItalic-bd7a664f8d2fd8eaeacb43014c8e88c4.eot
Lato-BoldItalic-6100659643a0a0008770ccb540a8c376.eot Lato-Light-0305410ac7bd9f19bde83ffef88703a7.woff Lato-Regular-2c22729c0c555ca95a39f62965a9e202.ttf
Lato-BoldItalic-81b66443d4dbcf62699428cf405378f4.ttf Lato-Light-48f256d7108ef5aa81085d714ac55461.eot Lato-Regular-6d76e290b9a446c3a5bef3cc386c8e48.eot
Lato-BoldItalic-a556db27e7649b2bc1251c3bf7deb564.woff Lato-Light-7ff6a2bcbd9eb1d3c098d232d5e8ae6c.ttf Lato-Regular-88f380cfd19b8b68f2e83f078f1413c9.woff
Could you try
service openproject-ce restart
(maybe you need to run/sbin/service openproject-ce restart
)? It seems like your installations tries to load an old version of the font.And can you tell me from which version you upgraded to which version?
Jonas
Jonas,
No change - we went from 4.1.0 to 4.2.7 (I think it was 4.1.0, it was a while ago)
Jonas,
I have the missing fonts in my production copy of OpenProject. I’ll just copy them over to my development system. I’m not sure why the font files didn’t get updated as part of the upgrade process, but I think this will get me by for now.
Thanks for your time and assistance,
-John