Skip to content

Poll archived by accident now cannot be restored, copied, or exported #4316

Closed

Description

@kimimaru4000

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • I agree to follow Nextcloud's Code of Conduct.

What went wrong, what did you observe?

I had a public poll that expired that I archived. My intent was to back it up and export it. Now I can't restore it, clone it, nor export it. My poll is unactionable and all the poll entries have been replaced with "Jan 70 1 Thu" instead of their real names, with the date being 55 years ago (looks like Unix epoch).

What did you expect, how polls should behave instead?

The poll should look as it did before archiving and be able to be unarchived, exported, and cloned.

What steps does it need to replay this bug?

  1. Create a public poll.
  2. Archive the poll.

Affected polls version

8.4.6

Installation method

Installed/updated from the appstore (Apps section of your site)

Installation type

Updated from a minor version within same major version (i.e. 8.0.0 to 8.1.2)

Can you rule out that any extension you use is involved in the issue?

  • I have checked all browser extension

Which browser did you use, when experiencing the bug?

  • Firefox
  • Chrome
  • Chromium/Chromium based (i.e. Edge)
  • Safari
  • Other/Don't know

Other browser

No response

Add your browser log here

Additional client environment information

No response

NC version

Nextcloud 31

Other Nextcloud version

Nextcloud 31.0.9

PHP engine version

PHP 8.1

Other PHP version

PHP 8.1.2

Database engine

MariaDB

Database Engine version or other Database

MariaDB 10.6

Which user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other/Don't know

Add your nextcloud server log here

{"reqId":"ppQhO4R33V5tqnfeKeGc","level":0,"time":"2025-09-28T21:31:00+00:00","remoteAddr":"REDACTED","user":"REDACTED","app":"polls","method":"GET","url":"/nextcloud/index.php/apps/polls/polls?time=1759095059864","message":"Could not get setting type","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0","version":"31.0.9.1","data":{"app":"polls","key":"unrestrictedOwner","expectedType":"32","actualType":"null","exception":"unknown config key"}

Additional environment informations

No response

Configuration report

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "127.0.0.1",
            "mynextcloud.com",
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.9.1",
        "overwrite.cli.url": "http:\/\/mynextcloud.com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "loglevel": 0,
        "reference_opengraph": false,
        "enable_previews": false,
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "maintenance_window_start": 1,
        "app_install_overwrite": [
            "forms",
            "files_markdown"
        ],
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

List of activated Apps

Enabled:
  - app_api: 5.0.2
  - bruteforcesettings: 4.0.0
  - cloud_federation_api: 1.14.0
  - comments: 1.21.0
  - contactsinteraction: 1.12.0
  - dav: 1.33.0
  - federatedfilesharing: 1.21.0
  - federation: 1.21.0
  - files: 2.3.1
  - files_downloadlimit: 4.0.0
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.1
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - firstrunwizard: 4.0.0
  - forms: 5.2.0
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - nextcloud_announcements: 3.0.0
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - password_policy: 3.0.0
  - photos: 4.0.0
  - polls: 8.4.6
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - related_resources: 2.0.0
  - richdocuments: 8.7.5
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - support: 3.0.0
  - systemtags: 1.21.1
  - text: 5.0.0
  - theming: 2.6.1
  - twofactor_backupcodes: 1.20.0
  - twofactor_totp: 13.0.0-dev.0
  - updatenotification: 1.21.0
  - viewer: 4.0.0
  - webhook_listeners: 1.2.0
  - workflowengine: 2.13.0
Disabled:
  - activity: 4.0.0 (installed 2.21.1)
  - admin_audit: 1.21.0
  - circles: 31.0.0 (installed 25.0.0)
  - dashboard: 7.11.0 (installed 7.9.0)
  - encryption: 2.19.0
  - files_external: 1.23.0
  - files_markdown: 2.4.1 (installed 2.4.1)
  - recommendations: 4.0.0 (installed 1.0.0)
  - sharebymail: 1.21.0 (installed 1.14.0)
  - survey_client: 3.0.0 (installed 1.9.0)
  - suspicious_login: 9.0.1
  - twofactor_nextcloud_notification: 5.0.0
  - user_ldap: 1.22.0
  - user_status: 1.11.0 (installed 1.1.1)
  - weather_status: 1.11.0 (installed 1.1.0)

Nextcloud Signing status

No errors have been found.

Additional Information

In the console logs I see that https://myserver/nextcloud/index.php/apps/polls/poll/6/toggleArchive is returning a 500 error.

The error looks similar to #4300 but unlike that issue, I can open this poll. However, the information in the poll is not fully correct and I can't unarchive it.

Activity

  1. added theissue type on Sep 28, 2025
  2. dartcafe commented on Oct 3, 2025

    @dartcafe
    Collaborator

    Should be fixed also with #4304

  3. added this to the 8.5.0 milestone on Oct 3, 2025
  4. dartcafe commented on Oct 5, 2025

    @dartcafe
    Collaborator

    Please reopen, if still existing with 8.5.0

  5. github-actions commented on Nov 6, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  6. locked as resolved and limited conversation to collaborators on Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions