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

Readme help for setting up s3 extension #27

Open
saumilsdk opened this issue Jun 19, 2018 · 4 comments
Open

Readme help for setting up s3 extension #27

saumilsdk opened this issue Jun 19, 2018 · 4 comments

Comments

@saumilsdk
Copy link

Its mentioned that we have to add s3 extention in "hawkbit-example-application" but I am confused where is this application and why we have to add in example application? I am looking to have s3 functionality with udpate-server and need to deploy it as ECS docker image on aws. Please guide.

@schabdo
Copy link
Contributor

schabdo commented Jun 25, 2018

Your confusion is well grounded, sorry for that. We have to fix the documentation. It basically means you have to add the maven dependency for S3 extension to the pom.xml of example spring boot application. In order to enable it put org.eclipse.hawkbit.artifact.repository.s3.enabled=true into your application.properties

@saumilsdk
Copy link
Author

Looks like this doesn't suffice the working of s3 extension. I have added this key as well bucketName key in application.properties, application builds but JPA error while running:

2018-06-26 17:57:48.665 ERROR 15172 --- [ main] o.s.boot.SpringApplication : Application startup failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mgmtDistributionSetResource': Unsatisfied dependency expressed through field 'softwareModuleManagement'; nest
ed exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'softwareModuleManagement' defined in class path resource [org/eclipse/hawkbit/repository/jpa/
RepositoryApplicationConfiguration.class]: Unsatisfied dependency expressed through method 'softwareModuleManagement' parameter 7; nested exception is org.springframework.beans.factory.BeanCreationException
: Error creating bean with name 'artifactManagement' defined in class path resource [org/eclipse/hawkbit/repository/jpa/RepositoryApplicationConfiguration.class]: Post-processing of merged bean definition f
ailed; nested exception is java.lang.IllegalStateException: Failed to introspect bean class [org.eclipse.hawkbit.repository.jpa.JpaArtifactManagement] for persistence metadata: could not find class that it
depends on...

@schabdo
Copy link
Contributor

schabdo commented Jun 27, 2018

As far as I can tell, it seems not to be an issue of the S3 extension. I'll have a look at your issue #28

@schabdo
Copy link
Contributor

schabdo commented Mar 16, 2020

@Antiarchitect sure I'll try my best to help out. But may I asked you to create a new GitHub issue for your specific problem? This issue is more about providing "Readme help" for S3 setup in general. I'll add a link to this GH issue for tracking purposes

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

No branches or pull requests

2 participants