ClusterLabs / hawk

A web-based GUI for managing and monitoring the Pacemaker High-Availability cluster resource manager
http://hawk-ui.github.io/
GNU General Public License v2.0
151 stars 51 forks source link

Hawk:Rack app error handling request { GET /roboto-v15-latin-regular.woff } #248

Closed xiaomancy closed 3 years ago

xiaomancy commented 3 years ago

Hawk Version : 2.6.15 OS:ubuntu

OS error Messages periodicity about hawk service by "journalctl -xf" :

3月 30 22:13:03 ubuntu puma[777]: 2021-03-30 22:13:03 +0800: Rack app error handling request { GET /roboto-v15-latin-regular.woff } 3月 30 22:13:03 ubuntu puma[777]: #<Errno::EACCES: Permission denied @ utime_internal - /usr/share/hawk/tmp/cache/assets/sprockets/v3.0/oR/oRRLppPQiVBIkytrZdGaoQR5Ua0aEDmLHC7DaxpxWKs.cache> 3月 30 22:13:03 ubuntu puma[777]: /usr/lib/ruby/2.3.0/fileutils.rb:1154:in utime' 3月 30 22:13:03 ubuntu puma[777]: /usr/lib/ruby/2.3.0/fileutils.rb:1154:inblock in touch' 3月 30 22:13:03 ubuntu puma[777]: /usr/lib/ruby/2.3.0/fileutils.rb:1151:in each' 3月 30 22:13:03 ubuntu puma[777]: /usr/lib/ruby/2.3.0/fileutils.rb:1151:intouch' 3月 30 22:13:03 ubuntu puma[777]: /var/lib/gems/2.3.0/gems/sprockets-3.7.2/lib/sprockets/cache/file_store.rb:67:in get' 3月 30 22:13:03 ubuntu puma[777]: /var/lib/gems/2.3.0/gems/sprockets-3.7.2/lib/sprockets/cache.rb:208:inget' 3月 30 22:13:03 ubuntu puma[777]: /var/lib/gems/2.3.0/gems/sprockets-3.7.2/lib/sprockets/cache.rb:83:in fetch' 3月 30 22:13:03 ubuntu puma[777]: /var/lib/gems/2.3.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:56:infile_digest' 3月 30 22:13:03 ubuntu puma[777]: /var/lib/gems/2.3.0/gems/sprockets-3.7.2/lib/sprockets/unloaded_asset.rb:104:in dependency_history_key' 3月 30 22:13:03 ubuntu puma[777]: /var/lib/gems/2.3.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:304:infetch_asset_from_dependency_cache'

How to solve it ? thnks

xiaomancy commented 3 years ago

chmod -R 777 /usr/share/hawk