Closed Juergen-Vollmer closed 1 month ago
Can't approve. Works here, with the current dev (ahead of alpha-8). But I don't remember having changed anything regarding that.
I found in /var/log/nexcloud.log the error message
Unable to generate a URL for the named route \"polls.public.vote_page\" as such route does not exist.
does this help?
Here the complete line:
{"reqId":"lVRs9ByWMDpRYjkPFFAx","level":1,"time":"2024-10-20T09:26:40+00:00","remoteAddr":"192.168.0.1","user":"juergen.vollmer","app":"no app in context","method":"GET","url":"/apps/polls/poll/55?time=1729416400081","message":"Unable to generate a URL for the named route \"polls.public.vote_page\" as such route does not exist.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0","version":"3Unable to generate a URL for the named route \"polls.public.vote_page\" as such route does not exist."0.0.1.2","exception":{"Exception":"Symfony\Component\Routing\Exception\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"polls.public.vote_page\" as such route does not exist.","Code":0,"Trace":[{"file":"/srv/www/vollmer.computer/www/nextcloud/src/lib/private/Route/Router.php","line":374,"function":"generate","class":"Symfony\Component\Routing\Generator\UrlGenerator","type":"->"},{"file":"/srv/www/vollmer.computer/www/nextcloud/src/lib/private/Route/CachingRouter.php","line":50,"function":"generate","class":"OC\Route\Router","type":"->"},{"file":"/srv/www/vollmer.computer/www/nextcloud/src/lib/private/URLGenerator.php","line":71,"function":"generate","class":"OC\Route\CachingRouter","type":"->"},{"file":"/srv/www/vollmer.computer/www/nextcloud/src/lib/private/URLGenerator.php","line":83,"function":"linkToRoute","class":"OC\URLGenerator","type":"->"},{"file":"/srv/www/vollmer.computer/www/nextcloud/src/apps/polls/lib/Db/Share.php","line":241,"function":"linkToRouteAbsolute","class":"OC\URLGenerator","type":"->"},{"file":"/srv/www/vollmer.computer/www/nextcloud/src/apps/polls/lib/Db/Share.php","line":152,"function":"getURL","class":"OCA\Polls\Db\Share","type":"->"},{"function":"jsonSerialize","class":"OCA\Polls\Db\Share","type":"->"},{"file":"/srv/www/vollmer.computer/www/nextcloud/src/lib/public/AppFramework/Http/JSONResponse.php","line":63,"function":"json_encode"},{"file":"/srv/www/vollmer.computer/www/nextcloud/src/lib/private/AppFramework/Http/Dispatcher.php","line":159,"function":"render","class":"OCP\AppFramework\Http\JSONResponse","type":"->"},{"file":"/srv/www/vollmer.computer/www/nextcloud/src/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/srv/www/vollmer.computer/www/nextcloud/src/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/srv/www/vollmer.computer/www/nextcloud/src/lib/base.php","line":1001,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/srv/www/vollmer.computer/www/nextcloud/src/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/srv/www/vollmer.computer/www/nextcloud/src/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"message":"Unable to generate a URL for the named route \"polls.public.vote_page\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"polls.public.vote_page\" as such route does not exist."}}
Since I need polls urgently, I deleted the app an installed manually (unpacking the tgz.gz file) polls-v7.2.4. Everything works fine again.
Jürgen
I found in /var/log/nexcloud.log the error message
Unable to generate a URL for the named route "polls.public.vote_page" as such route does not exist.
does this help?
Ah yes. This helps. Indeed this is already fixed, so with the next alpha release it should work.
I will close this upon this information.
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.
⚠️ This issue respects the following points: ⚠️
What went wrong, what did you observe?
Copy public link to clibboard doeys not work anymore. See screenshot below .
The clipboard contains only the server name and not the "cryptic" link, which allwos access to the poll. The same olds for the QR-code.
What did you expect, how polls should behave instead?
The correct link should be placed in the clipboard an dthe generated qr code.
What steps does it need to replay this bug?
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. 4.0.0 to 4.1.1)
Affected polls version
8.0.0-alpha8
Which browser did you use, when experiencing the bug?
Other browser
No response
Add your browser log here
No response
Additional client environment information
No response
NC version
Other/Don't know
Other Nextcloud version
30.0.1.2
PHP engine version
PHP 8.2
Other PHP version
No response
Database engine
MariaDB
Database Engine version or other Database
No response
Which user-backends are you using?
Add your nextcloud server log here
No response
Additional environment informations
No response
Configuration report
{ "system": { "instanceid": "REMOVED SENSITIVE VALUE", "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusted_domains": [ "nextcloud.vollmer.computer", "nextcloud.vollmer.homelinux.net", "nextcloud.vollmer.home" ], "enablepreviews": true, "datadirectory": "REMOVED SENSITIVE VALUE", "dbtype": "mysql", "version": "30.0.1.2", "overwrite.cli.url": "https:\/\/nextcloud.vollmer.computer", "htaccess.RewriteBase": "\/", "dbname": "REMOVED SENSITIVE VALUE", "dbhost": "REMOVED SENSITIVE VALUE", "dbport": "", "dbtableprefix": "oc", "mysql.utf8mb4": true, "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "installed": true, "mail_from_address": "REMOVED SENSITIVE VALUE", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "REMOVED SENSITIVE VALUE", "mail_smtpauthtype": "LOGIN", "memcache.local": "\OC\Memcache\APCu", "loglevel": 0, "log_type": "file", "log_rotate_size": 104857600, "maintenance": false, "onlyoffice": { "verify_peer_off": true }, "theme": "", "simpleSignUpLink.shown": false, "app_install_overwrite": [ "calendar", "keeweb", "files_readmemd", "twofactor_email", "keeporsweep", "twofactor_rcdevsopenotp", "whiteboard", "twofactor_u2f", "nextbackup", "polls", "twofactor_admin", "richdocuments", "previewgenerator", "forms", "groupfolders", "files_markdown", "files_mindmap", "tasks", "spreed", "afterlogic", "mindmap_app", "richdocumentscode", "twofactor_totp", "pdfdraw", "customproperties", "cookbook", "imageconverter", "files_videoplayer", "integration_whiteboard" ], "twofactor_enforced": "true", "twofactor_enforced_groups": [ "u2f" ], "twofactor_enforced_excluded_groups": [], "maintenance_window_start": 1, "default_language": "de_DE", "default_locale": "de_DE", "default_phone_region": "DE", "force_language": "de_DE", "skeletondirectory": "", "updater.release.channel": "beta", "mail_smtpauth": 1, "mail_smtphost": "REMOVED SENSITIVE VALUE", "mail_smtpport": "587", "mail_smtpname": "REMOVED SENSITIVE VALUE", "mail_smtppassword": "REMOVED SENSITIVE VALUE" } }
List of activated Apps
nabled:
Nextcloud Signing status
No errors have been found.
Additional Information
The bug occurs from ipdate of nextcloud 30.0.1.0to 30.0.1.2