Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Eazybi no longer start because of permissions error

Inayat Nahvi
Contributor
October 31, 2021

Hi,

At first EazyBI was running fine, but the export PDF function was not working.  This was apparently because Jira was running as the 'root' user on the Ubuntu host.   I fixed the jira home and jira install directory permissions and ownership and restarted jira.   

Now jira is running as the 'jira' user instead of the root user, but EazyBI does not work at all anymore.   I even rebuilt the plugins, but eazyBI still does not start.  Here is the error below.  Anyone have any ideas how to resolve this?

 

Permission denied - /var/atlassian/application-data/jira/log/eazybi-web.log from org/jruby/RubyIO.java:1237:in `sysopen' from org/jruby/RubyFile.java:365:in `initialize' from org/jruby/RubyIO.java:1156:in `open' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/logger.rb:746:in `open_logfile' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/logger.rb:738:in `set_dev' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/logger.rb:673:in `initialize' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/logger.rb:387:in `initialize' from /var/atlassian/application-data/jira/plugins/.osgi-plugins/felix/felix-cache/bundle265/version0.0/plugin_8486615374370582994_eazybi-jira-6.3.0_1635692340000.jar-lib/0/META-INF/rails.root/config/application.rb:147:in `<class:Application>' from /var/atlassian/application-data/jira/plugins/.osgi-plugins/felix/felix-cache/bundle265/version0.0/plugin_8486615374370582994_eazybi-jira-6.3.0_1635692340000.jar-lib/0/META-INF/rails.root/config/application.rb:51:in `<module:EazybiJira>' from /var/atlassian/application-data/jira/plugins/.osgi-plugins/felix/felix-cache/bundle265/version0.0/plugin_8486615374370582994_eazybi-jira-6.3.0_1635692340000.jar-lib/0/META-INF/rails.root/config/application.rb:38:in `<main>' from org/jruby/RubyKernel.java:974:in `require' from /var/atlassian/application-data/jira/plugins/.osgi-plugins/felix/felix-cache/bundle265/version0.0/plugin_8486615374370582994_eazybi-jira-6.3.0_1635692340000.jar-lib/0/META-INF/rails.root/config/environment.rb:2:in `<main>' from org/jruby/RubyKernel.java:974:in `require' from uri:classloader:/jruby/rack/rails/environment3.rb:25:in `load_environment' from uri:classloader:/jruby/rack/rails_booter.rb:83:in `load_environment' from <script>:1:in `<main>'

2 answers

2 accepted

1 vote
Answer accepted
Gatis Tomsons
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 1, 2021

Hi @Inayat Nahvi 

The error message "Permission denied - /var/atlassian/application-data/jira/log/eazybi-web.log" means, that eazyBI cannot access this log file. As previously the Jira was running as root and now runs as jira, then I presume there are some permission issues. Make sure JIRA_HOME recursively is owned by the user which runs Jira.

Inayat Nahvi
Contributor
November 1, 2021

Thanks @Gatis Tomsons . The Home directory was already owned by the jira user.  After applying chown jira:jira -R again, and restarted EazyBI, it fixed the issue.  Thanks.

1 vote
Answer accepted
Fabian Lim
Community Champion
October 31, 2021

Hi @Inayat Nahvi

Open a new ticket with eazyBI here and they should get back to you right away: https://eazybi.com/contact

Good luck

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.18.2
TAGS
AUG Leaders

Atlassian Community Events