Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cannot open "About" page after manually updating from 27.1.9 to 28.0.6 #1247

Closed
5 of 8 tasks
jkahrs opened this issue Jun 12, 2024 · 2 comments
Closed
5 of 8 tasks

Comments

@jkahrs
Copy link

jkahrs commented Jun 12, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

After following the guide at https://docs.nextcloud.com/server/latest/admin_manual/maintenance/manual_upgrade.html to upgrade from 27.1.9 to 28.0.6 the "About" Page (FirstRunWizard) stops working. The nextcloud.log adds the following information:

{"reqId":"hu9IIbrw9c6PQdwL09JB","level":3,"time":"2024-06-12T12:20:09+00:00","remoteAddr":"172.42.0.1","user":"admin","app":"index","method":"GET","url":"/index.php/apps/firstrunwizard/wizard","message":"template file not found: template:page.values","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"28.0.6.1","exception":{"Exception":"Exception","Message":"template file not found: template:page.values","Code":0,"Trace":[{"file":"/home/webfanv8x/html/asd.de/lib/private/legacy/OC_Template.php","line":111,"function":"find","class":"OC\\Template\\TemplateFileLocator","type":"->","args":["page.values"]},{"file":"/home/webfanv8x/html/asd.de/lib/private/legacy/OC_Template.php","line":82,"function":"findTemplate","class":"OC_Template","type":"->","args":["","firstrunwizard","page.values"]},{"file":"/home/webfanv8x/html/asd.de/apps/firstrunwizard/lib/Controller/WizardController.php","line":116,"function":"__construct","class":"OC_Template","type":"->","args":["firstrunwizard","page.values",false]},{"file":"/home/webfanv8x/html/asd.de/apps/firstrunwizard/lib/Controller/WizardController.php","line":96,"function":"staticSlide","class":"OCA\\FirstRunWizard\\Controller\\WizardController","type":"->","args":["page.values",["https://nextcloud.com/install/#install-clients","https://play.google.com/store/apps/details?id=com.nextcloud.client","https://f-droid.org/packages/com.nextcloud.client/","https://geo.itunes.apple.com/us/app/nextcloud/id1125420102?mt=8",true,"And 2 more entries, set log level to debug to see all entries"]]},{"file":"/home/webfanv8x/html/asd.de/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"show","class":"OCA\\FirstRunWizard\\Controller\\WizardController","type":"->","args":[]},{"file":"/home/webfanv8x/html/asd.de/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\FirstRunWizard\\Controller\\WizardController"],"show"]},{"file":"/home/webfanv8x/html/asd.de/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\FirstRunWizard\\Controller\\WizardController"],"show"]},{"file":"/home/webfanv8x/html/asd.de/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\FirstRunWizard\\Controller\\WizardController","show",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["firstrunwizard.Wizard.show"]]},{"file":"/home/webfanv8x/html/asd.de/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/firstrunwizard/wizard"]},{"file":"/home/webfanv8x/html/asd.de/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/home/webfanv8x/html/asd.de/lib/private/Template/TemplateFileLocator.php","Line":56,"message":"template file not found: template:page.values","exception":{},"CustomMessage":"template file not found: template:page.values"}}

I'm not sure if the issue also affects other parts of the cloud. The issue reproduces with Apache as well as Nginx and MariaDB 10.11 as well as SQLite.

Steps to reproduce

  1. Download & Install nextcloud 27.1.9
  2. Follow the guide at https://docs.nextcloud.com/server/latest/admin_manual/maintenance/manual_upgrade.html to perform an upgrade to 28.0.6
  3. Login and click your Avator on the Upper right followed by "About"

Expected behavior

I can open the "About" page after update without errors.

Installation method

Community Manual installation with Archive

Nextcloud Server version

28

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

SQlite

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 22 to 23)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "asd.de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "sqlite3",
        "version": "28.0.6.1",
        "overwrite.cli.url": "http:\/\/asd12345somedomain.de",
        "installed": true,
        "updater.release.channel": "stable",
        "loglevel": 2,
        "maintenance": false
    }
}

List of activated Apps

Enabled:
  - activity: 2.20.0
  - calendar: 4.7.6
  - circles: 28.0.0
  - cloud_federation_api: 1.11.0
  - comments: 1.18.0
  - contacts: 5.5.3
  - contactsinteraction: 1.9.0
  - dashboard: 7.8.0
  - dav: 1.29.1
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - firstrunwizard: 2.17.0
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - mail: 3.7.1
  - nextcloud_announcements: 1.17.0
  - notes: 4.10.0
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - photos: 2.4.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - richdocuments: 8.3.7
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - spreed: 18.0.8
  - support: 1.11.1
  - survey_client: 1.16.0
  - systemtags: 1.18.0
  - text: 3.9.1
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - updatenotification: 1.18.0
  - user_status: 1.8.1
  - viewer: 2.2.0
  - weather_status: 1.8.0
  - workflowengine: 2.10.0
Disabled:
  - admin_audit: 1.18.0
  - bruteforcesettings: 2.8.0
  - encryption: 2.16.0
  - files_external: 1.20.0
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - suspicious_login: 6.0.0
  - twofactor_totp: 10.0.0-beta.2
  - user_ldap: 1.19.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"Wgsq9mcFACtWikHJtUbJ","level":3,"time":"2024-06-12T12:26:03+00:00","remoteAddr":"172.42.0.1","user":"admin","app":"index","method":"GET","url":"/index.php/apps/firstrunwizard/wizard","message":"template file not found: template:page.values","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/201001
01 Firefox/115.0","version":"28.0.6.1","exception":{"Exception":"Exception","Message":"template file not found: template:page.values","Code":0,"Trace":[{"file":"/home/webfanv8x/html/asd.de/lib/private/legacy/OC_Template.php","line":111,"function":"find","class":"OC\\Template\\TemplateFileLocator","type":"->","args":[
"page.values"]},{"file":"/home/webfanv8x/html/asd.de/lib/private/legacy/OC_Template.php","line":82,"function":"findTemplate","class":"OC_Template","type":"->","args":["","firstrunwizard","page.values"]},{"file":"/home/webfanv8x/html/asd.de/apps/firstrunwizard/lib/Controller/WizardController.php","line":116,"function"
:"__construct","class":"OC_Template","type":"->","args":["firstrunwizard","page.values",false]},{"file":"/home/webfanv8x/html/asd.de/apps/firstrunwizard/lib/Controller/WizardController.php","line":96,"function":"staticSlide","class":"OCA\\FirstRunWizard\\Controller\\WizardController","type":"->","args":["page.values"
,["https://nextcloud.com/install/#install-clients","https://play.google.com/store/apps/details?id=com.nextcloud.client","https://f-droid.org/packages/com.nextcloud.client/","https://geo.itunes.apple.com/us/app/nextcloud/id1125420102?mt=8",true,"And 2 more entries, set log level to debug to see all entries"]]},{"file"
:"/home/webfanv8x/html/asd.de/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"show","class":"OCA\\FirstRunWizard\\Controller\\WizardController","type":"->","args":[]},{"file":"/home/webfanv8x/html/asd.de/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","clas
s":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\FirstRunWizard\\Controller\\WizardController"],"show"]},{"file":"/home/webfanv8x/html/asd.de/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\FirstRunWizard\\Con
troller\\WizardController"],"show"]},{"file":"/home/webfanv8x/html/asd.de/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\FirstRunWizard\\Controller\\WizardController","show",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["firstrunwizard.Wi
zard.show"]]},{"file":"/home/webfanv8x/html/asd.de/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/firstrunwizard/wizard"]},{"file":"/home/webfanv8x/html/asd.de/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/home/webfan
v8x/html/asd.de/lib/private/Template/TemplateFileLocator.php","Line":56,"message":"template file not found: template:page.values","exception":{},"CustomMessage":"template file not found: template:page.values"}}

Additional info

No response

@susnux susnux transferred this issue from nextcloud/server Jun 12, 2024
@jkahrs
Copy link
Author

jkahrs commented Jul 23, 2024

I have been testing the changes proposed at #1260 with my local test setup and can see that the error seems to fixed. It turns out that additionally to applying the patch one has to also clear the browser cache since the default for .js files from the server seems to be 15552000 seconds (180 days) which might indicate that some kind of cache busting is missing in the update process.

@susnux
Copy link
Contributor

susnux commented Aug 7, 2024

Resolved with #1260

@susnux susnux closed this as completed Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants