Jump to content

Opi5+ error omv7 install docker compose pgpkey


Go to solution Solved by Manuel Carvajal,

Recommended Posts

Posted

Hello everyone

I was trying to look for information in the forum but I can't find any topic where this specific issue is discussed. I also looked for help in the omv forum and they told me it was a problem with the distribution, hopefully you can help me.

 

My system running Armbian_24.5.1_Orangepi5-plus_bookworm_vendor_6.1.43_minimal

Install OMV, omv extras, 

i try to configure the compose folders and i  get the 500 internal server error, clear cache, update and reboot system but there is no change,

a moderator asked me for the log by executing the following command

"Your error output is incomplete. What is the output of: sudo omv-salt deploy run compose"

<

orangepi5-plus:

----------

          ID: configure_compose_scheduled_backup

    Function: file.managed

        Name: /etc/cron.d/omv-compose-backup

      Result: True

     Comment: File /etc/cron.d/omv-compose-backup is in the correct state

     Started: 13:23:54.827198

    Duration: 788.193 ms

     Changes:

----------

          ID: configure_compose_scheduled_update

    Function: file.managed

        Name: /etc/cron.d/omv-compose-update

      Result: True

     Comment: File /etc/cron.d/omv-compose-update is in the correct state

     Started: 13:23:55.616066

    Duration: 741.905 ms

     Changes:

----------

          ID: configure_compose_scheduled_prune

    Function: file.managed

        Name: /etc/cron.d/omv-compose-prune

      Result: True

     Comment: File /etc/cron.d/omv-compose-prune is in the correct state

     Started: 13:23:56.358647

    Duration: 830.032 ms

     Changes:

----------

          ID: configure_etc_docker_dir

    Function: file.directory

        Name: /etc/docker

      Result: True

     Comment: The directory /etc/docker is in the correct state

     Started: 13:23:57.189369

    Duration: 5.514 ms

     Changes:

----------

          ID: /etc/docker/daemon.json

    Function: file.serialize

      Result: True

     Comment: File /etc/docker/daemon.json updated

     Started: 13:23:57.195458

    Duration: 325.608 ms

     Changes:

              ----------

              diff:

                  ---

                  +++

                  @@ -1,3 +1,3 @@

                   {

                  - "data-root": "/docker"

                  + "data-root": "/var/lib/docker"

                   }

----------

          ID: docker_install_packages

    Function: pkg.installed

      Result: False

     Comment: An error was encountered while installing package(s): W: GPG error: http://armbian.tnahosting.net/apt bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5

              E: The repository 'http://apt.armbian.com bookworm InRelease' is not signed.

     Started: 13:24:03.303368

    Duration: 30382.731 ms

     Changes:

----------

          ID: docker_compose_install_packages

    Function: pkg.installed

      Result: True

     Comment: All specified packages are already installed

     Started: 13:24:33.686899

    Duration: 67.916 ms

     Changes:

----------

          ID: docker_purged_packages

    Function: pkg.purged

      Result: True

     Comment: None of the targeted packages are installed or partially installed

     Started: 13:24:33.755621

    Duration: 4.062 ms

     Changes:

----------

          ID: docker

    Function: service.running

      Result: False

     Comment: Failed to start docker.service: Unit docker.service not found.

     Started: 13:24:33.835516

    Duration: 673.894 ms

     Changes:

----------

          ID: /etc/systemd/system/docker.service.d/waitAllMounts.conf

    Function: file.managed

      Result: True

     Comment: File /etc/systemd/system/docker.service.d/waitAllMounts.conf is in the correct state

     Started: 13:24:34.510203

    Duration: 306.575 ms

     Changes:

----------

          ID: systemd_daemon_reload_docker

    Function: cmd.run

        Name: systemctl daemon-reload

      Result: True

     Comment: State was not run because none of the onchanges reqs changed

     Started: 13:24:34.822264

    Duration: 0.026 ms

     Changes:

