Seventh beta of Nextcloud 25

The seventh beta of Nextcloud 25 is now available on our download server! :rocket:

As always, help with testing is very much welcome!
If you notice anything out of order, please report back on the appropriate github repository! :bowing_woman:

Downloads

Changelog 25.0.0 beta 7

3 Likes

Thank you for your work. Here are my first impressions.

Is it intentional that the dashboard image, is no longer available in the files, photos or similar apps?

The possibility to set an icon as status does not work properly since beta 1.

The dark mode still has many unadjusted colors in the buttons. Dark background with very dark font color is more of a handicap.

Moving the dashboard settings around is a bit confusing. However, you quickly get used to it. Where the setting is now, it makes more sense in my opinion.

The install via the Admin page fails for me. The updater page shows all steps already completed so when I select the download the update just skips back to my Dashboard.

2 Likes

Just the same here
This is the actual version php:

<?php $OC_Version = array(25,0,0,11); $OC_VersionString = '25.0.0 beta 6'; $OC_Channel = 'beta'; $OC_VersionCanBeUpgradedFrom = array ( 'nextcloud' => array ( '24.0' => true, '25.0' => true, ), 'owncloud' => array ( '10.5' => true, ), ); $OC_Build = '2022-09-09T15:09:09+00:00 ef9736160b21713f9d6af55327dac5d85b230caa'; $vendor = 'nextcloud'; A jump from 25.0.0 beta 6 to 25.0.0 beta 7 seems not to be working this way. Not with the webbfrontend nor with updater.phar. Something i missed?

Same here. Manual update via occ works.

1 Like

Manual via occ works? shure? The new Version shows up in version.php?
Here updater.phar mumbeled something like “all ok” and everything looked nice, but the version did not increas.

@eehmke

What command are you using to do the manual update?

pi@raspberrypi:/var/www/html/nextcloud/updater $ sudo -u www-data php ./updater.phar

Nextcloud Updater - version: v25.0.0beta3-17-gef6cf2d

Current version is 25.0.0 beta 5.

Update to Nextcloud 25.0.0 beta 7 available. (channel: “beta”)

Following file will be downloaded automatically: https://download.nextcloud.com/server/prereleases/nextcloud-25.0.0beta7.zip

Steps that will be executed:

[:heavy_check_mark:] Check for expected files

[:heavy_check_mark:] Check for write permissions

[:heavy_check_mark:] Create backup

[:heavy_check_mark:] Downloading

[:heavy_check_mark:] Verify integrity

[:heavy_check_mark:] Extracting

[:heavy_check_mark:] Enable maintenance mode

[:heavy_check_mark:] Replace entry points

[:heavy_check_mark:] Delete old files

[:heavy_check_mark:] Move new files in place

[:heavy_check_mark:] Done

Continue update? [y/N] y

Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.

[:heavy_check_mark:] Check for expected files

[:heavy_check_mark:] Check for write permissions

[:heavy_check_mark:] Create backup

[:heavy_check_mark:] Downloading

[:heavy_check_mark:] Verify integrity

[:heavy_check_mark:] Extracting

[:heavy_check_mark:] Enable maintenance mode

[:heavy_check_mark:] Replace entry points

[:heavy_check_mark:] Delete old files

[:heavy_check_mark:] Move new files in place

[:heavy_check_mark:] Done

Update of code successful.

Should the “occ upgrade” command be executed? [Y/n] y

Nextcloud is already latest version

Keep maintenance mode active? [y/N] y

Maintenance mode kept active

As the above shows, the updater thinks the Nextcloud instance is already updated despite it listing a newer update is available.

1 Like

[installed] => 1
[maintenance] =>
[needsDbUpgrade] =>
[version] => 25.0.0.11
[versionstring] => 25.0.0 beta 6
[edition] =>
[productname] => Nextcloud
[extendedSupport] =>

Well, some occ update:check gives:

Nextcloud 25.0.0 beta 7 is available. Get more information on how to update at https://docs.nextcloud.com/server/25/admin_manual/maintenance/upgrade.html.

But a now called occ upgrade reports:

Nextcloud is already latest version

Running updater.phar does not make anything different.
Tonight i’ll try unpacking the zipfile and doing it manually. Report will come then.

#Ok, the manual variant. Works fine on Debian Stable (mocked up with php8.1). Please dont just copy Paths and UserIDs.

wget https://download.nextcloud.com/server/prereleases/nextcloud-25.0.0beta7.zip

Hard maintenancemodu :smiling_imp:

systemctl stop apache2

Advice: Backup you Database. If NC ist he only user dig this variant for (tip!) postgresql:

This is a job for user “postgres”

