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]: groups roll down menus / bad display #33620

Closed
6 of 9 tasks
punkyard opened this issue Aug 19, 2022 · 2 comments
Closed
6 of 9 tasks

[Bug]: groups roll down menus / bad display #33620

punkyard opened this issue Aug 19, 2022 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 24-feedback Feedback from 24.x releases bug needs info

Comments

@punkyard
Copy link

⚠️ 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).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

on several instances, different servers running ubuntu 20 or 22
from NC19 to latest versions
different cache modules and web browsers (safari, chrome, firefox)

i witness the same display of roll down lists of groups
lists appear upwards or downwards

rolldowngroupslist

list of selected groups are never shown completely
roll down list never shows all the groups
makes it quite slow and difficult to use

groupslist

Same with other roll down lists: ie 'quota'

defaultquota

Steps to reproduce

  1. select groups of users in the 'Limit to groups' lists in apps left menu

Expected behavior

roll down and not up
don't cover the list frame

  • show all available groups
  • show all selected groups

Installation method

Community Manual installation with Archive

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.0

Web server

Apache (supported)

Database engine version

MariaDB

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

Fresh Nextcloud Server install

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

php occ config:list system
./occ config:list system
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "kolab.koraland.net",
            "194.163.141.9"
        ],
        "default_language": "fr",
        "default_locale": "fr_FR",
        "default_phone_region": "FR",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "24.0.4.1",
        "overwrite.cli.url": "https:\/\/kolab.koraland.net",
        "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_smtpsecure": "ssl",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 2,
        "memcache.local": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": "true",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "dbindex": 0,
            "password": "***REMOVED SENSITIVE VALUE***",
            "timeout": 1.5
        },
        "htaccess.RewriteBase": "\/",
        "app_install_overwrite": [
            "documentserver_community"
        ]
    }
}

List of activated Apps

Enabled:
  - activity: 2.16.0
  - announcementcenter: 6.3.1
  - apporder: 0.15.0
  - breezedark: 24.0.2
  - bruteforcesettings: 2.4.0
  - calendar: 3.4.2
  - circles: 24.0.1
  - cloud_federation_api: 1.7.0
  - comments: 1.14.0
  - contacts: 4.2.0
  - contactsinteraction: 1.5.0
  - dashboard: 7.4.0
  - dav: 1.22.0
  - deck: 1.7.1
  - documentserver_community: 0.1.12
  - event_update_notification: 1.5.0
  - federatedfilesharing: 1.14.0
  - files: 1.19.0
  - files_antivirus: 3.3.1
  - files_mindmap: 0.0.26
  - files_pdfviewer: 2.5.0
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - group_everyone: 0.1.10
  - groupfolders: 12.0.1
  - impersonate: 1.11.0
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - mail: 1.13.8
  - maps: 0.1.10
  - news: 18.1.1
  - nextcloud_announcements: 1.13.0
  - notifications: 2.12.0
  - oauth2: 1.12.0
  - onlyoffice: 7.5.4
  - password_policy: 1.14.0
  - photos: 1.6.0
  - polls: 3.7.0
  - privacy: 1.8.0
  - provisioning_api: 1.14.0
  - quota_warning: 1.14.0
  - ransomware_protection: 1.13.0
  - recommendations: 1.3.0
  - serverinfo: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - suspicious_login: 4.2.0
  - systemtags: 1.14.0
  - tasks: 0.14.4
  - text: 3.5.1
  - theming: 1.15.0
  - twofactor_backupcodes: 1.13.0
  - unroundedcorners: 1.0.3
  - updatenotification: 1.14.0
  - user_status: 1.4.0
  - viewer: 1.8.0
  - weather_status: 1.4.0
  - workflowengine: 2.6.0
Disabled:
  - accessibility: 1.10.0
  - admin_audit
  - encryption
  - federation: 1.14.0
  - files_external
  - firstrunwizard: 2.13.0
  - support: 1.7.0
  - survey_client: 1.12.0
  - terms_of_service: 1.10.2
  - user_ldap

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

[text] Error: OC\DB\Exceptions\DbalException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '666' for key 'PRIMARY' at <<closure>>

 0. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/DB/QueryBuilder/QueryBuilder.php line 329
    OC\DB\Exceptions\DbalException::wrap()
 1. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/public/AppFramework/Db/QBMapper.php line 139
    OC\DB\QueryBuilder\QueryBuilder->executeStatement()
 2. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/text/lib/Service/DocumentService.php line 157
    OCP\AppFramework\Db\QBMapper->insert()
 3. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/text/lib/Service/ApiService.php line 102
    OCA\Text\Service\DocumentService->createDocument()
 4. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/text/lib/Controller/SessionController.php line 50
    OCA\Text\Service\ApiService->create()
 5. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/AppFramework/Http/Dispatcher.php line 225
    OCA\Text\Controller\SessionController->create()
 6. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/AppFramework/Http/Dispatcher.php line 133
    OC\AppFramework\Http\Dispatcher->executeController()
 7. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch()
 8. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main()
 9. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/base.php line 1023
    OC\Route\Router->match()
10. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/index.php line 36
    OC::handleRequest()

PUT /apps/text/session/create
from 93.5.120.234 by Webmaster at 2022-08-19T13:36:09+00:00

====================================================

[PHP] Error: Error: dns_get_record(): A temporary server error occurred. at /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/Http/Client/DnsPinMiddleware.php#57 at <<closure>>

 0. <<closure>>
    OC\Log\ErrorHandler::onError()
 1. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/Http/Client/DnsPinMiddleware.php line 57
    dns_get_record()
 2. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/Http/Client/DnsPinMiddleware.php line 74
    OC\Http\Client\DnsPinMiddleware->soaRecord()
 3. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/Http/Client/DnsPinMiddleware.php line 128
    OC\Http\Client\DnsPinMiddleware->dnsResolve()
 4. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php line 35
    OC\Http\Client\DnsPinMiddleware->OC\Http\Client\{closure}("*** sensitive parameters replaced ***")
 5. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 31
    GuzzleHttp\PrepareBodyMiddleware->__invoke()
 6. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 71
    GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
 7. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 63
    GuzzleHttp\RedirectMiddleware->__invoke()
 8. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php line 75
    GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
 9. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/3rdparty/guzzlehttp/guzzle/src/Client.php line 331
    GuzzleHttp\HandlerStack->__invoke()
10. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/3rdparty/guzzlehttp/guzzle/src/Client.php line 168
    GuzzleHttp\Client->transfer()
11. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/3rdparty/guzzlehttp/guzzle/src/Client.php line 187
    GuzzleHttp\Client->requestAsync()
12. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/Http/Client/Client.php line 218
    GuzzleHttp\Client->request()
13. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/settings/lib/BackgroundJobs/VerifyUserData.php line 226
    OC\Http\Client\Client->get()
14. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/settings/lib/BackgroundJobs/VerifyUserData.php line 187
    OCA\Settings\BackgroundJobs\VerifyUserData->queryLookupServer()
15. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/settings/lib/BackgroundJobs/VerifyUserData.php line 117
    OCA\Settings\BackgroundJobs\VerifyUserData->verifyViaLookupServer()
16. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/public/BackgroundJob/Job.php line 79
    OCA\Settings\BackgroundJobs\VerifyUserData->run()
17. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/settings/lib/BackgroundJobs/VerifyUserData.php line 98
    OCP\BackgroundJob\Job->execute()
18. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/cron.php line 151
    OCA\Settings\BackgroundJobs\VerifyUserData->execute()

at 2022-08-19T09:45:13+00:00

==================================================

[PHP] Error: Error: foreach() argument must be of type array|object, bool given at /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/serverinfo/lib/OperatingSystems/DefaultOs.php#147 at <<closure>>

 0. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/serverinfo/lib/OperatingSystems/DefaultOs.php line 147
    OC\Log\ErrorHandler::onError()
 1. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/serverinfo/lib/Os.php line 109
    OCA\ServerInfo\OperatingSystems\DefaultOs->getNetworkInterfaces()
 2. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/serverinfo/lib/Settings/AdminSettings.php line 81
    OCA\ServerInfo\Os->getNetworkInterfaces()
 3. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/settings/lib/Controller/CommonSettingsTrait.php line 129
    OCA\ServerInfo\Settings\AdminSettings->getForm()
 4. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/settings/lib/Controller/AdminSettingsController.php line 83
    OCA\Settings\Controller\AdminSettingsController->formatSettings()
 5. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/settings/lib/Controller/CommonSettingsTrait.php line 140
    OCA\Settings\Controller\AdminSettingsController->getSettings()
 6. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/settings/lib/Controller/AdminSettingsController.php line 68
    OCA\Settings\Controller\AdminSettingsController->getIndexResponse()
 7. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/AppFramework/Http/Dispatcher.php line 225
    OCA\Settings\Controller\AdminSettingsController->index()
 8. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/AppFramework/Http/Dispatcher.php line 133
    OC\AppFramework\Http\Dispatcher->executeController()
 9. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch()
10. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main()
11. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/base.php line 1023
    OC\Route\Router->match()
12. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/index.php line 36
    OC::handleRequest()

GET /settings/admin/serverinfo
from 93.5.120.234 by Webmaster at 2022-08-19T00:33:48+00:00

===================================================

[ocs_api] Warning: OCP\AppFramework\OCS\OCSException: Invalid displayname at <<closure>>

0. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/apps/provisioning_api/lib/Controller/UsersController.php line 429
   OCA\Provisioning_API\Controller\UsersController->editUser()
1. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/AppFramework/Http/Dispatcher.php line 225
   OCA\Provisioning_API\Controller\UsersController->addUser("*** sensitive parameters replaced ***")
2. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/AppFramework/Http/Dispatcher.php line 133
   OC\AppFramework\Http\Dispatcher->executeController()
3. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/AppFramework/App.php line 172
   OC\AppFramework\Http\Dispatcher->dispatch()
4. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/lib/private/Route/Router.php line 298
   OC\AppFramework\App::main()
5. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/ocs/v1.php line 62
   OC\Route\Router->match()
6. /home/koraprod/web/kolab.koraland.net/public_html/nextprod2022/ocs/v2.php line 23
   require_once("/home/koraprod/ ... p")

POST /ocs/v2.php/cloud/users
from 93.5.120.234 by Webmaster at 2022-08-19T00:11:30+00:00

==============================================================

[files_mindmap] Debug: /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.

GET /ocs/v2.php/apps/notifications/api/v2/notifications
from 93.5.120.234 by cloudadmin at 2022-08-15T09:58:13+00:00

=============================================

Additional info

data folder is outside the public folder
the server is run by a panel (hestia)

@punkyard punkyard added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Aug 19, 2022
@solracsf solracsf added the 24-feedback Feedback from 24.x releases label Aug 20, 2022
@szaimen
Copy link
Contributor

szaimen commented May 22, 2023

Hi, please update to 25.0.7 or better 26.0.2 and report back if it fixes the issue. Thank you!

My goal is to add a label like e.g. 26-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort!

If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+

@joshtrichards
Copy link
Member

Hi @punkyard - Thanks for the report.

If these weren't previously addressed by some other work, the above were addressed by #38306 with the NcSelect migrations that targeted this area a couple weeks ago. Implemented by @szaimen in fact. :-)

Won't be backported I don't expect, but in master and will be released in NC28.

This Issue can likely to be closed out.

@szaimen szaimen closed this as completed Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 24-feedback Feedback from 24.x releases bug needs info
Projects
None yet
Development

No branches or pull requests

4 participants