Nextcloud 15 RC1 is here for testing, earn swag for upgrade bugs

nc15

#1

Originally published at: https://nextcloud.com/blog/nextcloud-15-rc1-is-here-for-testing-earn-swag-for-upgrade-bugs/

We are making swift progress: Nextcloud 15 is near to a release thus it is time for the first release candidate. Last week we did Beta 2 and there have been at least 40 changesets included since then. We ask everyone, as always, to help us test it.

Release Candidate

With the release candidate, we're at a point where our dev team says: "sure, we have some open issues we want to address for final, but we're largely at the point where we can't find any issues anymore. So we need help!"

Our internal testing has revealed problems, those problems have been resolved and we can’t find serious problems anymore. But Nextcloud is used in many more ways than we realistically can test: on all kinds of devices, using a crazy variety of web servers, PHP versions, databases and so on. Testing might seem simple:

install Nextcloud, try it. If it works, release it!

If only it was that simple… Every piece in the stack below Nextcloud, from Linux kernels to PHP, webserver, caching server, database and so on - they call can create problems that we have to work around. But then we have to know about those problems and that is where you all come in. Test Nextcloud. In YOUR environment, the way you use it. Only then can we be sure it will work for you when we release!

Swag for bugs!

As upgrading is the most critical operation with a new release, we're offering anyone who finds a bug in the upgrade process from Nextcloud 14 to Nextcloud 15 some swag! obviously any bug report is welcome, not only those about upgrading, but an upgrade bug earns you cookies. We don't know what kind yet, maybe a t-shirt (we know they're popular) but maybe we'll just bake cookies and sent them out (we did run out of t-shirts at the conference and haven't had time to order new yet).

You can download the Nextcloud 15 RC.zip file directly here or find it in the ‘Get Involved’ section (bottom right) on our install page.

And remember: if you’re brave enough to upgrade a production system, be sure to at least make a database backup!


#2

Very well. Is it available in the Updater? and are the missing apps still made? Thank you


#3

Test NC 15?
While you haven’t even provided list of new features / changes in new version?
And ignoring user’s requests for more info about that…


#4

There was a small hint that there are a lot of small changes, not big new feature:

The changes for RC1:

Perhaps a bit disappointing but there are many things that needed to be fixed.


#5

Just my two cents here.

Besides my current production instance I also run a test version to see what an upgrade does.

So this test instance was running 14.0.4. No extra files, apps etc. Just an OOB install.
All checks clear.

I’ve upgraded to version 15RC1 and here what Encountered:

The upgrade was manual (stop webserver, mv installation, unzip nextcloud 15, rename dir, cp config.php to new install, corrected permissions and SElinux, start webserver, occ upgrade) without much trouble. It fixed one thing with caldav.

After the upgrade I got an Internal Server Error message.
nternal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

Balls.
Looking in the Logging there is not much to see. No errors in nextcloud.log or in the httpd webserver logging.

I came across this forum article: Internal Server Error after upgrade to Nextcloud 13

Unfortunately this was not the solution.

Just to be sure I issued the upgrade command again:
[root@web02 testcloud]# sudo -u apache php ./occ upgrade
Nextcloud is already latest version

Going through the options I came across maintenance:repair.

[root@web02 testcloud]# sudo -u apache php ./occ maintenance:repair
- Repair MySQL collation
- All tables already have the correct collation -> nothing to do
- Repair mime types
- Clean tags and favorites
- 0 tags of deleted users have been removed.
- 0 tags for delete files have been removed.
- 0 tag entries for deleted tags have been removed.
- 0 tags with no entries have been removed.
- Repair invalid shares
- Remove shares of a users root folder
- Move .step file of updater to backup location
- Fix potential broken mount points
- No mounts updated
- Repair invalid paths in file cache
- Add log rotate job
- Clear frontend caches
- Image cache cleared
- SCSS cache cleared
- JS cache cleared
- Clear every generated avatar on major updates
- Add preview background cleanup job
- Queue a one-time job to cleanup old backups of the updater
- Repair pending cron jobs
- No need to repair pending cron jobs.
- Extract the vcard uid and store it in the db
- Fix component of birthday calendars
- 1 birthday calendars updated.
- Fix broken values of calendar objects
0 [>---------------------------]
- Registering building of calendar search index as background job
- Repair step already executed
- Registering background jobs to update cache for webcal calendars
- Added 0 background jobs to update webcal calendars
- Fix the share type of guest shares when migrating from ownCloud
- Copy the share password into the dedicated column
- Update OAuth token expiration times
- Add background job to check for backup codes

At this moment I was able to login again. I guess clearing the caches did something.

Looking at the Security & setup warnings it was saying something about the no-referrer settings. As I have this set up in the webservers config file, there is no need for this to be in the .htaccess. So I commented out this line in .htaccess:

Header set Referrer-Policy "no-referrer"

That ment all green in this section.

In the logging I only see these errors that need to be fixed:

[core] Error: OCP\Files\NotFoundException:  at <<closure>>

 0. /var/www/html/testcloud/lib/private/Files/Node/Node.php line 216
    getFileInfo()
 1. /var/www/html/testcloud/lib/private/Files/Node/Node.php line 117
    getPermissions()
 2. /var/www/html/testcloud/lib/private/Files/Node/File.php line 64
    checkPermissions(2)
 3. /var/www/html/testcloud/lib/private/Files/SimpleFS/SimpleFile.php line 104
    putContent("(function($) {\ ... n")
 4. /var/www/html/testcloud/lib/private/Template/JSCombiner.php line 194
    putContent("(function($) {\ ... n")
 5. /var/www/html/testcloud/lib/private/Template/JSCombiner.php line 103
    cache("/var/www/html/testcloud/core/js", "merged-template-prepend.js", OC\Files\SimpleFS\SimpleFolder {})
 6. /var/www/html/testcloud/lib/private/Template/JSResourceLocator.php line 114
    process("/var/www/html/testcloud", "core/js/merged-template-prepend.json", "core")
 7. /var/www/html/testcloud/lib/private/Template/JSResourceLocator.php line 70
    cacheAndAppendCombineJsonIfExist("/var/www/html/testcloud", "core/js/merged-template-prepend.json")
 8. /var/www/html/testcloud/lib/private/Template/ResourceLocator.php line 78
    doFind("js/merged-template-prepend")
 9. /var/www/html/testcloud/lib/private/TemplateLayout.php line 315
    find(["vendor/core"," ... "])
10. /var/www/html/testcloud/lib/private/TemplateLayout.php line 154
    findJavascriptFiles(["vendor/core"," ... "])
11. /var/www/html/testcloud/lib/private/legacy/template.php line 211
    __construct("error", "")
12. /var/www/html/testcloud/lib/private/Template/Base.php line 132
    fetchPage()
13. /var/www/html/testcloud/lib/private/legacy/template.php line 360
    printPage()
14. /var/www/html/testcloud/index.php line 69
    printExceptionErrorPage(OCP\Files\NotFoundException {}, 500)

[PHP] Error: touch(): Unable to create file /var/www/html/testcloud/data/appdata_ocunij9vyokq/js/core/merged-template-prepend.js.gzip because No such file or directory at /var/www/html/testcloud/lib/private/Files/Storage/Local.php#206

[PHP] Error: touch(): Unable to create file /var/www/html/testcloud/data/appdata_ocunij9vyokq/js/core/merged-template-prepend.js.deps because No such file or directory at /var/www/html/testcloud/lib/private/Files/Storage/Local.php#206

[PHP] Error: touch(): Unable to create file /var/www/html/testcloud/data/appdata_ocunij9vyokq/js/core/merged-template-prepend.js because No such file or directory at /var/www/html/testcloud/lib/private/Files/Storage/Local.php#206

Other than that all looks good.