opensourceBIM / BIMserver

The open source BIMserver platform
GNU Affero General Public License v3.0
1.56k stars 611 forks source link

Unable to install plugins #1329

Closed felixh85 closed 1 day ago

felixh85 commented 1 month ago

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 commented 1 month ago

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.

zaqifathis commented 1 day ago

is this still an issue?

felixh85 commented 1 day ago

Sorry, no we made it work with your reply. Thanks.

Am Do., 21. Nov. 2024 um 16:39 Uhr schrieb zqf @.***>:

is this still an issue?

— Reply to this email directly, view it on GitHub https://github.com/opensourceBIM/BIMserver/issues/1329#issuecomment-2491570782, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGJUOBFEFTGYVNWNUK2UXST2BX5DPAVCNFSM6AAAAABPSO226CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJRGU3TANZYGI . You are receiving this because you authored the thread.Message ID: @.***>

zaqifathis commented 1 day ago

thanks for your quick reply 👍🏼