owncloud-archive / vm

Scripts to build an ownCloud community production VM - this was in use until 9.1.x releases. Since 10.0.1 we build appliances with Univention
https://www.univention.de/produkte/univention-app-center/app-katalog/owncloud/
23 stars 14 forks source link

Repository error on latest owncloud appliance #49

Open dbolton opened 8 years ago

dbolton commented 8 years ago
### Steps to reproduce 1. Install the latest owncloud appliance for Ubuntu 2. apt-get update ### Expected behaviour Update should run without errors ### Actual behaviour The update ends with the following error message. (Note there is a "8.2" in the URL that may need to be changed to "9.0") ``` ... W: Failed to fetch http://download.opensuse.org/repositories/isv:/ownCloud:/community:/8.2:/testing:/Ubuntu_14.04/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. admin@owncloud:~$ ``` ### Server configuration **Operating system**: Ubuntu 14.04.2, 64 bit (latest owncloud appliance) **ownCloud version:** 9.0.2 **Updated from an older ownCloud or fresh install:** Fresh **Where did you install ownCloud from:** https://owncloud.org/install/#instructions-server ``` ```
JKawohl commented 8 years ago

@dbolton thanks for finding this.

@jnweiger this is also where the 16.04 stuff breaks.

ghost commented 8 years ago

This has been happening for at least a month on Ubuntu 14.04 for the desktop sync client as well.

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4ABE1AC7557BEFF9

W: Failed to fetch http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_14.04/Release  

W: Some index files failed to download. They have been ignored, or old ones used instead.

I deleted the repo files for owncloud in /etc/apt/sources.list.d/ and then re-added it following the instructions at https://software.opensuse.org/download/package?project=isv:ownCloud:desktop&package=owncloud-client for Ubuntu 14.04 and get the same error messages in the shell.

enoch85 commented 8 years ago

Do like this:

  1. apt-key list
  2. apt-key del [OWNCLOUD KEY]
  3. wget -nv https://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/Release.key -O Release.key
  4. apt-key add - < Release.key
acht commented 7 years ago

the same issue is present for the 8.2 repository for debian: http://download.owncloud.org/download/repositories/8.2/Debian_8.0/ gives a 404, https://download.owncloud.org/download/repositories/8.2/owncloud/ is empty

enoch85 commented 7 years ago

@acht 8.2 is EOL. You should update to a newer version, and preferably always update to the latest version when released. Currently that's 10.2.

acht commented 7 years ago

8.1 and older are still present. So, it would be nice to be able to update from 8.1 to 8.2 to enable a update to 9.x. Thus it would be very helpful to have old versions available even when not maintained.

enoch85 commented 7 years ago

@acht Using old versions implements a security risk, so I really don't see any reason why to keep it.

acht commented 7 years ago

because it is not possible to update even older - still available versions - based on the fact that mayor versions (e.g. 8.2) can not be skipped without the risk of losing data? Or, how to update from 8.1 to a maintained version without 8.2 available?

enoch85 commented 7 years ago

@acht

can not be skipped without the risk of losing data?

No, you can't skip major versions, that's correct. But loosing data? I wouldn't say that's a risk as long as you keep the data outside of the ownCloud root - which is the best practice anyway.

Keep your OS, Cloud, Server or whatever up to date, or be at risk. Your choice. :)

acht commented 7 years ago

I also count address books, calendars and so on as data. Anyway, I do not understand why 8.2 was deleted. Is it really a problem to provide the files?

enoch85 commented 7 years ago

Anyway, I do not understand why 8.2 was deleted. Is it really a problem to provide the files?

cc @jnweiger

JKawohl commented 7 years ago

@crrodriguez

jnweiger commented 7 years ago

8.2.11 is fully populated in the build service but apparently it was never configured in the publishing script. Publishing 8.2.11 now.

http://download.owncloud.org/download/repositories/8.2.11/owncloud/

jnweiger commented 7 years ago

I am a bit confused of this is appliance or packages related. The beginning of this thread is more appliance, the end seems to be more about packages...

repsorp commented 7 years ago

today again... E: The repository 'http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04 Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default.