[GH-ISSUE #818] Telegram Provider Broken in v2.0.0 #133

Open
opened 2026-02-26 05:33:28 +03:00 by kerem · 1 comment
Owner

Originally created by @marius-wieschollek on GitHub (Dec 24, 2025).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/818

Originally assigned to: @vitormattos on GitHub.

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Configure Telegram Bot 2FA Provider
  2. Upgrade to V2.0.0 on Nextcloud 32
  3. Try to log in using Telegram 2FA method

Expected behaviour

Code is sent to user and Nextcloud shows a form to enter the code

Actual behaviour

Internal Server Error page shown.

A workaround seems to be the manual configuration with ./occ twofactorauth:gateway:configure
And then setting the telegram_provider_name config value with ./occ config:app:set twofactor_gateway telegram_provider_name --type=string --value=telegram_bot

Error in twofactorauth:gateway:configure telegram
www-data@25cdcc51448b:~/html$ ./occ twofactorauth:gateway:configure telegram
An unhandled exception has been thrown:
Error: Call to a member function cliConfigure() on null in /var/www/html/custom_apps/twofactor_gateway/lib/Command/Configure.php:55
Stack trace:
#0 /var/www/html/3rdparty/symfony/console/Command/Command.php(326): OCA\TwoFactorGateway\Command\Configure->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /var/www/html/3rdparty/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 /var/www/html/3rdparty/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(OCA\TwoFactorGateway\Command\Configure), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /var/www/html/3rdparty/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /var/www/html/lib/private/Console/Application.php(187): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 /var/www/html/console.php(90): OC\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
#6 /var/www/html/occ(33): require_once('/var/www/html/c...')
"Invalid gateway/provider configuration set" Error on page
{"reqId":"1z4i1eyxJpkVX3vruloG","level":3,"time":"2025-12-24T12:30:39+00:00","remoteAddr":"91.39.223.76","user":"marius","app":"index","method":"GET","url":"/login/challenge/gateway_telegram","message":"Invalid gateway/provider configuration set","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:146.0) Gecko/20100101 Firefox/146.0","version":"32.0.2.2","exception":{"Exception":"OCA\\TwoFactorGateway\\Exception\\ConfigurationException","Message":"Invalid gateway/provider configuration set","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/twofactor_gateway/lib/Provider/Channel/Telegram/Gateway.php","line":34,"function":"getProvider","class":"OCA\\TwoFactorGateway\\Provider\\Channel\\Telegram\\Gateway","type":"->","args":[]},{"file":"/var/www/html/custom_apps/twofactor_gateway/lib/Provider/AProvider.php","line":93,"function":"send","class":"OCA\\TwoFactorGateway\\Provider\\Channel\\Telegram\\Gateway","type":"->","args":["18225923","177546 ist dein Nextcloud-Authentifizierungscode",{"code":"177546"}]},{"file":"/var/www/html/core/Controller/TwoFactorChallengeController.php","line":131,"function":"getTemplate","class":"OCA\\TwoFactorGateway\\Provider\\AProvider","type":"->","args":[{"__class__":"OC\\User\\User"}]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":204,"function":"showChallenge","class":"OC\\Core\\Controller\\TwoFactorChallengeController","type":"->","args":["gateway_telegram",null]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\TwoFactorChallengeController"},"showChallenge"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\TwoFactorChallengeController"},"showChallenge"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\TwoFactorChallengeController","showChallenge",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"core.twofactorchallenge.showchallenge","challengeProviderId":"gateway_telegram"}]},{"file":"/var/www/html/lib/base.php","line":1061,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/login/challenge/gateway_telegram"]},{"file":"/var/www/html/index.php","line":25,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/twofactor_gateway/lib/Provider/Channel/Telegram/Gateway.php","Line":98,"message":"Invalid gateway/provider configuration set","exception":[],"CustomMessage":"Invalid gateway/provider configuration set"},"id":"694bdfaf62a9a"}

Server configuration

