YunoHost-Apps / onlyoffice_ynh

OnlyOffice package for YunoHost
https://www.onlyoffice.com
GNU General Public License v3.0
19 stars 19 forks source link

installation failure #96

Open gitvald opened 1 year ago

gitvald commented 1 year ago

Hello, my attempts to install the onlyoffice application on a yunohost 11.1.9 server failed several times According to the logs, the installation fails at this steps : Executing: /tmp/apt-key-gpghome.ahljlXDFgF/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 Here are the complete logs : https://paste.yunohost.org/raw/xapebobayo

I tried this solution without success : sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 Executing: /tmp/apt-key-gpghome.hui7PhqPwC/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 gpg: WARNING: unacceptable HTTP redirect from server was cleaned up gpg: keyserver receive failed: Server indicated a failure

Can you direct me to another solution please ?

rodinux commented 1 year ago

Hello,

Have you try like in the documentation these steps ?

Add GPG key:

mkdir -p -m 700 ~/.gnupg
curl -fsSL https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE | gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --import
chmod 644 /tmp/onlyoffice.gpg
sudo chown root:root /tmp/onlyoffice.gpg
sudo mv /tmp/onlyoffice.gpg /usr/share/keyrings/onlyoffice.gpg

Add ONLYOFFICE Docs repository:

echo "deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.list

May be ??

rodinux commented 1 year ago

I think the way to add signing gpg keys changed on Debian 11...

thomasbonsirven commented 1 year ago

Hello,

Try this : Change --recv-keys CB2DE8E5 by this --recv-keys 8320CA65CB2DE8E5 in scripts/install file on line 126

rodinux commented 1 year ago

It doesn't work... I don't remember how I could discuss with devs, they told me they have problems to make accept the signing key on ubuntu keys servers... I think it must be a repo like with this deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyoffice.com/repo/debian squeeze main, I haven't found how to...

rodinux commented 1 year ago

I have open a discussion about this bug here: https://forum.onlyoffice.com/t/workspace-installation-fails-because-repositories-are-not-signed/3856

and here: https://forum.onlyoffice.com/t/onlyoffice-docs-community-edition-with-debian-and-gpg-signature/4347