Earn a t-shirt by testing Nextcloud 12 Beta 2!

I thing a found a bug. After enabling Spreed.ME from the APPs and generating the config in the admin section;
you click on the Spreed.Me Icon in the top, this is what u end up!

And i can reproduce it … sorry for my bad englisch, its not my native language…

cya - give me a tshirt, getting cold outside :stuck_out_tongue:

Can’t reproduce it, for me Spreed.ME app starts works fine through it’s icon. Some more information about your setup of spreed server and server environment could be helpful. But actually this looks like it has nothing to do with spreed itself, more with php/apache.
Do nextcloud log, apache log or browser console show something related to that issue?
Ah, and do you use already beta 2 or still beta 1?

To not mess this thread up, I guess it would be great to create an own topic for this and edit it’s link into your report ;).

I had trouble with apps during upgrade from 11.3 to 12.0beta2 on my rootserver with Plesk on Debian 8.8. Here are the steps and error messages:

Did backups, then uploaded 12beta2 and ran the upgrade page in my Firefox browser.
Error message:
"
The files of the app Mail template editor (templateeditor) were not replaced correctly. Make sure it is a version compatible with the server.
"
So I deleted the app folder /apps/templateeditor/ and got this message:
"
Nextcloud wird auf Version 12.0 beta 2 aktualisiert
Diese Apps werden aktualisiert:

Activity (activity)
Auditing / Logging (admin_audit)
Comments (comments)
WebDAV (dav)
Federated file sharing (federatedfilesharing)
Federation (federation)
Files (files)
External storage support (files_external)
PDF viewer (files_pdfviewer)
File sharing (files_sharing)
Text editor (files_texteditor)
Deleted files (files_trashbin)
Versions (files_versions)
Video player (files_videoplayer)
First run wizard (firstrunwizard)
Gallery (gallery)
Nextcloud announcements (nextcloud_announcements)
Notifications (notifications)
Password policy (password_policy)
Provisioning API (provisioning_api)
Monitoring (serverinfo)
Share by mail (sharebymail)
Usage survey (survey_client)
Collaborative tags (systemtags)
Theming (theming)
Two factor backup codes (twofactor_backupcodes)
Update notification (updatenotification)
Files workflow engine (workflowengine)

Diese inkompatiblen Apps werden deaktiviert:

Audio Player (audioplayer)
Direct Menu (direct_menu)
External sites (external)

"

Ran page again in Firefox and got this error message:
"
Aktualisierung auf 12.0 beta 2

Doctrine\DBAL\Exception\SyntaxErrorException: An exception occurred while executing ‘DELETE FROM oc_reader_bookmarks b WHERE b.file_id = ?’ with params [78141]: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘b WHERE b.file_id = ‘78141’’ at line 1
Detaillierte Protokollmeldungen
Update vorbereiten
Log-Level auf “debug” gesetzt
Wartungsmodus eingeschaltet
Datenbank-Schema wird aktualisiert
Datenbank aktualisiert
„federatedfilesharing“ zu 1.2.0 aktualisiert
„files_pdfviewer“ zu 1.1.1 aktualisiert
„files_texteditor“ zu 2.4.1 aktualisiert
„files_videoplayer“ zu 1.1.0 aktualisiert
„gallery“ zu 17.0.0 aktualisiert
„password_policy“ zu 1.2.2 aktualisiert
„provisioning_api“ zu 1.2.0 aktualisiert
„serverinfo“ zu 1.2.0 aktualisiert
„survey_client“ zu 1.0.0 aktualisiert
„twofactor_backupcodes“ zu 1.1.0 aktualisiert
„updatenotification“ zu 1.2.0 aktualisiert
„federation“ zu 1.2.0 aktualisiert
„files“ zu 1.7.2 aktualisiert
„activity“ zu 2.5.2 aktualisiert
[0 / 0]: Fix broken values of calendar objects
„dav“ zu 1.3.0 aktualisiert
„files_external“ zu 1.3.0 aktualisiert
„files_sharing“ zu 1.4.0 aktualisiert
„files_trashbin“ zu 1.2.0 aktualisiert
„files_versions“ zu 1.5.0 aktualisiert
„sharebymail“ zu 1.2.0 aktualisiert
„workflowengine“ zu 1.2.0 aktualisiert
„admin_audit“ zu 1.2.0 aktualisiert
„comments“ zu 1.2.0 aktualisiert
„firstrunwizard“ zu 2.1 aktualisiert
„nextcloud_announcements“ zu 1.1 aktualisiert
„notifications“ zu 2.0.0 aktualisiert
„systemtags“ zu 1.2.0 aktualisiert
Doctrine\DBAL\Exception\SyntaxErrorException: An exception occurred while executing ‘DELETE FROM oc_reader_bookmarks b WHERE b.file_id = ?’ with params [78141]: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘b WHERE b.file_id = ‘78141’’ at line 1
Das Update ist fehlgeschlagen. Bitte melde dieses Problem an die Nextcloud Community.
"

I speculated that “oc_reader_bookmarks” might refer t incompatible apps again and deleted these app folders:
apps/bookmarks/
apps/files_reader/

Ran it again in Firefox and got:
"
Aktualisierung auf 12.0 beta 2

    Reparaturwarnung:Could not install core app bundle: Could not download app bruteforcesettings

Detaillierte Protokollmeldungen
Update vorbereiten
Log-Level auf “debug” gesetzt
Wartungsmodus eingeschaltet
Datenbank-Schema wird aktualisiert
Datenbank aktualisiert
„theming“ zu 1.3.0 aktualisiert
Reparaturwarnung:Could not install core app bundle: Could not download app bruteforcesettings
Code-Integrität wird ßberprßft
Code-Integritätsprßfung abgeschlossen
Wartungsmodus ausgeschaltet
UrsprĂźngliches Log-Level wiederhergestellt
"

I now seem to have 12.0beta2 running but with theses error messages:
"
Security & setup warnings

It’s important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the Tips & Ticks section and the documentation for more information.

Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our documentation. (List of invalid files… / Rescan…)

This server has no working Internet connection: Multiple endpoints could not be reached. This means that some of the features like mounting external storage, notifications about updates or installation of third-party apps will not work. Accessing files remotely and sending of notification emails might not work, either. We suggest to enable Internet connection for this server if you want to have all features.

No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our documentation.

Please double check the installation guides :arrow_upper_right:, and check for any errors or warnings in the log.
"

So I opened the “list of invalid files…” Link in a new tab but it seemed to be empty, at least it listed no file names:
"
Technical information

The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results

  • direct_menu
    • EXCEPTION
      • OC\IntegrityCheck\Exceptions\InvalidSignatureException
      • Certificate is not valid.

Raw output

Array
(
[direct_menu] => Array
(
[EXCEPTION] => Array
(
[class] => OC\IntegrityCheck\Exceptions\InvalidSignatureException
[message] => Certificate is not valid.
)

    )

)
"

Now I realised, that this refers to the app direct menu and deleted the app folder /apps/direct_menu/ and clicked the rescan link and the integrity check error message is gone.

12.0 beta 2 is running now but believes to have no internet connection, which is stupid, since I can access it via internet. But this error was also present in my 11.3 version before the upgrade. I had tried a lot for hours but did not find a documentation or fix for this on my installation. Please help with this, thanks!!!

All in all, the update from 11.0.3 wen’t pretty smoothly. Except the app “Direct Menu” failed the code integrity check, but it was easily fixed by deleting the app. Pretty weirdly I still have the direct menu. I’m guessing it’s now a default feature for Nextcloud 12?

In addition to that, I also got the suggestion to enable php opcache. After editing my php ini to match the suggestions, I still get the message in my admin panel. So this issue remains to be unsolved for me.

EDIT: Also a big up for getting the video calling app working so smoothly! Back in 11.0.3 I didn’t have much success.

Yes, the direct menu is by defaut. I use a fresh install on my testinstance. But there are still several issues, as you cant close the video player and can’t get out of the spreed-app.

Errors after manual update on Ubuntu 17.04, PostgreSQL, PHP 7:
1.

Error
file_get_contents(/var/www/nextcloud/apps/user_saml/appinfo/signature.json): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/IntegrityCheck/Helpers/FileAccessHelper.php#39

Technical information
The following list covers which files have failed the integrity check. Please read the previous linked documentation to learn more about the errors and how to fix them.

Results

  • user_saml
    • EXCEPTION
      • OC\IntegrityCheck\Exceptions\InvalidSignatureException
      • Signature data not found.

PHP Opcache is not set up correctly.
However, my /etc/php/7.0/fpm/php.ini has the following (recommended) settings:

opcache.enable=On
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1

On Firefox 53.0.2 (64 bit), the log in button on the web interface is non-functional. Works on Chrome however…