----------

          ID: create_usr_local_bin_dir

    Function: file.directory

        Name: /usr/local/bin

      Result: True

     Comment: The directory /usr/local/bin is in the correct state

     Started: 13:24:34.822649

    Duration: 5.271 ms

     Changes:

----------

          ID: /usr/local/bin/docker-compose

    Function: file.symlink

      Result: True

     Comment: Symlink /usr/local/bin/docker-compose is present and owned by root:root

     Started: 13:24:34.828399

    Duration: 17.703 ms

     Changes:

 

Summary for orangepi5-plus

-------------

Succeeded: 11 (changed=1)

Failed: 2

-------------

Total states run: 13

Total run time: 34.149 s

[ERROR ] Command 'apt-get' failed with return code: 100

[ERROR ] stdout: Get:1 file:/var/cache/openmediavault/archives InRelease

Ign:1 file:/var/cache/openmediavault/archives InRelease

Get:2 file:/var/cache/openmediavault/archives Release

Ign:2 file:/var/cache/openmediavault/archives Release

Get:3 file:/var/cache/openmediavault/archives Packages

Ign:3 file:/var/cache/openmediavault/archives Packages

Get:4 file:/var/cache/openmediavault/archives Contents (deb)

Ign:4 file:/var/cache/openmediavault/archives Contents (deb)

Get:5 file:/var/cache/openmediavault/archives Contents (deb)

Ign:5 file:/var/cache/openmediavault/archives Contents (deb)

Get:3 file:/var/cache/openmediavault/archives Packages

Ign:3 file:/var/cache/openmediavault/archives Packages

Get:4 file:/var/cache/openmediavault/archives Contents (deb)

Ign:4 file:/var/cache/openmediavault/archives Contents (deb)

Get:5 file:/var/cache/openmediavault/archives Contents (deb)

Ign:5 file:/var/cache/openmediavault/archives Contents (deb)

Get:3 file:/var/cache/openmediavault/archives Packages

Ign:3 file:/var/cache/openmediavault/archives Packages

Get:4 file:/var/cache/openmediavault/archives Contents (deb)

Ign:4 file:/var/cache/openmediavault/archives Contents (deb)

Get:5 file:/var/cache/openmediavault/archives Contents (deb)

Ign:5 file:/var/cache/openmediavault/archives Contents (deb)

Get:3 file:/var/cache/openmediavault/archives Packages

Ign:3 file:/var/cache/openmediavault/archives Packages

Get:4 file:/var/cache/openmediavault/archives Contents (deb)

Ign:4 file:/var/cache/openmediavault/archives Contents (deb)

Get:5 file:/var/cache/openmediavault/archives Contents (deb)

Ign:5 file:/var/cache/openmediavault/archives Contents (deb)

Get:3 file:/var/cache/openmediavault/archives Packages

Ign:3 file:/var/cache/openmediavault/archives Packages

Get:4 file:/var/cache/openmediavault/archives Contents (deb)

Ign:4 file:/var/cache/openmediavault/archives Contents (deb)

Get:5 file:/var/cache/openmediavault/archives Contents (deb)

Ign:5 file:/var/cache/openmediavault/archives Contents (deb)

Get:3 file:/var/cache/openmediavault/archives Packages

Ign:3 file:/var/cache/openmediavault/archives Packages

Get:4 file:/var/cache/openmediavault/archives Contents (deb)

Ign:4 file:/var/cache/openmediavault/archives Contents (deb)

Get:5 file:/var/cache/openmediavault/archives Contents (deb)

Ign:5 file:/var/cache/openmediavault/archives Contents (deb)

Get:3 file:/var/cache/openmediavault/archives Packages

Get:4 file:/var/cache/openmediavault/archives Contents (deb)

Ign:4 file:/var/cache/openmediavault/archives Contents (deb)

Get:5 file:/var/cache/openmediavault/archives Contents (deb)

