Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 02 07:07
    hawkbit-bot commented #1297
  • Dec 02 07:06
    StefanKlt edited #1297
  • Dec 02 07:04
    StefanKlt opened #1297
  • Nov 30 15:11
    ramannas synchronize #1296
  • Nov 30 14:47
    hawkbit-bot commented #1296
  • Nov 30 14:40
    ramannas opened #1296
  • Nov 30 14:03
    StefanKlt synchronize #1294
  • Nov 30 13:37
    StefanKlt synchronize #1294
  • Nov 30 12:59
    StefanKlt synchronize #1294
  • Nov 30 07:03
    StefanKlt synchronize #1294
  • Nov 29 15:18
    StefanKlt synchronize #1294
  • Nov 29 15:02
    herdt-michael synchronize #1293
  • Nov 29 13:24
    dimitar-shterev synchronize #1294
  • Nov 29 10:26
    dimitar-shterev synchronize #1294
  • Nov 28 10:35
    blomark synchronize #1295
  • Nov 28 09:58
    herdt-michael synchronize #1293
  • Nov 28 09:07
    hawkbit-bot commented #1295
  • Nov 28 09:06
    blomark opened #1295
  • Nov 28 09:05
    StefanKlt synchronize #1294
  • Nov 25 09:31
    herdt-michael synchronize #1293
Loïc CHANEL
@bartimeux:matrix.org
[m]

:point_up: Edit: I tried the following :
pom.xml :

         <dependency>
            <groupId>org.mariadb.jdbc</groupId>
            <artifactId>mariadb-java-client</artifactId>
            <version>2.7.6</version>
            <scope>compile</scope>
         </dependency>

application.properties :
spring.datasource.driverClassName=org.mariadb.jdbc.Driver

=> Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalStateException: Cannot load driver class: org.mariadb.jdbc.Driver

Now some environment informations : I'm deploying hawkBit on a CentOS 7 server, with a MySQL 5.7 database
Bondar Bogdan
@bogdan-bondar
@bartimeux:matrix.org where do you put your dependencies? Just try to remove the <scope>test</scope> from hawkbit-runtime/hawkbit-update-server/pom.xml under mariadb-java-client dependency
Bartimeux
@bartimeux:matrix.org
[m]
Way better
since the beginning I was editing the pom.xml file located at the directory root
thanks a lot !
Or Goshen
@Oberonc
hi, is this a good forum to ask a question about the eclipse IDE ?
1 reply
I'm using Version: 2021-06 (4.20.0) on Ubuntu
I have an annoying problem that when a context window popups (when I hover over a red marked part of the code, clicking on any of the options in that window just close that window instead of actually performing that action
Marcus Hoffmann
@marcus.hoffmann:othermo.ems.host
[m]
Is there an easy way to stop a rollout? It seems that when I pause a rollout it doesn't actually stop rolling out the software to individual targets, I have to cancel the rollout action for every target that was part of the rollout.
I'm also not sure what happens when an old install action is still queued and a rollout with a newer version is then started (hawkbit doesn't know about the "newer" though). Will that result in two downloads/updates or will the newer one replace the older? (It probably doesn't and I need to indeed first cancel all the pending installs... somehow)
Marcus Hoffmann
@marcus.hoffmann:othermo.ems.host
[m]
I could delete a rollout, but a) I'm not sure if that would actually cancel pending actions and b) it would delete the rollout history, which seems important to preserve.
zyga
@zyga:fosdem.org
[m]
hello, I'm building hawkbit snapshot and I've hit this error in testing:
#11 991.4 [ERROR] Failures:
#11 991.4 [ERROR]   AutoCleanupSchedulerTest.executeHandlerChain:51
#11 991.4 Expecting:
#11 991.4  <2608>
#11 991.4 to be equal to:
#11 991.4  <4>
#11 991.4 but was not.
this is is built inside docker with something like this:
FROM maven:3.6.0-jdk-11-slim AS build
WORKDIR /src
# Update aptitude with new repo
RUN apt-get update

# Install git software
RUN apt-get install -y git