BTW on Server Tuning — Nextcloud 12 Server Administration Manual 12 documentation you recommend the setting

opcache.enable=On

PHP: Runtime Configuration - Manual lists

opcache.enable=1

Known issue and fixed for release: Make sure the AppFetcher fetches the new applist from the appstore by rullzer ¡ Pull Request #4651 ¡ nextcloud/server ¡ GitHub

Until then just ignore it and install the app manually from store, if you need it. Enables you to add IPs to a whitelist for the internal bruteforce protection, not more and not less.

http://php.net/manual/en/opcache.configuration.php1

opcache.enable=1

So are the Nextcloud instructions wrong? Which one is it? On or 1?

Dont appear a button for closing the video player

Some overall observations:

  1. upgrade from 11.03 to 12.0b2 went OK for dutch localization without issues.
  2. I’m missing now a bit the e-mail template editor? Is it gone or will it come back?
    As we had issues in NC11 to get it updated for Dutch language I now see no way at all to customize e-mail templates
  3. clamav anti_virus; is that gone or is it coming back?
  4. federation was by default enabled; earlier it was disabled; I would think its better to leave it disabled when doing an upgrade
  5. I deleted (I believe) an old calendar some time ago but suddenly that calender showed up again after the upgrade?
  6. some admin related app had in the app list the visibility by default open to all ; should it not be more restricted by default for some apps to have it only listed as admins?
  7. after logging on at personal data Im missing now the field for a users twitter/website/adress & phone info; is this a bug or worked on already?

keep up the good work!

the setting:

opcache.enable=1

is correct. more information can be found here: Nextcloud and PHP
https://www.c-rieger.de/nextcloud-installation-guide/#c02

1 Like

Yeah, I was told to create a Server issue - so I did: https://github.com/nextcloud/server/issues/4838 :wink:

i found a bug in the default encryption module…

until v11 the encryption module worked perfectly for uploading files as a guest withour account to a shared folder via Link. but since v11 the default encryption module is broken. it is not possible to upload files as a guest because all files are corrupt.

@bjoern is the issue above known or should it be reported as new?

1 Like

Updated latest 11 to 12.0.0 b2 today. Now, b3 is showing up. But upgrade is not working, because of a js error. The Button “Start Update” is not working.

[Error] Failed to load resource: the server responded with a status of 404 (HTTP/2.0 404) (purify.min.js.map, line 0)

The file is missing. Not sure if it is a known issue? I could upload it manually, but wanted to ensure it is not a global issue…

The updater in Beta 2 sadly doesn’t start when pressing “Start update”. This has been fixed in the beta 3.

To start the update you can either:

  1. Use the CLI updater by executing “php updater/updater.phar”
  2. Open /updater/ directly (e.g. cloud.foo.com/updater/)
  3. Apply the patch from https://github.com/nextcloud/server/pull/4762/files (https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/4762.patch)
  4. Perform the updater manually from the ZIP file from https://download.nextcloud.com/server/prereleases/?C=M;O=D

whats about that issue?

@bjoern any idea?

Thank you for this update and your work!

A few things:

  1. The login button on Firefox 53.0.2 is still not functioning after this update.

  2. Update fails initially, because the folder “assets” is present.

  3. After the update, code integrity check fails:

Technical information
The following list covers which files have failed the integrity check. Please read the previous linked documentation to learn more about the errors and how to fix them.

Results

  • user_saml
    • EXCEPTION
      • OC\IntegrityCheck\Exceptions\InvalidSignatureException
      • Signature data not found.

Raw output
Array
(
[user_saml] => Array
(
[EXCEPTION] => Array
(
[class] => OC\IntegrityCheck\Exceptions\InvalidSignatureException
[message] => Signature data not found.
)
)
)

I have just updated my Nexcloud 11.0.3 to 12 beta 3.

I am using Debian Jessie with nginx 1.6.2 from debian jessie and php-fpm 7.1 from sury.org

All went quite well exept that in the admin section this is now shown:
The "X-Frame-Options" HTTP header is not configured to equal to "SAMEORIGIN". This is a potential security or privacy risk and we recommend adjusting this setting.

Even though my nginx site-configuration has the option set according to the manual (as here https://docs.nextcloud.com/server/12/admin_manual/installation/nginx.html ).

add_header X-Frame-Options "SAMEORIGIN";

Thanks. I can reproduce this issue and user_saml is shipped via appstore by LukasReschke ¡ Pull Request #4926 ¡ nextcloud/server ¡ GitHub should fix this problem.