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

updater.server.url in 'Nextcloud Verifications' needs an update #102

Closed
rob-mosher opened this issue Jun 15, 2016 · 7 comments
Closed

updater.server.url in 'Nextcloud Verifications' needs an update #102

rob-mosher opened this issue Jun 15, 2016 · 7 comments
Labels

Comments

@rob-mosher
Copy link

Steps to reproduce

  1. Visit https://docs.nextcloud.org/server/9/admin_manual/configuration_server/config_sample_php_parameters.html#nextcloud-verifications
  2. See value for updater.server.url key

Expected behaviour

Should point to a nextcloud url

Actual behaviour

Points to an owncloud url

Server configuration

n/a

Client configuration

n/a

Logs

n/a

@rob-mosher
Copy link
Author

ps - I would happily send a patch or PR with the change but I'm not sure which URL it should go to. Tried replacing owncloud with nextcloud in the URL but didn't work (I'm guessing because this detail is still being figured out). Whatever is easiest for the team.

@LukasReschke
Copy link
Member

https://updates.nextcloud.org/server/ would be the current server. Would be awesome if you can send a pull request for config.sample.php here as well as for the documentation repos 🚀

@rob-mosher
Copy link
Author

Thanks @LukasReschke and yes I will do that.

@rob-mosher
Copy link
Author

Hi @LukasReschke please see the two above references for the two relevant PRs.

In doing so I discovered several other issues and wanted to run them by here first before addressing. Happy to send PRs on the below:

  • in lib/private/Updater/VersionCheck.php and test/lib/Updater/VersionCheckTest.php the URL references the old URL. Should these be updated as well?
  • in config/config.sample.php, both log_type and logfile are pointing to ownCloud. Should the value for log_type be nextcloud or would that break functionality without changing the referenced code? Should the value for logfile be changed from /var/log/owncloud.log to /var/log/nextcloud.log (and its comment) or is it being preserved for backwards compatibility etc?
  • in config/config.sample.php there are dozens of references to ownCloud in the comment blocks. Should these be updated or are we doing this as each component is 'updated' etc?

@rob-mosher
Copy link
Author

rob-mosher commented Jun 16, 2016

(meta: including @Mar1u5 who merged the PRs)

@MorrisJobke
Copy link
Member

config/config.sample.php

@hailthemelody The config.sample.php is only for documentation purpose. We need to touch the code anyways.

both log_type and logfile are pointing to ownCloud.

log_type needs adjustments in the code as it will assemble to the class OC\Log\Owncloud (see https://github.com/nextcloud/server/blob/master/lib/private/Log/Owncloud.php) which then would not be present if it is changed to Nextcloud. Maybe we name it properly File because it logs to a file. The logfile is the filename of the resulting log file and is fine to change, but then we also need to update all the documentation ;)

@MorrisJobke
Copy link
Member

The URLs are now also updated in the code. See #1323 and the backports

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

No branches or pull requests

3 participants