Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 20:01
    superkartoffel commented #1254
  • May 18 11:53
    ampabsa opened #1254
  • May 16 06:53

    stefbehl on master

    improved debug logs for autoass… (compare)

  • May 16 06:53
    stefbehl closed #1253
  • May 13 14:48
    bogdan-bondar opened #1253
  • May 12 13:57
    superkartoffel commented #1252
  • May 11 08:26
    bdfkockmeyer opened #1252
  • May 03 18:18
    richturner commented #1201
  • Apr 28 10:44
    Ashish080 opened #1251
  • Apr 25 13:39

    bogdan-bondar on master

    Extend event for entity events … (compare)

  • Apr 25 13:39
    bogdan-bondar closed #1250
  • Apr 25 10:37
    hawkbit-bot commented #1250
  • Apr 25 10:31
    herdt-michael opened #1250
  • Apr 21 16:31
    Bastian-Krause opened #1249
  • Apr 19 13:32
    zyga opened #1248
  • Apr 14 17:13
    zyga opened #1247
  • Apr 13 06:51
    lreinecke commented #1231
  • Apr 12 17:39
    richturner commented #1201
  • Apr 12 17:38
    richturner commented #1201
  • Apr 11 13:37
    workpush commented #1231
tanase-sebastian
@tanase-sebastian
It works. However, when I relaunch the application using java -jar hawkbit-runtime/hawkbit-update-server/target/hawkbit-update-server-0.2.0-SNAPSHOT.jar the database is reset. Do I need to configure a separate database that hawkbit should use ?
Michael Hirsch
@michahirsch
the update-server is using an h2-database in memory - to setup hawkBit for productive use, you should consider using a MySql - described here: https://www.eclipse.org/hawkbit/documentation/guide/runhawkbit.html
tanase-sebastian
@tanase-sebastian
cool, thanks; will give it a look
RAJ SINGH
@r-rajsingh
Hello Seniors and my peers......my self RAJ SINGH from New Delhi, INDIA. I m a2nd year B.Tech student. I m new to Open Source and i wanna contribute to it. I belong to a java base and i ve basic knowledge of JAVA. Presently i m improving my JAVA skills by studing the book JAVA 2: The Complete Reference by HERBERT SCHILDT. I ve a deep intrest in JAVA and open source too....so please if anyone could guide me through.
Twitmeankush
@Twitmeankush1_twitter
Running java -jar hawkbit-runtime/hawkbit-update-server/target/hawkbit-update-server-0.2.0-SNAPSHOT.jar fails as I do not have target directory after clonning the hawkbit in my workspace. Please help
Kai Zimmermann
@kaizimmerm
you have to build it first. mvn clean install
Twitmeankush
@Twitmeankush1_twitter
Did that
Let me do again
I think I just installed Maven.....will get back.
Michael Hirsch
@michahirsch
if you familiar with docker you can also run the hawkBit docker container docker run -d -p 8080:8080 hawkbit/hawkbit-update-server
Twitmeankush
@Twitmeankush1_twitter
Unable to access jarfile ./hawkbit-runtime/hawkbit-update-server/target/hawkbit-update-server-#version#-SNAPSHOT.jar
Even after mvn clean install, m not getting the "target" directory
Kai Zimmermann
@kaizimmerm
Does you maven output looks like this? [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] hawkBit :: Parent .................................. SUCCESS [ 1.252 s] [INFO] hawkBit :: Core .................................... SUCCESS [ 4.077 s] [INFO] hawkBit :: Core Security ........................... SUCCESS [ 2.044 s] [INFO] hawkBit :: Repository .............................. SUCCESS [ 0.012 s] [INFO] hawkBit :: Repository :: API ....................... SUCCESS [ 2.715 s] [INFO] hawkBit :: Repository :: Core Implementation Support SUCCESS [ 2.206 s] [INFO] hawkBit :: Artifact Repository :: Filesystem ....... SUCCESS [ 1.481 s] [INFO] hawkBit :: Repository :: Test Utilities ............ SUCCESS [ 0.934 s] [INFO] hawkBit :: Repository :: JPA Implementation ........ SUCCESS [03:45 min] [INFO] hawkBit :: REST Core ............................... SUCCESS [ 1.900 s] [INFO] hawkBit :: Mgmt REST API ........................... SUCCESS [ 1.331 s] [INFO] hawkBit :: DMF ..................................... SUCCESS [ 0.048 s] [INFO] hawkBit :: DMF :: API .............................. SUCCESS [ 0.157 s] [INFO] hawkBit :: Security Integration .................... SUCCESS [ 1.644 s] [INFO] hawkBit :: HTTP Security ........................... SUCCESS [ 1.556 s] [INFO] hawkBit :: REST Mgmt Resources ..................... SUCCESS [01:28 min] [INFO] hawkBit :: DDI API ................................. SUCCESS [ 0.152 s] [INFO] hawkBit :: DDI Resources ........................... SUCCESS [01:11 min] [INFO] hawkBit :: DMF :: RabbitMq Test module ............. SUCCESS [ 0.275 s] [INFO] hawkBit :: DMF :: AMQP 0.9 Implementation .......... SUCCESS [01:19 min] [INFO] hawkBit :: Mgmt UI ................................. SUCCESS [ 22.731 s] [INFO] hawkBit :: Spring Boot Autoconfigure ............... SUCCESS [ 0.398 s] [INFO] hawkBit :: Test Report ............................. SUCCESS [ 0.010 s] [INFO] hawkBit :: Spring Boot Starters .................... SUCCESS [ 0.038 s] [INFO] hawkBit :: Spring Boot Starter DDI API ............. SUCCESS [ 0.098 s] [INFO] hawkBit :: Spring Boot Starter DMF API ............. SUCCESS [ 0.066 s] [INFO] hawkBit :: Spring Boot Starter Management API ...... SUCCESS [ 0.086 s] [INFO] hawkBit :: Spring Boot Starter Management UI ....... SUCCESS [ 0.104 s] [INFO] hawkBit :: Spring Boot Starter ..................... SUCCESS [ 0.095 s] [INFO] hawkBit :: Runtime ................................. SUCCESS [ 0.011 s] [INFO] hawkBit :: Runtime :: Update Server ................ SUCCESS [ 1.139 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ————————————————————————————————————
Update Server ................ SUCCESS is the important part
Twitmeankush
@Twitmeankush1_twitter
java hom eenvironment not set it seems
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hawkbit-core: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
Am I missing some setting?
Kai Zimmermann
@kaizimmerm
So I recommend to fix you build first :)
But if you are not into java development I recommend to take the docker version.
Twitmeankush
@Twitmeankush1_twitter
yes m not into Java
Kai Zimmermann
@kaizimmerm
so docker then docker run -d -p 8080:8080 hawkbit/hawkbit-update-server
Michael Hirsch
@michahirsch
another option is to download the released jar from maven-central http://central.maven.org/maven2/org/eclipse/hawkbit/hawkbit-update-server/0.2.0M4/hawkbit-update-server-0.2.0M4.jar and start the jar java -jar hawkbit-update-server-0.2.0M4.jar but for this you would also need JRE on your system working
embexus
@embexus
Is there any docker version of Hawkbit that contains database persistence ? the one your provide is not really useful since after a restart all setup are gone !
Michael Hirsch
@michahirsch
nope, so far there is no docker-container which can be configured using a MySql, you would need to build the hawkBit with mysql by your self see https://www.eclipse.org/hawkbit/documentation/guide/runhawkbit.html Set MariaDB dependency to compile in the
for non productive use - you can also use a H2-Database as server version and configure the datasource-url pointing to your h2-server-database - this you can set via environment variable for the hawkBit docker-container - for development purposes and persisting data
embexus
@embexus
Thanks
is H2-Database used for Artifacts storage ? what should be used then for "Productive" use ?
Michael Hirsch
@michahirsch
no the artifact binaries are stored either in the file-system (default implementation) or you can checkout different implemenations at the https://github.com/eclipse/hawkbit-extensions like s3-implementation or mongoDB-GridFS-implementation avaiable ... for production use you can use actually all of them as long it fits in your system and your system requirements like data-backup etc
embexus
@embexus
Yeah cool I'll give it a try
Michael Hirsch
@michahirsch
in case you are using file-system be sure to mount a file-system outside the docker-container :)
embexus
@embexus
any Howto deploy Hawkbit on cloud i.e AWS ?
Michael Hirsch
@michahirsch

there are many ways to deploy hawkBit in the cloud and for different cloud-providers - for the runtime and examples there is an example CloudFoundry manifest available in the hawkBit repo like here https://github.com/eclipse/hawkbit/tree/master/hawkbit-runtime/hawkbit-update-server/cf

but there is no guide how to deploy it in different clouds like in AWS with docker, ECS, Beanstalk, there are many ways but if you found a nice way, happy to see a blog about it :)

embexus
@embexus
If I find out I will, thanks
Michael Hirsch
@michahirsch
the easiest way to just deploy it is probably to build your docker-container and start an EC2 instance and using docker to start hawkBit :) - e.g. using docker-swarm
embexus
@embexus
You're talking to an Embedded Guy :-) who have no Idea on what docker-swarm is :-D
Michael Hirsch
@michahirsch
It's time to start thinking bigger and outside a little small box with very limitted resources on it :P
embexus
@embexus
but in general I think there are a lot of embedded guy like me evaluating/playing with Hawkbit for Updating devices with little or no background on Java/Backend/Swarms/..., It will be great if the barrier to Entry hawkbit is reduced
Kai Zimmermann
@kaizimmerm
We (Bosch) are currently working on offering free accounts for up to 50 devices. Hopefully this will help in that regard.
embexus
@embexus
That sound great :-)
Kai Zimmermann
@kaizimmerm
Stay tuned.
embexus
@embexus
My final goal is just to setup a way to update devices for my customers, if at the end there are costs then I simply charge them !!!
at the end the flexibility security and reliability are the most important factors
Kai Zimmermann
@kaizimmerm
makes sense
embexus
@embexus
there are already offers on the market :
I didn't give it a try yet
But the file storage offer is extremly low
Angelo Compagnucci
@angeloc
Hello to all! @kaizimmerm Hi Kai, I would like to ask you which could be the easiest way to integrate an authentication system. I know by the docs that an openid could be integrated, but It's overkill for me right now. I'm looking for something more relaxed, like an administrative panel for managing users or like http basic authentication to integrate with other administrative panels. Have you any recommendation?
Kai Zimmermann
@kaizimmerm
@michahirsch is the expert on that one. Michael do we have a guide on that topic?
Angelo Compagnucci
@angeloc
@kaizimmerm wonderful! thanks for the quick reply!