Unable to share folders on fresh install

Settings are as in https://doc.owncloud.com/server/admin_manual/configuration/files/file_sharing_configuration.html

Post-Installation Steps are almos same nut strangely some dirs must have more rrights.

drwxrwxrwx www-data www-data apps
drwxrwxrwx config

“system”: {
“instanceid”: “xxxxx”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“hashingCost”: 10,
“trusted_domains”: [
“xxxxxxx”,
“xxxxx”
],
“cors.allowed-domains”: [
“xxxx”
],
“datadirectory”: “/var/www/mycloud/data”,
“overwrite.cli.url”: “xxxxx”,
“overwritewebroot”: “/”,
“dbtype”: “mysql”,
“version”: “10.5.0.10”,
“version.hide”: false,
“show_server_hostname”: false,
“dbname”: “owncloud_db1”,
“dbhost”: “localhost”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“installed”: true,
“default_language”: “en”,
“defaultapp”: “files”,
“knowledgebaseenabled”: false,
“enable_avatars”: true,
“remember_login_cookie_lifetime”: 1296000,
“session_lifetime”: 86400,
“session_keepalive”: true,
“skeletondirectory”: “/var/www/mycloud/core/skeleton”,
“forcessl”: true,
“theme”: “”,
“loglevel”: 5,
“maintenance”: false,
“versions_retention_obligation”: “auto”,
“appcodechecker”: true,
“updatechecker”: true,
“has_internet_connection”: true,
“check_for_working_webdav”: true,
“check_for_working_htaccess”: true,
“config_is_read_only”: false,
“appstoreenabled”: false,
“enable_previews”: true,
“allow_user_to_change_display_name”: true,
“token_auth_enforced”: false,
“login.alternatives”: [],
“csrf.disabled”: false,
“user_backends”: [
{
“class”: “OC_User_IMAP”,
“arguments”: [
“{imap.gmail.com:993/imap/ssl}INBOX”
]
}
],
“lost_password_link”: “xxxxx”,
“accounts.enable_medial_search”: true,
“user.search_min_length”: 2,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_smtpdebug”: false,
“mail_smtpmode”: “sendmail”,
“mail_smtpport”: 25,
“mail_smtptimeout”: 15,
“mail_smtpsecure”: “”,
“mail_smtpauth”: false,
“mail_smtpauthtype”: “LOGIN”,
“mail_smtpname”: “REMOVED SENSITIVE VALUE”,
“mail_smtppassword”: “REMOVED SENSITIVE VALUE”,
“preview_max_x”: “2048”,
“preview_max_y”: “2048”,
“preview_max_scale_factor”: “10”,
“preview_max_filesize_image”: “50”,
“minimum.supported.desktop.version”: “2.3.3”,
“quota_include_external_storage”: false,
“sharing.managerFactory”: “\OC\Share20\ProviderFactory”,
“sharing.federation.allowHttpFallback”: false,
“tempdirectory”: “/tmp/owncloudtemp”,
“integrity.excluded.files”: [
“.DS_Store”,
“Thumbs.db”,
“.directory”,
“.webapp”,
“.htaccess”,
“.user.ini”
],
“integrity.ignore.missing.app.signature”: [
“app-id of app-1”,
“app-id of theme-2”
],
“share_folder”: “/”,
“cipher”: “AES-256-CFB”,
“filelocking.enabled”: true,
“filelocking.ttl”: 3600,
“memcache.locking”: “\OC\Memcache\Redis”,
“upgrade.disable-web”: false,
“upgrade.automatic-app-update”: true,
“debug”: false,
“data-fingerprint”: “”,
“copied_sample_config”: false,
“files_external_allow_create_new_local”: false,
“smb.logging.enable”: false,
“dav.enable.async”: false,
“enabledPreviewProviders”: [
“OC\Preview\PNG”,
“OC\Preview\JPEG”,
“OC\Preview\GIF”,
“OC\Preview\BMP”,
“OC\Preview\XBitmap”,
“OC\Preview\MP3”,
“OC\Preview\TXT”,
“OC\Preview\MarkDown”
],
“updater.secret”: “REMOVED SENSITIVE VALUE”,
“logtimezone”: “UTC”
},
“apps”: {
“activity”: {
“enabled”: “yes”,
“installed_version”: “2.5.3”,
“types”: “filesystem”
},
“backgroundjob”: {
“lastjob”: “17”
},
“comments”: {
“enabled”: “yes”,
“installed_version”: “0.3.0”,
“types”: “logging,dav”
},
“configreport”: {
“enabled”: “yes”,
“installed_version”: “0.2.0”,
“types”: “filesystem”
},
“core”: {
“backgroundjobs_mode”: “cron”,
“first_install_version”: “10.5.0.10”,
“installedat”: “1603226246.3453”,
“lastcron”: “1607750102”,
“lastupdateResult”: “[]”,
“lastupdatedat”: “1607694303”,
“oc.integritycheck.checker”: “[]”,
“public_files”: “files_sharing/public.php”,
“public_webdav”: “dav/appinfo/v1/publicwebdav.php”,
“shareapi_allow_mail_notification”: “yes”,
“shareapi_allow_public_notification”: “yes”,
“shareapi_allow_resharing”: “yes”,
“shareapi_allow_social_share”: “yes”,
“shareapi_default_expire_date”: “yes”,
“shareapi_default_permissions”: “31”,
“shareapi_enabled”: “yes”,
“shareapi_only_share_with_group_members”: “yes”,
“shareapi_only_share_with_membership_groups”: “yes”,
“user_additional_info_field”: “email”
},
“customgroups”: {
“enabled”: “yes”,
“installed_version”: “0.6.0”,
“types”: “authentication,dav”
},
“dav”: {
“enabled”: “yes”,
“installed_version”: “0.6.0”,
“types”: “filesystem”
},
“federatedfilesharing”: {
“enabled”: “yes”,
“installed_version”: “0.5.0”,
“types”: “filesystem”
},
“federation”: {
“enabled”: “yes”,
“installed_version”: “0.1.0”,
“types”: “authentication”
},
“files”: {
“cronjob_scan_files”: “500”,
“enabled”: “yes”,
“installed_version”: “1.5.2”,
“types”: “filesystem”
},
“files_external”: {
“enabled”: “yes”,
“installed_version”: “0.7.1”,
“types”: “filesystem”
},
“files_mediaviewer”: {
“enabled”: “yes”,
“installed_version”: “1.0.3”,
“types”: “”
},
“files_pdfviewer”: {
“enabled”: “yes”,
“installed_version”: “0.11.1”,
“types”: “”
},
“files_sharing”: {
“enabled”: “yes”,
“incoming_server2server_share_enabled”: “no”,
“installed_version”: “0.13.0”,
“outgoing_server2server_share_enabled”: “no”,
“types”: “filesystem”
},
“files_texteditor”: {
“enabled”: “yes”,
“installed_version”: “2.3.0”,
“types”: “”
},
“files_trashbin”: {
“enabled”: “yes”,
“installed_version”: “0.9.1”,
“types”: “filesystem”
},
“files_versions”: {
“enabled”: “yes”,
“installed_version”: “1.3.0”,
“types”: “filesystem”
},
“firstrunwizard”: {
“enabled”: “yes”,
“installed_version”: “1.2.0”,
“types”: “”
},
“market”: {
“activity”: “2.6.0”,
“enabled”: “yes”,
“files_pdfviewer”: “0.11.2”,
“installed_version”: “0.6.0”,
“types”: “”
},
“notifications”: {
“enabled”: “yes”,
“installed_version”: “0.5.2”,
“types”: “logging”
},
“provisioning_api”: {
“enabled”: “yes”,
“installed_version”: “0.5.0”,
“types”: “prevent_group_restriction”
},
“systemtags”: {
“enabled”: “yes”,
“installed_version”: “0.3.0”,
“types”: “logging”
},
“templateeditor”: {
“enabled”: “yes”,
“installed_version”: “0.4.0”,
“types”: “”
},
“updatenotification”: {
“enabled”: “yes”,
“installed_version”: “0.2.1”,
“types”: “”
}
}
}

Hey,

i think it could help if you explain what “Unable to share folders” means because i think this has too less details and is too sketchy.

1 Like

Fully open house is never a good idea. And if something forces you to do, this would trigger all my alert whistles and bells.

1 Like

No users or groups can be selected. on the Users and Grous tab.
It searches for second or so. Nothing found.

Yes I now but first I need to fix the sharing problem.

Security should always have the highest possible priority, but it’s up to you.
There’s an option in the personal settings:

Allow finding you via autocomplete in share dialog. If this is disabled the full username needs to be entered.

I hope, at least one of your users has this enabled.

2 Likes

Files and dirs are now fixed.That is enabled. Now in admin panel it does not find any users.
Its just loading page.

Update. Did nothing and Everone group does not list users but all other groups does.

Reasin found. Character set error in DB.

1 Like

Thanks for telling us, what was wrong. However it would be really awesome if you could explain it in a little more detail:

  • How did you find the error? Was there a specific message in a specific log which pointed you to it?
  • What was the initial value, that was wrong?
  • What did you change it to? What is the new value?
  • How did you change it? Was it just an update in a config file (which one?), or did you have to run additional steps?
1 Like

I had the debugging on in the config but no errors on webgui. I installed desktop client and voila. It was fresh install (not my install)… So it took sometime to check all settings. Then we just corrected character sets in all tables of db. We compared character sets in another site. Altered all tables to same. I have no idea why there was wrong character sets. Mariadb conf had same settings. Hipefully this helps.

2 Likes