# cloning eclipse-hawkbit rep
RUN git clone https://github.com/eclipse/hawkbit.git /project/hawkbit
WORKDIR /project/hawkbit
RUN ls
# generating the binary
RUN if ! mvn clean install >log 2>err; then tail -n 1000 log err; exit 1; fi
is this expected?
zyga
@zyga:fosdem.org
[m]
Hello, I wanted to share the hawkbit snap I've made: https://snapcraft.io/hawkbit
currently it offers beta build with 0.3.0M7 as well as edge build with the latest tip of development
I will also make a stable build based on 0.2.5 but I'm having problems building it
zyga
@zyga:fosdem.org
[m]
0.2.5 is now published in the stable channel
although updates from 0.2.5 to 0.3 snapshots are failing on database migration at the moment
The snap packaging is public at https://gitlab.com/zygoon/hawkbit-snap
adamkmic
@adamkmic
Hello guys, I'm struggling with Hawkbit (deployment is hidden behind ALB on AWS ECS in container, Rabbit MQ, DB all works fine) but....whenever devs what to pull update we have got this error: [WARN ] : SWUPDATE running : [channel_get_file] : Failed to get total download size for URL http://localhost/DEFAULT/controller/v1/3000100F/softwaremodules/2/artifacts/root_update_1.1.swu. - this localhost is weird part here. I was trying to influence Hawkbit by injecting this ENV into container: "HAWKBIT_ARTIFACT_URL_PROTOCOLS_DOWNLOAD_HTTP_REF": "{protocol}://{hostname}/{tenant}/controller/v1/{controllerId}/softwaremodules/{softwareModuleId}/artifacts/{artifactFileName}", but still it didn't solve my problem. Any tip, advice would be super helpful ;)
2 replies
zyga
@zyga:fosdem.org
[m]
@adamkmic: hey, it's not as fancy, no rabbitmq or real database yet but if you want to try a 3 second hawkbit installation try snap install --beta hawkbit - ideas and bug reports welcome!
hawkbit is then operational instantly, see snap info hawkbit for some configuration options
although the error you are experiencing could be related to swupdate configuration
I'm not faimiliar with the other side
lreinecke
@lreinecke

Hi, I am trying to compile hawkBit with multiple users and different permissions. But it never runs without errors. I am out of ideas and the documentation is too thin to gather enough information.
The Error looks like this:

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.897 s <<< FAILURE! - in org.eclipse.hawkbit.app.CorsTest
[ERROR] validateCorsRequest  Time elapsed: 0.028 s  <<< ERROR!
java.lang.IllegalStateException: Unable to create SecurityContext using @org.springframework.security.test.context.support.WithUserDetails(setupBefore=TEST_METHOD, userDetailsServiceBeanName=, value=admin)
Caused by: org.springframework.security.core.userdetails.UsernameNotFoundException: No such user

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   CorsTest.validateCorsRequest » IllegalState Unable to create SecurityContext u...
[INFO]
[ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for hawkBit :: Parent 0.3.0-SNAPSHOT:

...
[INFO] hawkBit :: Runtime ................................. SUCCESS [  0.038 s]
[INFO] hawkBit :: Runtime :: Update Server ................ FAILURE [ 25.548 s]
[INFO] hawkBit :: Test Report ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12:38 min
[INFO] Finished at: 2022-09-14T08:43:00+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project hawkbit-update-server: There are test failures.
[ERROR]
...

My application.properties looks like this:

# User Security
spring.security.user.name=admin
spring.security.user.password={bcrypt}$2a$12$ycF.o9IdsOlvy/3ML1qFgunkPuQ9P/xl38mO2EJ2uukFwqqLtoQjS
spring.main.allow-bean-definition-overriding=true

# Http Encoding
server.servlet.encoding.charset=UTF-8
server.servlet.encoding.enabled=true
server.servlet.encoding.force=true

# DDI authentication configuration
hawkbit.server.ddi.security.authentication.anonymous.enabled=false
hawkbit.server.ddi.security.authentication.targettoken.enabled=true
hawkbit.server.ddi.security.authentication.gatewaytoken.enabled=false

# Optional events
hawkbit.server.repository.publish-target-poll-event=false

# Disable DMF
hawkbit.dmf.rabbitmq.enabled=false

# Define own users instead of default "admin" user:
hawkbit.server.im.users[0].username=hawkbit
hawkbit.server.im.users[0].password={bcrypt}$2a$12$uPxtF4ae46PikuLCtBuGaOffoQ.exaKFWh0TEeh47YH9kYP.z.03y
hawkbit.server.im.users[0].firstname=Eclipse
hawkbit.server.im.users[0].lastname=HawkBit
hawkbit.server.im.users[0].permissions=ALL

spring.profiles.active=mysql

# SSL

server.port=8443
hawkbit.artifact.url.protocols.download-http.protocol=https
hawkbit.artifact.url.protocols.download-http.port=8443
security.require-ssl=true
server.use-forward-headers=true

server.ssl.key-store=hb-cert.jks
server.ssl.key-password=hb-cert
server.ssl.key-store-password=hb-cert

Do you have any idea what is wrong?

1 reply
harshadesai
@harshadesai
Hi All, I am very new to java coding. I am using Hawkbit server for OTA update. I want to use or enable the multi-tenant option in the hawkbit. Can anyone guide me how to implement it or even guide me to links to follow. Thank you.
Yasir Munir
@ept-yasir_gitlab
Hello, I wanted to know, in which folder my uploaded Artifacts files goes in Hawkbit Directory. ??
Marek Serafin
@stoprocent
Hi Guys, quick question. Latest hawkbit release is from more than year ago. Is there a plan to make new releases or is there a plan to drop hawkbit support ?
1 reply
Malal884
@Malal884
We need end user approval before we download and activate softwares on the target/controller. I can't figure out if "soft" type on rollout can sort this out? Can you provide me with some documentation or explain how we can handle this?
6 replies
deschmih
@deschmih
@jaikeshsinghgithub https://gitter.im/eclipse/hawkbit?at=5bf3d2ab80e46b4266dd9627 Did you solve the problem with the same ip addresses. I run currently in the same problem. We moved tls termination from an ingress to hawkbit server configuration and now useing instead the ingress a loadbalancer. With this change to problem occurs at me too.
1 reply
Diego Rondini
@diegorondini
:loudspeaker: hi channel! We're happy to share that there'll be two talks by Kynetics about hawkBit at the upcoming EclipseCon in Ludwigsburg:
bst
@bastian-k:matrix.org
[m]

Hi everybody! I'd like to discuss the hawkBit maintenance situation: Bosch.IO people seem to review and merge PRs of their colleagues, but other PRs and issues seem to get ignored. I think this is unfortunate and does not make me feel very confident about using hawkBit or contributing.

bogdan-bondar (D Bondar Bogdan): Do you have any plans how to handle this in the future? We could also discuss this in a GitHub issue or on the mailing list.

3 replies
Martin Böh
@MartB
Can only agree with Bastian here! A broader community engagement would really help with pitching this software for future projects.
Vít Holásek
@kyberpunk
Hi. I'm trying to understand DMF API states and I've found ambiguous definition of "RETRIEVED" state. In documentation there is stated "Device has retrieved the artifact". However, in code there is comment "Action has been send to the target". What's the correct interpretation of this state? Thank you.
mzgr
@mzgr:matrix.org
[m]

Hi All,
I try to download an artifact by https://hawkbit.server/rest/v1/softwaremodules/1/artifacts/1/download. I gave the user DOWNLOAD_REPOSITORY_ARTIFACT permission, but that does not seem enough as I get back: Insufficient Permission.
What rights do I need to downlaod an artifact?

Glad about any help.
Thanks.

3 replies
johankohler
@johankohler
Hi. What is the syntax for querying Date-time fields? For example, is it possible to create a Target Filter for "last poll older than 24 h"?
3 replies
meladon1337
@meladon1337
Hey everyone, we have a really weired behavior of hawkbit
o.e.h.ui.error.HawkbitUIErrorHandler     : Unexpected Ui error occured
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]: com.vaadin.server.ServerRpcManager$RpcInvocationException: Unable to invoke method select in com.vaadin.shared.data.selection.GridMultiSelectServerRpc
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:159)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:116)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:442)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:407)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:275)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:91)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:40)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1637)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:464)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.vaadin.spring.http.HttpResponseFilter.doFilter(HttpResponseFilter.java:51)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.eclipse.hawkbit.rest.util.FilterHttpResponse.doFilter(FilterHttpResponse.java:39)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:155)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
Nov 14 14:28:15 vm-hawkbit-prod-westeu-001 java[1704078]:         at org.eclipse.jetty.servlet
zyga
@zyga:fosdem.org
[m]
Hello, is there anyone looking at using s3 with cloud front for artifacts, so that the artifact URL obtained from hawkbit is not pointing back at hawkbit but instead at the CDN?
4 replies
Jasper Siepkes
@siepkes
Hi all! Kinda curious; Since Vaadin 8 is EOL and Vaadin 10+ are vastly different beasts from Vaadin 8 what direction is Hawkbit going with the web UI?
shoragan
@shoragan:matrix.org
[m]
I'm always interested in how people use RAUC. :)
zyga
@zyga:fosdem.org
[m]
Nice :)
@diegorondini: do you mean that something talks to both hawkbit and rauc and uses s3 => cloudfront?
1 reply
I'd love to discuss this more when you have some time
ideally hawkbit would handle that on the back-end side, perhaps with some cloud back-chatter
so that clients of all shapes and sizes could just talk to hawkbit and get a different URL in one spot
1 reply
Diego Rondini
@diegorondini
:loudspeaker: Here are videos of Kynetics talks at the Eclipse Con 2022:
• "Bringing hawkBit to production" → https://youtu.be/_l3hNYpMEyw (https://www.eclipsecon.org/2022/sessions/bringing-hawkbit-production)
• "Eclipse Hara: Updating Embedded Devices with hawkBit Made Easy" → https://youtu.be/cMr6ydS993A (https://www.eclipsecon.org/2022/sessions/eclipse-hara-updating-embedded-devices-hawkbit-made-easy)