Is it necessary for the install to be in a root folder called âowncloudâ? For security reasons I never use default folder / usernames, and my current ownCloud installation is no exception.
If it does need to be in a folder called ownCloud, can I change this, and the path in the config file, upgrade and then change both back?
No. Absolutely not required, in my case itâs simply called www or server or whatsoever. It should also work quite fine with that: If not, thatâs a bug and more details would be appreciated.
As long as the file lives in updater/index.php it should automatically use the correct folder name.
Hello!
First post here, but using Nextcloud from the very beginning (what was that, a month yet? )
Iâve tried the updater, but it didnât work for me. I uploaded the script, changed the config file but when launching the updater I get the following error:
Check for write permissions
The following places can not be written to
:/var/www/html/nube/updater/âŚ/âŚ
The following places can not be written to
*:/var/www/html/nube/updater/âŚ/âŚ
(nube=cloud in Spanish, itâs the directory where I installed Owncloud and now Nextcloud). As far as I know, file ownership is correct.
Ok, Iâm at a loss for now: I can call /$NC/updater manually and provide updater secret from config, but this obviously does not trigger the update process either.
Did you by any chance disable the app âUpdate notificationâ or disabled it via your config file? Check your apps screen for this please as well as your config file
I run NC 9.0.50 on shared hosting.
I downloaded the update/index.php and placed it in /$NC/updater
I added the updater server line to config.php
NC setup is /$www/NC for the binaries and /$www/nc_data for NC data directory (I got a feeling, that might proof important)
I went do admin page, changed channel to âdailyâ and reloaded page
I clicked âStart Updaerâ button
Prerequisite checks claimed an (old and obsolete) âdata_oldâ directory being present and stalled.
I deleted said directory
I reloaded the updater and all checks went fine
Updater displayed âabout to upgrade to 9.0.51â page and showed a button
Clicking this button is to no avail: no loading, no redirecting no nothing
Browser is Iceweasel (Firefox) on Debian Jessie stable
Web browser log states âpostâ with reply âfalseâ - what log entries do you require exactly? I seem to be unable to copy and paste code from the network analyser
If you click on that request and then click on âParamsâ, what do you see as step there? And the response is just a plaintext âfalseâ? Or some more text?
Important: I just noticed: post action I get only if calling âupdaterâ manually. If pressing button âstart updateâ nothing happens, no post action nothing.
Ah, yes I did. Ironically because it always took so long to notify me of an update that I just subscribed to releases on Github as it was more timely. I was very happy to see that this is something that was going to be worked on
Anyway, I replaced the /updater/index.php, added the new update server URL into the config file, re-enabled check for updates in the config.php, switched to daily and back to stable, but the updater still says that Iâm up to date (on OC 9.0.2). There are no new errors in the log.
Ah yes. Thatâs again YET another case, so the feature to change the updater server is only available in Nextcloud and the upcoming release of ownCloud next weekâŚ
You can work around that by switching to daily and staying on that. ownCloud should show you that an update to the daily is available but when you open the updater screen you will see that it will in fact update to a stable release of Nextcloud. That should work, otherwise: opening the updater directly works also
OK, now I get through to the Nextcloud update screen, but the âUpdateâ button doesnât seem to do anything. Onloading the page, Chromiumâs console reports these errors:
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
jquery.min.js?v=a16b8bfâŚ:6 GET https://MYDOMAIN.com/ynhpanel.js?_=1466962566597 404 (Not Found)send @ jquery.min.js?v=a16b8bfâŚ:6ajax @ jquery.min.js?v=a16b8bfâŚ:6_evalUrl @ jquery.min.js?v=a16b8bfâŚ:6domManip @ jquery.min.js?v=a16b8bfâŚ:5append @ jquery.min.js?v=a16b8bfâŚ:5(anonymous function) @ jquery.min.js?v=a16b8bfâŚ:5access @ jquery.min.js?v=a16b8bfâŚ:4html @ jquery.min.js?v=a16b8bfâŚ:5success @ admin.js?v=a16b8bfâŚ:34c @ jquery.min.js?v=a16b8bfâŚ:4fireWith @ jquery.min.js?v=a16b8bfâŚ:4k @ jquery.min.js?v=a16b8bfâŚ:6r @ jquery.min.js?v=a16b8bfâŚ:6
jquery.min.js?v=a16b8bfâŚ:4 Uncaught SyntaxError: Unexpected token <
Please also report back what the network console shows you. There should be a request to the updater and a response that is unexpected. Seeing that response would be very interesting.
I donât quite understand what I should be looking for. All of the requests listed return 200 except ynhpanel.js (part of Yunohost, presumably - returns a 404) and webdav (which returns 207).