Server: Update from NC12b4 to NC12RC2 won't start due to unexpected autotest-checkers.sh and other oddities

Created on 19 May 2017  Â·  10Comments  Â·  Source: nextcloud/server

Steps to reproduce

  1. In NC12b4, enter administration page, NC12RC2 is shown as update
  2. Start updater app, start update

Expected behaviour

Update should start (and finish smoothly).

Actual behaviour

A warning appears:

(!) Check for expected files
The following extra files have been found:
autotest-checkers.sh

The update process is interrupted and cannot be continued.

If I delete it (or move it aside), update starts (and finishes) fine.

Most helpful comment

The only way to fix this is to deleted the autotest-checkers.sh from the folder - then the update runs fine.

All 10 comments

I also got this in the log during that update (right after update started):

file_put_contents(/.htaccess): failed to open stream: Permission denied at /lib/private/Setup.php#515

Execpt for that, update went fine.

Edit: Opened a separate bug as requested below.

Each time I login, I get two identical log enties in the same second:

Missing argument 2 for OCServerContainer::getAppContainer(), called in /lib/private/ServerContainer.php on line 124 and defined at /lib/private/ServerContainer.php#80

Edit: Fixed in #4980 already, see below.

The only way to fix this is to deleted the autotest-checkers.sh from the folder - then the update runs fine.

For me, deleting that file was a non-issue. Might only be problematic without shell access.
But I'm irritated about "Fixed in RC2" - it should read "Will be fixed in RC3" I guess? OK!
What about the other log entry issues? Non-issues? Shall I ask in the forum? Open separate bugs?

The .htaccess one: Open a separate one. Not sure if it is a dupe.
The ServerContainer one: Dupe of https://github.com/nextcloud/server/issues/4979 – will be fixed in tomorrows RC3 :)

Patch at https://github.com/nextcloud/server/pull/4980 :)

T-h-a-n-k-s
Will check if there's a matching bug prior to opening one.

Awesome. And thanks for testing the RCs and Betas. Much appreciated! 🚀

For me, deleting that file was a non-issue. Might only be problematic without shell access.
But I'm irritated about "Fixed in RC2" - it should read "Will be fixed in RC3" I guess? OK!

Nope - the file is not there anymore in RC2, but you will notice this only if you have installed RC2, because the checks are run before the code is replaced ;)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

williambargent picture williambargent  Â·  3Comments

MorrisJobke picture MorrisJobke  Â·  3Comments

brylie picture brylie  Â·  3Comments

ChristophWurst picture ChristophWurst  Â·  3Comments

dl5rcw picture dl5rcw  Â·  3Comments