Closed EugenMayer closed 1 month ago
Interesting, after understanding where the plugin should be downloaded to /opt/sonatype/nexus/deploy
it is actually there. So i seem not to understand how the above works at all or where download-plugin.sh comes from (i would still argue the plugin container should show some logs so one can see progress or things done?)
For me, the plugin now longer loads or is functional (it is https://search.maven.org/remotecontent?filepath=org/sonatype/nexus/plugins/nexus-repository-composer/0.1.5/nexus-repository-composer-0.1.5-bundle.kar
in my case) - no composer repository available
Are plugins generally working for you with 5.x?
i see
2024-10-11 06:35:19,977+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATING org.sonatype.nexus.plugins.nexus-repository-composer [0.1.5]
2024-10-11 06:35:20,011+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.extender.NexusBundleTracker - ACTIVATED org.sonatype.nexus.plugins.nexus-repository-composer [0.1.5]
..
2024-10-11 06:35:22,143+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.datastore.mybatis.MyBatisDataStore - nexus - Creating schema for ComposerContentRepositoryDAO
2024-10-11 06:35:22,151+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.datastore.mybatis.MyBatisDataStore - nexus - Creating schema for ComposerComponentDAO
2024-10-11 06:35:22,157+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.datastore.mybatis.MyBatisDataStore - nexus - Creating schema for ComposerAssetBlobDAO
2024-10-11 06:35:22,168+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.datastore.mybatis.MyBatisDataStore - nexus - Creating schema for ComposerAssetDAO
2024-10-11 06:35:22,173+0000 INFO [FelixStartLevel] *SYSTEM org.sonatype.nexus.datastore.mybatis.MyBatisDataStore - nexus - Creating schema for ComposerBrowseNodeDAO
...
2024-10-11 06:35:25,671+0000 INFO [jetty-main-1] *SYSTEM org.sonatype.nexus.rapture.internal.RaptureWebResourceBundle - nexus-repository-composer
So the plugin seems to be picked up but composer is not available. I will triple check if thats an layer8 issue, maybe i just missed something
so for the actual plugin issue - layer8 and all my faul. Sorry for the fuzz.
Beside that
Thanks
The script is linked below and I'm happy to take a PR or a comment here to improve it. I'm planning on releasing the latest version shortly but I can wait for this.
@EugenMayer last chance if you'd like to make a change before the next release (https://github.com/stevehipwell/helm-charts/pull/1057).
Thanks for the heads up, see #1058
IMHO this one could be closed (leaving this up to you)
Seems like https://github.com/stevehipwell/helm-charts/blob/main/charts/nexus3/templates/statefulset.yaml#L107 references
download-plugin.sh
which i cannot see exist.Pre 5.x this was done using wget directly. I assume you missed to add that file to the chart and repo?
Beside that, that container does not show any logs and the plugin is not downloaded for that reasons.