-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Error reporting for too long filepaths (>255 chars) #9907
Comments
I confirm this issue with docker images:
Just applied this path manually and waiting for results:
|
I'm able to reproduce during rename:
server/core/Migrations/Version13000Date20170718121200.php Lines 298 to 302 in ee5e767
|
server/core/Migrations/Version13000Date20170718121200.php Lines 146 to 149 in ee5e767
We should probably align this with |
What is the right place for this change? I assume this is for 18 only? |
Yes. I probably forgot that this kind of change requires a bit more work. Just changing the value over there will not work 🙈
|
Discussed this with @rullzer briefly.
|
Since 19 has already been released I'll tag it for 20. |
This comment was marked as resolved.
This comment was marked as resolved.
Match it to the value in oc_filecache table path column should be fine. There doesn't seem to be any special handling in the oc_filecache case for bigger values, so keeping it simple here Closes #9907 Signed-off-by: Thomas Citharel <[email protected]>
Match it to the value in oc_filecache table path column should be fine. Closes #9907 Signed-off-by: Thomas Citharel <[email protected]>
Match it to the value in oc_filecache table path column should be fine. Closes #9907 Signed-off-by: Thomas Citharel <[email protected]>
Match it to the value in oc_filecache table path column should be fine. Closes #9907 Signed-off-by: Thomas Citharel <[email protected]>
Match it to the value in oc_filecache table path column should be fine. Closes #9907 Signed-off-by: Thomas Citharel <[email protected]>
Match it to the value in oc_filecache table path column should be fine. Closes #9907 Signed-off-by: Thomas Citharel <[email protected]>
Match it to the value in oc_filecache table path column should be fine. Closes #9907 Signed-off-by: Thomas Citharel <[email protected]>
Match it to the value in oc_filecache table path column should be fine. Closes #9907 Signed-off-by: Thomas Citharel <[email protected]>
Steps to reproduce
the following error message:
Expected behaviour
I would like to
Actual behaviour
Files with too long paths are synced to the server and encounter problems on later move operations.
It looks like the move is executed like a copy and the original file stays in the source directory. But this is not happening always. I assume that it depends on the resulting file path in the destination directory.
Server configuration
Operating system:
ubuntu 14.04 LTS
Web server:
Apache 2.4
Database:
postgresql 9.4
PHP version:
php 5.6
Nextcloud version: (see Nextcloud admin page)
see above, 12.0.6.1, (I updated the server to 13 afterwards, a few server configs below are from the new server, I try to reproduce this under 13.)
Updated from an older Nextcloud/ownCloud or fresh install:
Migration from owncloud 9 or 10.
Where did you install Nextcloud from:
Signing status:
Signing status
No errors have been found.List of activated apps:
This is from the server after upgrade to v 13.
Enabled:
Disabled:
Nextcloud configuration:
Config report
{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"REMOVED SENSITIVE VALUE",
"REMOVED SENSITIVE VALUE"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"overwrite.cli.url": "REMOVED SENSITIVE VALUE",
"version": "13.0.4.0",
"dbtype": "pgsql",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbname": "REMOVED SENSITIVE VALUE",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"dbtableprefix": "oc_",
"logtimezone": "UTC",
"installed": true,
"ldapIgnoreNamingRules": false,
"loglevel": 3,
"log_type": "owncloud",
"logfile": "/opt/oc-data/nextcloud.log",
"maintenance": false,
"singleuser": false,
"memcache.local": "\OC\Memcache\Redis",
"filelocking.enabled": "true",
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 6379,
"timeout": 0,
"dbindex": 0
},
"trashbin_retention_obligation": "auto, 60",
"versions_retention_obligation": "auto",
"theme": "",
"updater.release.channel": "production",
"ldapProviderFactory": "\OCA\User_LDAP\LDAPProviderFactory",
"updater.secret": "REMOVED SENSITIVE VALUE"
}
}
Are you using external storage, if yes which one: local/smb/sftp/...
NO
Are you using encryption: yes/no
NO
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
YES, LDAP Apple OD, config not pasted, as not relevant.
Client configuration
Browser:
Operating system:
MACOS, nextcloud client 2.3.3
Logs
Web server error log
not relevant
Nextcloud log (data/nextcloud.log)
see above
Browser log
not relevant
The text was updated successfully, but these errors were encountered: