hawkbit icon indicating copy to clipboard operation
hawkbit copied to clipboard

facing Maximum artifact size (1024 MB) exceeded when we tried to upload file to hawkbit

Open manojams opened this issue 2 years ago • 1 comments

Start the hawkBit Update Server as a single container $ docker run -p 8080:8080 hawkbit/hawkbit-update-server:latest

unable to find , how to override starting hawkbit server with docker, can please tell us how to change application.properties and where it is present.

While uploading the swu file , in hawkbit server , it shows as Maximum artifact size (1024 MB) exceeded

manojams avatar Dec 21 '23 10:12 manojams

The property you are looking for should be hawkbit.server.security.dos.max-artifact-size (in bytes) But this should be somehow passed via Docker to the application AFAIK this could be done with --spring.config.location= . You could find more info in org.eclipse.hawkbit.security.HawkbitSecurityProperties java class.

strailov avatar Jan 16 '24 09:01 strailov

@strailov has sent you the property. You should find a way to pass it as a property for your container. For configuration you could check https://github.com/eclipse-hawkbit/hawkbit/blob/master/docker/README.md (Configuration).

avgustinmm avatar Jan 08 '25 10:01 avgustinmm