Web server: Nginx
Database: Maria
PHP version: 8.3
Nextcloud version: 32.0.2

List of activated apps
Enabled:
  - analytics: 6.0.1
  - app_api: 32.0.0
  - audioplayer: 3.7.0
  - bruteforcesettings: 5.0.0-dev.0
  - calendar: 6.1.2
  - cloud_federation_api: 1.16.0
  - comments: 1.22.0
  - contacts: 8.1.2
  - contactsinteraction: 1.13.1
  - cookbook: 0.11.5
  - dashboard: 7.12.0
  - dav: 1.34.2
  - federatedfilesharing: 1.22.0
  - federation: 1.22.0
  - files: 2.4.0
  - files_downloadlimit: 5.0.0-dev.0
  - files_external: 1.24.0
  - files_fulltextsearch: 32.0.2
  - files_fulltextsearch_tesseract: 27.0.1
  - files_pdfviewer: 5.0.0-dev.0
  - files_reminders: 1.5.0
  - files_sharing: 1.24.1
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - firstrunwizard: 5.0.0-dev.0
  - fulltextsearch: 32.0.0
  - fulltextsearch_elasticsearch: 32.0.1
  - htmlviewer: 32.0.0
  - impersonate: 3.0.0
  - logreader: 5.0.0-dev.0
  - lookup_server_connector: 1.20.0
  - mail: 5.6.5
  - memories: 7.7.0
  - news: 27.2.0
  - notifications: 5.0.0-dev.0
  - oauth2: 1.20.0
  - password_policy: 4.0.0-dev.0
  - passwords: 2026.1.20-build5841
  - photos: 5.0.0-dev.1
  - previewgenerator: 5.11.0
  - privacy: 4.0.0-dev.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - quota_warning: 1.22.0
  - related_resources: 3.0.0-dev.0
  - richdocuments: 9.0.2
  - serverinfo: 4.0.0-dev.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - socialsharing_email: 4.0.1
  - socialsharing_telegram: 4.0.1
  - survey_client: 4.0.0-dev.0
  - suspicious_login: 10.0.0-dev.0
  - systemtags: 1.22.0
  - text: 6.0.1
  - theming: 2.7.0
  - twofactor_backupcodes: 1.21.0
  - twofactor_email: 2.8.3
  - twofactor_gateway: 2.0.0
  - twofactor_totp: 14.0.0
  - twofactor_webauthn: 2.4.1
  - user_external: 3.4.0
  - user_status: 1.12.0
  - viewer: 5.0.0-dev.0
  - weather_status: 1.12.0
  - webhook_listeners: 1.3.0
  - workflowengine: 2.14.0
Nextcloud configuration
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "dbtype": "mysql",
        "version": "32.0.2.2",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "nc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "mysql.utf8mb4": true,
        "installed": true,
        "maxZipInputSize": 20000000000,
        "allowZipDownload": true,
        "maintenance": false,
        "loglevel": "2",
        "logfile": "\/var\/log\/nextcloud\/nextcloud.json",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trashbin_retention_obligation": "auto, 30",
        "updatechecker": false,
        "integrity.check.disabled": false,
        "theme": "",
        "allow_local_remote_servers": true,
        "filelocking.enabled": true,
        "default_phone_region": "DE",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "dbindex": 0
        },
        "user_backends": [
            {
                "class": "\\OCA\\UserExternal\\IMAP",
                "arguments": [
                    "***REMOVED SENSITIVE VALUE***",
                    993,
                    "ssl",
                    "***REMOVED SENSITIVE VALUE***",
                    false,
                    false
                ]
            }
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "overwritewebroot": "",
        "overwritecondaddr": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpsecure": "tls",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [
            "user_external",
            "twofactor_gateway",
            "news",
            "files_fulltextsearch_tesseract",
            "twofactor_email"
        ],
        "preview_max_memory": 2048,
        "preview_max_filesize_image": 32,
        "preview_max_x": 1024,
        "preview_max_y": 1024,
        "preview_max_scale_factor": 1,
        "enabledPreviewProviders": [
            "OC\\Preview\\Imaginary",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\Krita",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MP3",
            "OC\\Preview\\Movie",
            "OC\\Preview\\MKV",
            "OC\\Preview\\MP4",
            "OC\\Preview\\AVI",
            "OC\\Preview\\PDF",
            "OC\\Preview\\SVG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\WebP",
            "OC\\Preview\\Font",
            "OC\\Preview\\Illustrator",
            "OC\\Preview\\Photoshop",
            "OC\\Preview\\Postscript"
        ],
        "memories.ffmpeg_path": "\/usr\/bin\/ffmpeg",
        "memories.ffprobe_path": "\/usr\/bin\/ffprobe",
        "memories.transcoder": "\/var\/www\/html\/custom_apps\/memories\/exiftool-bin\/go-vod-amd64",
        "memories.no_transcode": false,
        "memories.qsv": false,
        "memories.gis_type": 1,
        "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "memories.index.mode": "0",
        "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 2,
        "simpleSignUpLink.shown": false,
        "preview_format": "webp",
        "webp_quality": 80,
        "memories.db.triggers.fcu": true
    }
}

Browser

Browser name: Firefox
Browser version: 146

Operating system: Ubuntu/

Browser log
none
Originally created by @marius-wieschollek on GitHub (Dec 24, 2025). Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/818 Originally assigned to: @vitormattos on GitHub. <!--- Please keep this note for other contributors --> ### How to use GitHub * Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are affected by the same issue. * Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue. * Subscribe to receive notifications on status change and new comments. --- ### Steps to reproduce 1. Configure Telegram Bot 2FA Provider 2. Upgrade to V2.0.0 on Nextcloud 32 3. Try to log in using Telegram 2FA method ### Expected behaviour Code is sent to user and Nextcloud shows a form to enter the code ### Actual behaviour Internal Server Error page shown. A workaround seems to be the manual configuration with `./occ twofactorauth:gateway:configure` And then setting the `telegram_provider_name` config value with `./occ config:app:set twofactor_gateway telegram_provider_name --type=string --value=telegram_bot` <details> <summary>Error in twofactorauth:gateway:configure telegram</summary> ``` www-data@25cdcc51448b:~/html$ ./occ twofactorauth:gateway:configure telegram An unhandled exception has been thrown: Error: Call to a member function cliConfigure() on null in /var/www/html/custom_apps/twofactor_gateway/lib/Command/Configure.php:55 Stack trace: #0 /var/www/html/3rdparty/symfony/console/Command/Command.php(326): OCA\TwoFactorGateway\Command\Configure->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #1 /var/www/html/3rdparty/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #2 /var/www/html/3rdparty/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(OCA\TwoFactorGateway\Command\Configure), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #3 /var/www/html/3rdparty/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #4 /var/www/html/lib/private/Console/Application.php(187): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #5 /var/www/html/console.php(90): OC\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput)) #6 /var/www/html/occ(33): require_once('/var/www/html/c...') ``` </details> <details> <summary>"Invalid gateway/provider configuration set" Error on page</summary> ``` {"reqId":"1z4i1eyxJpkVX3vruloG","level":3,"time":"2025-12-24T12:30:39+00:00","remoteAddr":"91.39.223.76","user":"marius","app":"index","method":"GET","url":"/login/challenge/gateway_telegram","message":"Invalid gateway/provider configuration set","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:146.0) Gecko/20100101 Firefox/146.0","version":"32.0.2.2","exception":{"Exception":"OCA\\TwoFactorGateway\\Exception\\ConfigurationException","Message":"Invalid gateway/provider configuration set","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/twofactor_gateway/lib/Provider/Channel/Telegram/Gateway.php","line":34,"function":"getProvider","class":"OCA\\TwoFactorGateway\\Provider\\Channel\\Telegram\\Gateway","type":"->","args":[]},{"file":"/var/www/html/custom_apps/twofactor_gateway/lib/Provider/AProvider.php","line":93,"function":"send","class":"OCA\\TwoFactorGateway\\Provider\\Channel\\Telegram\\Gateway","type":"->","args":["18225923","177546 ist dein Nextcloud-Authentifizierungscode",{"code":"177546"}]},{"file":"/var/www/html/core/Controller/TwoFactorChallengeController.php","line":131,"function":"getTemplate","class":"OCA\\TwoFactorGateway\\Provider\\AProvider","type":"->","args":[{"__class__":"OC\\User\\User"}]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":204,"function":"showChallenge","class":"OC\\Core\\Controller\\TwoFactorChallengeController","type":"->","args":["gateway_telegram",null]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\TwoFactorChallengeController"},"showChallenge"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\TwoFactorChallengeController"},"showChallenge"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\TwoFactorChallengeController","showChallenge",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"core.twofactorchallenge.showchallenge","challengeProviderId":"gateway_telegram"}]},{"file":"/var/www/html/lib/base.php","line":1061,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/login/challenge/gateway_telegram"]},{"file":"/var/www/html/index.php","line":25,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/twofactor_gateway/lib/Provider/Channel/Telegram/Gateway.php","Line":98,"message":"Invalid gateway/provider configuration set","exception":[],"CustomMessage":"Invalid gateway/provider configuration set"},"id":"694bdfaf62a9a"} ``` </details> ### Server configuration **Web server:** Nginx **Database:** Maria **PHP version:** 8.3 **Nextcloud version:** 32.0.2 <details> <summary>List of activated apps</summary> ``` Enabled: - analytics: 6.0.1 - app_api: 32.0.0 - audioplayer: 3.7.0 - bruteforcesettings: 5.0.0-dev.0 - calendar: 6.1.2 - cloud_federation_api: 1.16.0 - comments: 1.22.0 - contacts: 8.1.2 - contactsinteraction: 1.13.1 - cookbook: 0.11.5 - dashboard: 7.12.0 - dav: 1.34.2 - federatedfilesharing: 1.22.0 - federation: 1.22.0 - files: 2.4.0 - files_downloadlimit: 5.0.0-dev.0 - files_external: 1.24.0 - files_fulltextsearch: 32.0.2 - files_fulltextsearch_tesseract: 27.0.1 - files_pdfviewer: 5.0.0-dev.0 - files_reminders: 1.5.0 - files_sharing: 1.24.1 - files_trashbin: 1.22.0 - files_versions: 1.25.0 - firstrunwizard: 5.0.0-dev.0 - fulltextsearch: 32.0.0 - fulltextsearch_elasticsearch: 32.0.1 - htmlviewer: 32.0.0 - impersonate: 3.0.0 - logreader: 5.0.0-dev.0 - lookup_server_connector: 1.20.0 - mail: 5.6.5 - memories: 7.7.0 - news: 27.2.0 - notifications: 5.0.0-dev.0 - oauth2: 1.20.0 - password_policy: 4.0.0-dev.0 - passwords: 2026.1.20-build5841 - photos: 5.0.0-dev.1 - previewgenerator: 5.11.0 - privacy: 4.0.0-dev.0 - profile: 1.1.0 - provisioning_api: 1.22.0 - quota_warning: 1.22.0 - related_resources: 3.0.0-dev.0 - richdocuments: 9.0.2 - serverinfo: 4.0.0-dev.0 - settings: 1.15.1 - sharebymail: 1.22.0 - socialsharing_email: 4.0.1 - socialsharing_telegram: 4.0.1 - survey_client: 4.0.0-dev.0 - suspicious_login: 10.0.0-dev.0 - systemtags: 1.22.0 - text: 6.0.1 - theming: 2.7.0 - twofactor_backupcodes: 1.21.0 - twofactor_email: 2.8.3 - twofactor_gateway: 2.0.0 - twofactor_totp: 14.0.0 - twofactor_webauthn: 2.4.1 - user_external: 3.4.0 - user_status: 1.12.0 - viewer: 5.0.0-dev.0 - weather_status: 1.12.0 - webhook_listeners: 1.3.0 - workflowengine: 2.14.0 ``` </details> <details> <summary>Nextcloud configuration</summary> ``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***REMOVED SENSITIVE VALUE***" ], "dbtype": "mysql", "version": "32.0.2.2", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "nc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "mysql.utf8mb4": true, "installed": true, "maxZipInputSize": 20000000000, "allowZipDownload": true, "maintenance": false, "loglevel": "2", "logfile": "\/var\/log\/nextcloud\/nextcloud.json", "secret": "***REMOVED SENSITIVE VALUE***", "trashbin_retention_obligation": "auto, 30", "updatechecker": false, "integrity.check.disabled": false, "theme": "", "allow_local_remote_servers": true, "filelocking.enabled": true, "default_phone_region": "DE", "memcache.local": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379, "dbindex": 0 }, "user_backends": [ { "class": "\\OCA\\UserExternal\\IMAP", "arguments": [ "***REMOVED SENSITIVE VALUE***", 993, "ssl", "***REMOVED SENSITIVE VALUE***", false, false ] } ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "overwritehost": "***REMOVED SENSITIVE VALUE***", "overwriteprotocol": "https", "overwritewebroot": "", "overwritecondaddr": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "LOGIN", "mail_smtpsecure": "tls", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "app_install_overwrite": [ "user_external", "twofactor_gateway", "news", "files_fulltextsearch_tesseract", "twofactor_email" ], "preview_max_memory": 2048, "preview_max_filesize_image": 32, "preview_max_x": 1024, "preview_max_y": 1024, "preview_max_scale_factor": 1, "enabledPreviewProviders": [ "OC\\Preview\\Imaginary", "OC\\Preview\\MarkDown", "OC\\Preview\\OpenDocument", "OC\\Preview\\Krita", "OC\\Preview\\TXT", "OC\\Preview\\MP3", "OC\\Preview\\Movie", "OC\\Preview\\MKV", "OC\\Preview\\MP4", "OC\\Preview\\AVI", "OC\\Preview\\PDF", "OC\\Preview\\SVG", "OC\\Preview\\GIF", "OC\\Preview\\WebP", "OC\\Preview\\Font", "OC\\Preview\\Illustrator", "OC\\Preview\\Photoshop", "OC\\Preview\\Postscript" ], "memories.ffmpeg_path": "\/usr\/bin\/ffmpeg", "memories.ffprobe_path": "\/usr\/bin\/ffprobe", "memories.transcoder": "\/var\/www\/html\/custom_apps\/memories\/exiftool-bin\/go-vod-amd64", "memories.no_transcode": false, "memories.qsv": false, "memories.gis_type": 1, "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-glibc", "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64", "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg", "memories.vod.ffprobe": "\/usr\/bin\/ffprobe", "memories.index.mode": "0", "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***", "maintenance_window_start": 2, "simpleSignUpLink.shown": false, "preview_format": "webp", "webp_quality": 80, "memories.db.triggers.fcu": true } } ``` </details> ### Browser **Browser name:** Firefox **Browser version:** 146 **Operating system:** Ubuntu/ <details> <summary>Browser log</summary> ``` none ``` </details>
Author
Owner

@FaySmash commented on GitHub (Dec 28, 2025):

I can confirm this issue. Thanks @marius-wieschollek for providing the workaround, I hope it won't be necessary to do this after every update. Also, there is a typo, the correct command is ./occ twofactorauth:gateway:configure

<!-- gh-comment-id:3694779837 --> @FaySmash commented on GitHub (Dec 28, 2025): I can confirm this issue. Thanks @marius-wieschollek for providing the workaround, I hope it won't be necessary to do this after every update. Also, there is a typo, the correct command is `./occ twofactorauth:gateway:configure`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/twofactor_gateway-nextcloud#133
No description provided.