pg_dumpall >$(date +%Y%m%d%H%M)-NC-25.0.0.6beta.sql

Job for UserID www-data or whatever ID your NC is running:

cd /somewhereintheuniverse/
mv nextcloud bak.nextcloud
unzip /somewhereintheuniverse/nextcloud-25.0.0beta7.zip

Directory “nextcloud” will be created when extracting!

cp /somewhereintheuniverse/config/config.php nextcloud/config/
rsync -av bak.nextcloud/data nextcloud/
chown www-data:www-data nextcloud
sudo -u www-data php /somewhereintheuniverse/occ upgrade

And before restarting your instanz you need to do a little typekonvertion in the database:
occ db:convert-filecache-bigint

This could last a while on installations with lots of files

The small server, i am using, finished in a second.

And now lets restart the apache

systemctl start apache2

Everything should work.

on a modified Debian whith new php ans tuf this could help:

systemctl restart php8.1-fpm.service ; sleep 1; systemctl restart apache2

Brain first, then fingers!

This also happened to me. My solution was to get back to the NC24 hotspot I created before the update. But that is of course cheating,

You guys just need to delete the updater-xxxx folder inside of the data folder of your Nextcloud instance. After that you can start the Update progress as normal in the web UI.

2 Likes

Whatthe…ooook…
Thx!

Can one switch from stable branch to beta via occ?

In config.php, the version is shown as
‘version’ => ‘25.0.0.12’,
In the Overview page, it is displayed as 25.0.0 beta 7

sudo -u www-testcloud php8.1 occ upgrade

where www-testcloud is the owner of the directory.

I didn’t find a dedicated occ command for that purpose, but it is possible using the occ config command… Using the occ command — Nextcloud latest Administration Manual latest documentation

occ config:system:set updater.release.channel --value="beta"
1 Like

For me this beta have problem when i try to Share any folder (tried few in different places, not on any mounted directory). Here is the error:

Exception: OCA\RelatedResources\Service\MiscService::convertShareRecipient(): Argument #2 ($sharedWith) must be of type string, null given, called in /var/www/nextcloud/apps/related_resources/lib/Listener/FileShareUpdate.php on line 69 in file ‘/var/www/nextcloud/apps/related_resources/lib/Service/MiscService.php’ line 57

/var/www/nextcloud/lib/private/AppFramework/App.php - line 172:

OC\AppFramework\Http\Dispatcher->dispatch()

/var/www/nextcloud/lib/private/Route/Router.php - line 298:

OC\AppFramework\App::main()

/var/www/nextcloud/ocs/v1.php - line 62:

OC\Route\Router->match()

/var/www/nextcloud/ocs/v2.php - line 23:

require_once("/var/www/nextcloud/ocs/v1.php")

Spowodowany TypeError: OCA\RelatedResources\Service\MiscService::convertShareRecipient(): Argument #2 ($sharedWith) must be of type string, null given, called in /var/www/nextcloud/apps/related_resources/lib/Listener/FileShareUpdate.php on line 69

/var/www/nextcloud/apps/related_resources/lib/Listener/FileShareUpdate.php - line 69:

OCA\RelatedResources\Service\MiscService->convertShareRecipient()

/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php - line 87:

OCA\RelatedResources\Listener\FileShareUpdate->handle()

/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 251:

OC\EventDispatcher\ServiceEventListener->__invoke()

/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 73:

Symfony\Component\EventDispatcher\EventDispatcher->callListeners()

/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php - line 88:

Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php - line 100:

OC\EventDispatcher\EventDispatcher->dispatch()

/var/www/nextcloud/lib/private/Share20/Manager.php - line 836:

OC\EventDispatcher\EventDispatcher->dispatchTyped()

/var/www/nextcloud/apps/files_sharing/lib/Controller/ShareAPIController.php - line 693:

OC\Share20\Manager->createShare()

/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 225:

OCA\Files_Sharing\Controller\ShareAPIController->createShare()

/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 133:

OC\AppFramework\Http\Dispatcher->executeController()

/var/www/nextcloud/lib/private/AppFramework/App.php - line 172:

OC\AppFramework\Http\Dispatcher->dispatch()

/var/www/nextcloud/lib/private/Route/Router.php - line 298:

OC\AppFramework\App::main()

/var/www/nextcloud/ocs/v1.php - line 62:

OC\Route\Router->match()

/var/www/nextcloud/ocs/v2.php - line 23:

require_once("/var/www/nextcloud/ocs/v1.php")

The updater and the server have different opinions on the default release channel… alas, it was “always” like this. In doubt, toggling to stable and back to beta fixes it, as it is then written to the config. Will be fixed probably in one of the next RCs, but not RC1.

1 Like