Closed thommy51 closed 1 year ago
You can enable syncing of hidden files in the client configuration by editing the ignored files list
Hi @thommy51 - .htaccess
has special handling server-side. It's blacklisted by default there and not just in the client:
Hope that helps.
⚠️ Before submitting, please verify the following: ⚠️
Bug description
I was trying to upload an html dump to nextcloud through the desktop client, when I noticed, my .htaccess files didnt upload to my cloud instance. After looking for solutions I found out, that I can edit which files are being ignored. I then deleted all records in the edit ignored files menu, so everything gets synced. Apperently that didnt help, even after restarting the client and my computer. So I assume this to be a bug.
Steps to reproduce
Put a hidden file in the synced Nextcloud folder (files like ".htaccess") Look at the Sync log which says: "Files from the ignore list as well as symbolic links are not synced"
Expected behavior
I expected the file to just upload to my cloud.
Which files are affected by this bug
.htaccess
Operating system
Windows
Which version of the operating system you are running.
Windows 11
Package
Appimage
Nextcloud Server version
24.0.7 Enterprise
Nextcloud Desktop Client version
3.6.6
Is this bug present after an update or on a fresh install?
Fresh desktop client install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
Nextcloud Server logs
Configuration (config/config.php)
``` { "simpleSignUpLink.shown": false, "integrity.check.disabled": true, "files_external_allow_create_new_local": false, "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "appstoreenabled": true, "appstoreurl": "https:\/\/nextcloud-appstore.live.nextcloud.server.lan", "allow_local_remote_servers": true, "circles.force_nc_base": "http:\/\/127.0.0.1", "overwrite.cli.url": "https:\/\/cloud.tljb.de", "trusted_domains": [ "nc-8495319558334604928.nextcloud-ionos.com", "cloud.tljb.de" ], "mail_template_class": "\\OC\\Mail\\IonosCustomMail", "filelocking.enabled": true, "memcache.local": "\\OC\\Memcache\\Redis", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "filelocking.ttl": "43200", "redis.cluster": { "seeds": [ "redis-cluster-0.redis-cluster-headless.redis-cluster:6379", "redis-cluster-1.redis-cluster-headless.redis-cluster:6379", "redis-cluster-2.redis-cluster-headless.redis-cluster:6379", "redis-cluster-3.redis-cluster-headless.redis-cluster:6379", "redis-cluster-4.redis-cluster-headless.redis-cluster:6379", "redis-cluster-5.redis-cluster-headless.redis-cluster:6379", "redis-cluster-6.redis-cluster-headless.redis-cluster:6379", "redis-cluster-7.redis-cluster-headless.redis-cluster:6379", "redis-cluster-8.redis-cluster-headless.redis-cluster:6379" ], "timeout": 0, "read_timeout": 0, "failover_mode": "\\RedisCluster::FAILOVER_ERROR", "password": "MocNC01!" }, "overwriteprotocol": "https", "forwarded_for_headers": [ "HTTP_X_FORWARDED_FOR" ], "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "objectstore": { "class": "\\OC\\Files\\ObjectStore\\S3", "arguments": { "bucket": "ionos-nextcloudbucket-live2-ru799952-4549977", "key": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "region": "de", "hostname": "s3-eu-central-1.ionoscloud.com", "port": 443, "objectPrefix": "urn:oid:", "autocreate": false, "use_ssl": true, "use_path_style": false } }, "session_keepalive": true, "session_lifetime": 1800, "auth.bruteforce.protection.enabled": false, "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "24.0.7.2", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "default_locale": "de_DE", "default_phone_region": "DE", "default_language": "de_DE", "mail_smtpmode": "smtp", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "mail_smtpsecure": "tls", "mail_smtpauth": "true", "mail_smtpauthtype": "LOGIN", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "maintenance": false } ```Cron Configuration: Array ( [backgroundjobs_mode] => cron [lastcron] => 1675431929 )
External storages: files_external is disabled
Encryption: no
User-backends:
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36