advancedtelematic / aktualizr

C++ SOTA Client
Mozilla Public License 2.0
144 stars 60 forks source link

Error #1804

Closed shamma-alblooshi closed 2 years ago

shamma-alblooshi commented 2 years ago

Hello, I'm trying to run aktualizr, but I am getting errors which I am not sure of. This is my sota-local.toml file [provision] provision_path = "credentials.zip" primary_ecu_hardware_id = "master" mode = "SharedCredReuse" [logger] loglevel = 1 [storage] path = "/var/sota" uptane_private_key_path= "ecukey.der" uptane_public_key_path= "ecukey.pub" [pacman] type = "none" images_path = "store/images"

When running this :sudo aktualizr -c /home/drone/aktualizr/config/sota-local.toml This is the error I am geting: Aktualizr version 2020.10-187-g68a3d3f82 starting Reading config: "/home/drone/aktualizr/config/sota-local.toml" Provisioning mode is set to reuse shared credentials. This should only be used for testing! Current directory: /home/drone/aktualizr/config Use existing SQL storage: "/var/sota/sql.db" Couldn`t import data: empty path received No serial found in database for this ECU, defaulting to empty serial No pending updates, continuing with initialization Provisioner::Attempt() caught an exception not deriving from Provisioner::Error Provisioner::Attempt() caught an exception not deriving from Provisioner::Error Provisioner::Attempt() caught an exception not deriving from Provisioner::Error

I'm not sure what to include in the config file , maybe thats whats causing this error. Thank you for your help.