Ign:5 file:/var/cache/openmediavault/archives Contents (deb)

Hit:6 http://deb.debian.org/debian bookworm InRelease

Get:7 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]

Get:8 http://deb.debian.org/debian bookworm-backports InRelease [56.5 kB]

Get:9 http://security.debian.org bookworm-security InRelease [48.0 kB]

Get:10 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]

Get:11 http://httpredir.debian.org/debian bookworm-backports InRelease [56.5 kB]

Hit:12 https://download.docker.com/linux/debian bookworm InRelease

Hit:13 https://openmediavault.github.io/packages sandworm InRelease

Hit:14 https://openmediavault-plugin-developers.github.io/packages/debian sandworm InRelease

Hit:16 http://packages.openmediavault.org/public sandworm InRelease

Get:15 http://armbian.tnahosting.net/apt bookworm InRelease [53.3 kB]

Err:15 http://armbian.tnahosting.net/apt bookworm InRelease

  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5

Reading package lists...

[ERROR ] stderr: W: GPG error: http://armbian.tnahosting.net/apt bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5

E: The repository 'http://apt.armbian.com bookworm InRelease' is not signed.

[ERROR ] retcode: 100

[ERROR ] An error was encountered while installing package(s): W: GPG error: http://armbian.tnahosting.net/apt bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5

E: The repository 'http://apt.armbian.com bookworm InRelease' is not signed.

[ERROR ] The named service docker is not available

[ERROR ] Command '/usr/bin/systemd-run' failed with return code: 5

[ERROR ] stderr: Running scope as unit: run-r49a37263aed24bcf951c96199f63b03d.scope

Failed to stop docker.service: Unit docker.service not loaded.

[ERROR ] retcode: 5

[ERROR ] Command '/usr/bin/systemd-run' failed with return code: 5

[ERROR ] stderr: Running scope as unit: run-r56af566a7663456985ec54392976e370.scope

Failed to start docker.service: Unit docker.service not found.

[ERROR ] retcode: 5

[ERROR ] Failed to start docker.service: Unit docker.service not found.

root@orangepi5-plus:~# >

 

*****"the plugin can't fix this. Your armbian repos are broken because either the gpg key is missing or your system time is off. I don't know how it could the former on a fresh install."******

 

and he mentions to me that the repo is having problems due to lack of a gpg key and that he doesn't know how to fix it;  I tested kernel 6.8 I could configure the docker compose well, but the USB and HDD fans had failures randomly 

if someone could guide me to find a solution because so far it is the only kernel that has worked with all the hardware available in the sbc.

 

👀

 

 

 

  • Solution
Posted

please check resolved

 

I also leave the steps I found to solve this error in case another user has the same problem.

the main thing about this error is that it does not connect to the server due to lack of gpg key.
 

4 hours ago, Manuel Carvajal said:

Comment: An error was encountered while installing package(s): W: GPG error: http://armbian.tnahosting.net/apt bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5

              E: The repository 'http://apt.armbian.com bookworm InRelease' is not signed.

 

with this command we make the request for the gpg key to connect to the repository without error

 

Quote

gpg --keyserver keyserver.ubuntu.com --recv-keys 93D6889F9F0E78D5

 

in my case the error gave that key 93D6889F9F0E78D5, it can change with other opi5+

 

the following command adds the response given by the repository and in this way we add the key to our registry to be able to connect to the repository

 

Quote

gpg --export -a 93D6889F9F0E78D5 | sudo apt-key add -

 

 

run the command again from the console to check if it is correct or if there is an error.


 

Quote

 

apt-get update

 

sudo omv-salt deploy run compose

 

 

and after waiting about 5 minutes for everything to be checked and connected to the repository:

 


 

Quote

Summary for orangepi5-plus
-------------
Succeeded: 13
Failed:     0
-------------
Total states run:     13
Total run time:    3.746 s

 

finally the Opi5+ running without problem :D

nueva pi.jpg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines