-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
For multiple major versions I've ran
occ files_external:notify 1
as a separate process in my nextcloud docker stack in order to enable SMB notifications for the External Files app, and it's seemingly worked without issue. Now, after upgrading to 33, trying to run the above command results in
In Connection.php line 56:
[Icewind\SMB\Exception\ConnectionRefusedException]
The same happens even if I try to explicitly provide the username/password to the command (and that was never needed before anyway). The server itself is still able to connect to the share and I'm able to read/write files with my user account, so it seems only that this command (or the occ tool at large) is affected.
I even cloned out a snapshot of my install when it was still on version 32 to confirm the command executes fine there and it was only after upgrading to 33.
Steps to reproduce
Try to run:
occ files_external:notify 1
as a separate process.
Expected behavior
Share is observed for changes like bfore.
Nextcloud Server version
33
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.4
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"activity_expire_days": "90",
"allow_user_to_change_display_name": false,
"apps_paths": [
{
"path": "\/config\/www\/nextcloud\/apps",
"url": "\/apps",
"writable": true
}
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"dbport": "5432",
"dbtableprefix": "oc_",
"dbtype": "pgsql",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "US",
"filelocking.enabled": true,
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"jpeg_quality": "90",
"log_type": "file",
"log_type_audit": "file",
"logdateformat": "d\/m\/Y H:i:s",
"logfile": "\/config\/log\/nextcloud.log",
"logfile_audit": "\/config\/log\/audit.log",
"loglevel": "2",
"logtimezone": "America\/New_York",
"log_rotate_size": 26214400,
"lost_password_link": "disabled",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_sendmailmode": "smtp",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"maintenance_window_start": 1,
"maintenance": false,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"oidc_login_attributes": {
"id": "sub",
"is_admin": "groups_nextcloudAdmin",
"mail": "email",
"name": "name"
},
"oidc_login_auto_redirect": true,
"oidc_login_button_text": "Log in with Authentik",
"oidc_login_client_id": "lmWduLl0rttR005louOOU3AIGTBeJN4wtYPM3qeU",
"oidc_login_client_secret": "R26bA6GG90ktW3lKS8cDRETEwCGkgO0BKVFR1FnLyii28TpQ31loCOpKAzU7QRnd",
"oidc_login_default_group": "authentik",
"oidc_login_disable_registration": false,
"oidc_login_end_session_redirect": true,
"oidc_login_logout_url": "https:\/\/auth.mydomain.com\/application\/o\/nextcloud\/end-session\/",
"oidc_login_provider_url": "https:\/\/auth.mydomain.com\/application\/o\/nextcloud\/",
"oidc_login_scope": "openid profile email",
"oidc_login_webdav_enabled": true,
"overwrite.cli.url": "https:\/\/cloud.mydomain.com",
"overwritehost": "cloud.mydomain.com",
"overwriteprotocol": "https",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"secret": "***REMOVED SENSITIVE VALUE***",
"serverid": 0,
"share_folder": "Shared",
"trashbin_retention_obligation": "auto",
"trusted_domains": [
"127.0.0.1",
"localhost",
"nextcloud",
"nextcloud-*",
"cloud.mydomain.com",
"192.168.1.30"
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"upgrade.disable-web": true,
"version": "33.0.0.16",
"versions_retention_obligation": "auto, 30",
"files.chunked_upload.max_size": 99614720,
"app_install_overwrite": [
"oidc_login"
],
"twofactor_enforced": "true",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": []
}
}List of activated Apps
Enabled:
- activity: 6.0.0-dev.0
- bruteforcesettings: 6.0.0-dev.0
- circles: 33.0.0
- cloud_federation_api: 1.17.0
- comments: 1.23.0
- contactsinteraction: 1.14.1
- dashboard: 7.13.0
- dav: 1.36.0
- federatedfilesharing: 1.23.0
- federation: 1.23.0
- files: 2.5.0
- files_downloadlimit: 5.1.0-dev.0
- files_external: 1.25.1
- files_pdfviewer: 6.0.0-dev.0
- files_reminders: 1.6.0
- files_sharing: 1.25.2
- files_trashbin: 1.23.0
- files_versions: 1.26.0
- firstrunwizard: 6.0.0-dev.0
- logreader: 6.0.0
- lookup_server_connector: 1.21.0
- nextcloud_announcements: 5.0.0
- notifications: 6.0.0
- notify_push: 1.3.0
- oauth2: 1.21.0
- oidc_login: 3.3.0
- password_policy: 5.0.0-dev.0
- photos: 6.0.0-dev.0
- previewgenerator: 5.12.1
- privacy: 5.0.0-dev.0
- profile: 1.2.0
- provisioning_api: 1.23.0
- recommendations: 6.0.0-dev.0
- related_resources: 4.0.0-dev.0
- serverinfo: 5.0.0-dev.0
- settings: 1.16.0
- sharebymail: 1.23.0
- support: 5.0.0
- survey_client: 5.0.0-dev.0
- systemtags: 1.23.0
- text: 7.0.0-dev.3
- theming: 2.8.0
- twofactor_backupcodes: 1.22.0
- twofactor_totp: 15.0.0-dev.0
- updatenotification: 1.23.0
- user_status: 1.13.0
- viewer: 6.0.0-dev.0
- weather_status: 1.13.0
- webhook_listeners: 1.5.0
- workflowengine: 2.15.0
Disabled:
- admin_audit: 1.23.0
- app_api: 33.0.0 (installed 33.0.0)
- encryption: 2.21.0
- suspicious_login: 11.0.0-dev.0
- twofactor_nextcloud_notification: 7.0.0
- user_ldap: 1.24.0Nextcloud Signing status
No errors have been found.Nextcloud Logs
No log entries are produced for thisAdditional info
Every time the command is run, the machine hosting the SMB share shows the connection attempt and lists it as "successful" in its audit logs.