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

fix: Fixed error on SQLite dp reinstallation #4725

Merged
merged 2 commits into from
Jun 21, 2023

Conversation

nicolatimeus
Copy link
Contributor

Note: We are using the Conventional Commits convention for our pull request titles. Please take a look at the PR title format document for the supported types and scopes.

Brief description of the PR. [e.g. Added null check on object to avoid NullPointerException]

Related Issue: This PR fixes/closes {issue number}

Description of the solution adopted: A more detailed description of the changes made to solve/close one or more issues. If the PR is simple and easy to understand this section can be skipped

Screenshots: If applicable, add screenshots to help explain your solution

Manual Tests: Optional description of the tests performed to check correct functioning of changes, useful for an efficient review

Any side note on the changes made: Description of any other change that has been made, which is not directly linked to the issue resolution [e.g. Code clean up/Sonar issue resolution]

Signed-off-by: Nicola Timeus <[email protected]>
Copy link
Contributor

@marcellorinaldo marcellorinaldo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works on Raspberry Pi 4 with Raspbian 11.

Default image and Kura installation will produce the following error:

java.lang.Exception: No native library found for os.name=Linux, os.arch=aarch64, paths=[/org/sqlite/native/Linux/aarch64:/usr/java/packages/lib/arm:/usr/lib/arm-linux-gnueabihf/jni:/lib/arm-linux-gnueabihf:/usr/lib/arm-linux-gnueabihf:/usr/lib/jni:/lib:/usr/lib]

This mismatch between architectures is an issue related to the raspbian image, to solve it edit /boot/config.txt by appending the flag arm_64bit=0 and reboot.

@MMaiero MMaiero merged commit bcc89dc into eclipse-kura:develop Jun 21, 2023
github-actions bot pushed a commit that referenced this pull request Jun 21, 2023
* fix: Fixed error on SQLite dp reinstallation

Signed-off-by: Nicola Timeus <[email protected]>

* Updated tests

Signed-off-by: Nicola Timeus <[email protected]>

---------

Signed-off-by: Nicola Timeus <[email protected]>
(cherry picked from commit bcc89dc)
nicolatimeus added a commit that referenced this pull request Jun 22, 2023
…#4727)

* fix: Fixed error on SQLite dp reinstallation (#4725)

* fix: Fixed error on SQLite dp reinstallation

Signed-off-by: Nicola Timeus <[email protected]>

* Updated tests

Signed-off-by: Nicola Timeus <[email protected]>

---------

Signed-off-by: Nicola Timeus <[email protected]>
(cherry picked from commit bcc89dc)

* Updated org.eclipse.kura.db.sqlite.provider.version in build.properties

---------

Co-authored-by: nicolatimeus <[email protected]>
@nicolatimeus nicolatimeus deleted the fix_sqlite-dp-reinstall branch March 22, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants