-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Closed
Copy link
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap31-feedbackbugfeature: settingsfeature: users and groupshotspot: account name handlingUser / Group names - invalid, consistency, enforcement, etc.User / Group names - invalid, consistency, enforcement, etc.
Description
⚠️ 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 OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Getting an Internal Server Error when opening the Accounts page. The log states:
"Call to a member function getGID() on null in file '/var/www/html/apps/settings/lib/Controller/UsersController.php' line 137"
This seems to be caused as of 6d8c49f.
Steps to reproduce
- As an admin, click the dropdown for your user icon in thr top right corner.
- Click Accounts
Expected behavior
To see the Accounts page.
Nextcloud Server version
31
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 32.0.1 to 32.0.2)
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": {
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"upgrade.disable-web": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "31.0.4.1",
"overwrite.cli.url": "https:\/\/cloud.ayoo.by",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"maintenance_window_start": 1,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"dbindex": 3
},
"trusted_domains": [
"cloud.ayoo.by",
"cloud.thezest.dev"
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "GB",
"twofactor_enforced": "true",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"mail_smtpmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtptimeout": 30,
"mail_sendmailmode": "smtp",
"mail_smtpport": "465",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"forbidden_filename_basenames": [
"con",
"prn",
"aux",
"nul",
"com0",
"com1",
"com2",
"com3",
"com4",
"com5",
"com6",
"com7",
"com8",
"com9",
"com\u00b9",
"com\u00b2",
"com\u00b3",
"lpt0",
"lpt1",
"lpt2",
"lpt3",
"lpt4",
"lpt5",
"lpt6",
"lpt7",
"lpt8",
"lpt9",
"lpt\u00b9",
"lpt\u00b2",
"lpt\u00b3"
],
"forbidden_filename_characters": [
"<",
">",
":",
"\"",
"|",
"?",
"*",
"\\",
"\/"
],
"forbidden_filename_extensions": [
" ",
".",
".filepart",
".part"
],
"defaultapp": "dashboard,files",
"app_install_overwrite": [
"camerarawpreviews",
"maps"
],
"davstorage.request_timeout": 30,
"mail_smtpdebug": "false",
"loglevel": "2",
"mail_smtpauth": true,
"mail_smtpsecure": "ssl",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"allow_local_remote_servers": true
}
}List of activated Apps
Enabled:
- activity: 4.0.0
- app_api: 5.0.2
- assistant: 2.4.0
- bruteforcesettings: 4.0.0
- calendar: 5.2.2
- camerarawpreviews: 0.8.7
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.0.6
- contactsinteraction: 1.12.0
- cookbook: 0.11.3
- dashboard: 7.11.0
- dav: 1.33.0
- electronicsignatures: 3.0.5
- end_to_end_encryption: 1.17.0
- external: 6.0.2
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_downloadlimit: 4.0.0
- files_external: 1.23.0
- files_pdfviewer: 4.0.0
- files_photospheres: 1.31.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.1.0
- integration_gitlab: 3.1.2
- integration_google: 3.2.0
- integration_onedrive: 3.3.1
- integration_openai: 3.5.0
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- mail: 5.0.3
- maps: 1.5.0
- music: 2.1.4
- nextcloud_announcements: 3.0.0
- notes: 4.12.0
- notifications: 4.0.0
- notify_push: 1.0.0
- oauth2: 1.19.1
- oidc: 1.6.1
- password_policy: 3.0.0
- photos: 4.0.0-dev.1
- previewgenerator: 5.8.0
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- quota_warning: 1.21.0
- recognize: 9.0.1
- recommendations: 4.0.0
- related_resources: 2.0.0
- richdocuments: 8.6.4
- richdocumentscode: 24.4.1303
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- sociallogin: 6.0.1
- spreed: 21.0.4
- survey_client: 3.0.0
- suspicious_login: 9.0.1
- systemtags: 1.21.1
- tasks: 0.16.1
- text: 5.0.0
- theming: 2.6.1
- twofactor_admin: 4.8.0
- twofactor_backupcodes: 1.20.0
- twofactor_email: 2.8.0
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0.0-dev.0
- twofactor_webauthn: 2.1.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- welcome: 1.2.1
- workflowengine: 2.13.0
Disabled:
- admin_audit: 1.21.0
- context_chat: 4.3.0 (installed 4.3.0)
- encryption: 2.19.0
- support: 3.0.0 (installed 3.0.0)
- user_ldap: 1.22.0Nextcloud Signing status
No errors have been found.Nextcloud Logs
{ "reqId": "mpZJlR9h6oEggXS4fg9z", "level": 3, "time": "2025-05-05T14:13:39+00:00", "remoteAddr": "***REMOVED SENSITIVE VALUE***", "user": "***REMOVED SENSITIVE VALUE***", "app": "index", "method": "GET", "url": "/settings/users", "message": "Call to a member function getGID() on null in file '/var/www/html/apps/settings/lib/Controller/UsersController.php' line 137", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0", "version": "31.0.4.1", "exception": { "Exception": "Exception", "Message": "Call to a member function getGID() on null in file '/var/www/html/apps/settings/lib/Controller/UsersController.php' line 137", "Code": 0, "Trace": [{ "file": "/var/www/html/lib/private/AppFramework/App.php", "line": 161, "function": "dispatch", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->", "args": [{ "__class__": "OCA\\Settings\\Controller\\UsersController" }, "usersList"] }, { "file": "/var/www/html/lib/private/Route/Router.php", "line": 307, "function": "main", "class": "OC\\AppFramework\\App", "type": "::", "args": ["OCA\\Settings\\Controller\\UsersController", "usersList", { "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer" }, { "_route": "settings.users.userslist" }] }, { "file": "/var/www/html/lib/base.php", "line": 1025, "function": "match", "class": "OC\\Route\\Router", "type": "->", "args": ["/settings/users"] }, { "file": "/var/www/html/index.php", "line": 24, "function": "handleRequest", "class": "OC", "type": "::", "args": [] }], "File": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php", "Line": 146, "Previous": { "Exception": "Error", "Message": "Call to a member function getGID() on null", "Code": 0, "Trace": [{ "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php", "line": 200, "function": "usersList", "class": "OCA\\Settings\\Controller\\UsersController", "type": "->", "args": [] }, { "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php", "line": 114, "function": "executeController", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->", "args": [{ "__class__": "OCA\\Settings\\Controller\\UsersController" }, "usersList"] }, { "file": "/var/www/html/lib/private/AppFramework/App.php", "line": 161, "function": "dispatch", "class": "OC\\AppFramework\\Http\\Dispatcher", "type": "->", "args": [{ "__class__": "OCA\\Settings\\Controller\\UsersController" }, "usersList"] }, { "file": "/var/www/html/lib/private/Route/Router.php", "line": 307, "function": "main", "class": "OC\\AppFramework\\App", "type": "::", "args": ["OCA\\Settings\\Controller\\UsersController", "usersList", { "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer" }, { "_route": "settings.users.userslist" }] }, { "file": "/var/www/html/lib/base.php", "line": 1025, "function": "match", "class": "OC\\Route\\Router", "type": "->", "args": ["/settings/users"] }, { "file": "/var/www/html/index.php", "line": 24, "function": "handleRequest", "class": "OC", "type": "::", "args": [] }], "File": "/var/www/html/apps/settings/lib/Controller/UsersController.php", "Line": 137 }, "message": "Call to a member function getGID() on null in file '/var/www/html/apps/settings/lib/Controller/UsersController.php' line 137", "exception": [], "CustomMessage": "Call to a member function getGID() on null in file '/var/www/html/apps/settings/lib/Controller/UsersController.php' line 137" }, "id": "6818c86d7d951" }
{ "reqId": "4lK2PQKH8nP628pPhu0U", "level": 3, "time": "2025-05-05T14:15:01+00:00", "remoteAddr": "", "user": false, "app": "core", "method": "", "url": "--", "message": "Error while running background job OCA\\Survey_Client\\BackgroundJobs\\AdminNotification (id: 12621, arguments: null)", "userAgent": "--", "version": "31.0.4.1", "exception": { "Exception": "Error", "Message": "Call to a member function getUsers() on null", "Code": 0, "Trace": [{ "file": "/var/www/html/lib/public/BackgroundJob/Job.php", "line": 61, "function": "run", "class": "OCA\\Survey_Client\\BackgroundJobs\\AdminNotification", "type": "->", "args": [null] }, { "file": "/var/www/html/lib/public/BackgroundJob/QueuedJob.php", "line": 43, "function": "start", "class": "OCP\\BackgroundJob\\Job", "type": "->", "args": [{ "__class__": "OC\\BackgroundJob\\JobList" }] }, { "file": "/var/www/html/lib/public/BackgroundJob/QueuedJob.php", "line": 29, "function": "start", "class": "OCP\\BackgroundJob\\QueuedJob", "type": "->", "args": [{ "__class__": "OC\\BackgroundJob\\JobList" }] }, { "file": "/var/www/html/cron.php", "line": 170, "function": "execute", "class": "OCP\\BackgroundJob\\QueuedJob", "type": "->", "args": [{ "__class__": "OC\\BackgroundJob\\JobList" }] }], "File": "/var/www/html/apps/survey_client/lib/BackgroundJobs/AdminNotification.php", "Line": 35, "message": "Error while running background job OCA\\Survey_Client\\BackgroundJobs\\AdminNotification (id: 12621, arguments: null)", "exception": [], "CustomMessage": "Error while running background job OCA\\Survey_Client\\BackgroundJobs\\AdminNotification (id: 12621, arguments: null)" }, "id": "6818c8891fcce" }Additional info
No response
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap31-feedbackbugfeature: settingsfeature: users and groupshotspot: account name handlingUser / Group names - invalid, consistency, enforcement, etc.User / Group names - invalid, consistency, enforcement, etc.