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

FEATURE REQUEST: local update reposity folder #5540

Closed
nielsd opened this issue Jun 26, 2017 · 2 comments
Closed

FEATURE REQUEST: local update reposity folder #5540

nielsd opened this issue Jun 26, 2017 · 2 comments

Comments

@nielsd
Copy link

nielsd commented Jun 26, 2017

Dear Nextcloud Devels,

it would be very helpful - and saves you a lot of downloads from your FTP/HTTP-Fileservers - if there would be a config file option for a local "download" repository folder. Alternatively it allows the usage of a alternative HTTP and/or FTP (base) URL too.

This could work in two ways:

Variant A.)
Any download (signed and over a Nextcloud instance) is permanently saved within this folder. If the updater of another instance (with access to that filesystem folder) find's the requested file within that folder, it uses this "Local copy". If not, it loads from the public sites (as today).

Variant B.)
Only the Admin has the ability to save (officially) Nextcloud Tarballs within this "shared" filesystem folder and if an updater of an instance find's the requested file within that folder - it uses the file instead of fetching it remotely.

I assume there are many virtual host / multi installations of Nextcloud out there within the same machine or subnet / LAN and it makes no sense to download the Nextcloud Tarballs for 10+ Nextcloud Instances from the same machine or LAN within a provider / hosting network.

If it help's anyone here, i would implement it and provide a patch.

many thanks for your time,

Niels.

@e-alfred
Copy link

Sound like a great idea. Another use case would be tightly firewalled/air-gapped systems. An admin would have less trouble upgrading all instances with this.

@MorrisJobke
Copy link
Member

Just specify another updater server in config.php and run it with your own links: https://github.com/nextcloud/updater_server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants