Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install plugins #1329

Open
felixh85 opened this issue Oct 8, 2024 · 1 comment
Open

Unable to install plugins #1329

felixh85 opened this issue Oct 8, 2024 · 1 comment

Comments

@felixh85
Copy link

felixh85 commented Oct 8, 2024

Hi,

I want to install a new instance of the bimserver in the tomcat of one of our servers. So i downloaded the latest bimserver WAR file (bimserverwar-1.5.185.war). I added it to the Tomcat 9 running on the server and accessed the configuration of the bimserver. After pressing "Setup" at the end, I get an error message for the installation of the plugins:
No plugin bundle available for your version of BIMserver: org.opensourcebim.bimviews
This is just an example. I get the same error message for the other plugin.

Checking the logs, I find the following error:

2024-10-08 14:42:26,327 WARN [DefaultMetadataResolver-0-0] o.e.a.i.i.DefaultUpdateCheckManager [TrackingFileManager.java:88] Failed to create parent directories for tracking file /.m2/repository/org/opensourcebim/bimviews/resolver-status.properties
2024-10-08 14:42:26,765 WARN [DefaultMetadataResolver-0-2] o.e.a.i.i.DefaultUpdateCheckManager [TrackingFileManager.java:88] Failed to create parent directories for tracking file /.m2/repository/org/opensourcebim/bimviews/resolver-status.properties
2024-10-08 14:42:26,767 WARN [DefaultMetadataResolver-0-1] o.e.a.i.i.DefaultUpdateCheckManager [TrackingFileManager.java:88] Failed to create parent directories for tracking file /.m2/repository/org/opensourcebim/bimviews/resolver-status.properties

From checking the forum, I found that the .m2 folder is missing and should be created. I did that. I created the path /.m2/repository/ and gae it full rights and assigned the owner to tomcat. Still this does not help. Can someone please help me with this issue. Thanks.

@hlg
Copy link
Member

hlg commented Oct 8, 2024

Assuming you are on a Linux system. The .m2 folder will be created in the user home of the user running Tomcat and must be writable. Check for the user home with /etc/passwd. It looks like in your case the home of the user running Tomcat is the root folder /. Make sure Tomcat is not accidentially running with a different user from the one you assume (e.g. ps aux | grep tomcat). If you run Tomcat with a security manager, also check the policies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants