Skip to content
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

[Bug]: Impossible to upload file >10Mo in folder labelled with specials characters #42411

Closed
5 of 8 tasks
dwprod38 opened this issue Dec 20, 2023 · 2 comments
Closed
5 of 8 tasks
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info

Comments

@dwprod38
Copy link

dwprod38 commented Dec 20, 2023

⚠️ This issue respects the following points: ⚠️

Bug description

Before updating NC27.1.5 to NC28.0.0.11 : I could upload any files
larger than 10Mo in folder labelled with name containing an accent.
Unfortunately, after update to NC28.0.0.11, I've attempted to upload
file larger than 10Mo with "+New" button (because Drag-Drop didn't work
like this posted issue -->
#42366) : the progress bar
working fine but nothing appeared in folder... Second attempt with files
smaller than 10Mo: everything works...

After thinking, I ended up remembering that this bug was known in an
NC24 version about incompatibility with UTF8 for French region
language... (sorry I didn't find my old issue post here).

So I've renamed my folder "Modèles" into "Models" : all upload files
larger than 10Mo works !!!

Hope that will help developers to solve this issue.

Steps to reproduce

  1. Initial configuration Folder "Modèles" created with NC27.1.5
  2. Update to NC28.0.0.11
  3. Try upload any files larger than 10Mo in folder "Modèles" --> no results
  4. Try upload any files smaller than 10Mo in folder "Modèles" --> works fine
  5. Rename folder "Modèles" into "Models"
  6. Try upload any files larger than 10Mo in folder "Modèles" --> works fine
  7. Try upload any files smaller than 10Mo in folder "Modèles" --> works fine

Expected behavior

An operational file upload exceed more than 10Mo in Folder using French font like as "é, à, ô, î, è, etc..."

Installation method

Community NexcloudPi appliance

Nextcloud Server version

28

Operating system

Debian

PHP engine version

PHP 8.2.8

Web server

Apache

Database engine version

My SQL

Is this bug present after an update or on a fresh install?

Major update 27.1.5 to 28.0.0.11

Are you using the Nextcloud Server Encryption module?

No

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

After entering command "sudo -u www-data php occ config:list system", got this message:

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "FR",
        "trusted_domains": {
            "0": "localhost",
            "7": "nextcloudpi",
            "5": "nextcloudpi.local",
            "8": "nextcloudpi.lan",
            "3": "nextcloudpi",
            "11": "***REMOVED SENSITIVE VALUE***",
            "1": "***REMOVED SENSITIVE VALUE***",
            "2": "***REMOVED SENSITIVE VALUE***",
            "14": "nextcloudpi",
            "20": "***REMOVED SENSITIVE VALUE***
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.0.11",
        "overwrite.cli.url": "https:\/\/nextcloudpi.local\/",
        "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***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/media\/myCloudDrive\/ncdatadwprod38\/data\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "maintenance": false,
        "logfile": "\/media\/myCloudDrive\/ncdatadwprod38\/data\/nextcloud.log",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "data-fingerprint": "d22797f990fc929ee825dd7233807d69",
        "loglevel": "2",
        "log_type": "file",
        "theme": "",
        "app_install_overwrite": [
            "camerarawpreviews",
            "workflow_media_converter"
        ]
    }
}

List of activated Apps

After entering command "sudo -u www-data php occ app:list", got this message:

Enabled:
  - activity: 2.20.0
  - calendar: 4.6.0
  - circles: 28.0.0-dev
  - cloud_federation_api: 1.11.0
  - comments: 1.18.0
  - contacts: 5.5.0
  - contactsinteraction: 1.9.0
  - dashboard: 7.8.0
  - dav: 1.29.1
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - firstrunwizard: 2.17.0
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - nextcloud_announcements: 1.17.0
  - notes: 4.9.1
  - notifications: 2.16.0
  - notify_push: 0.6.6
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - photos: 2.4.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - serverinfo: 1.18.0
  - settings: 1.10.0
  - sharebymail: 1.18.0
  - support: 1.11.0
  - survey_client: 1.16.0
  - systemtags: 1.18.0
  - tasks: 0.15.0
  - text: 3.9.1
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - updatenotification: 1.18.0
  - user_status: 1.8.1
  - viewer: 2.2.0
  - weather_status: 1.8.0
  - workflow_media_converter: 1.8.4
  - workflowengine: 2.10.0
Disabled:
  - admin_audit: 1.18.0
  - bruteforcesettings: 2.8.0
  - camerarawpreviews: 0.8.4 (installed 0.8.4)
  - encryption: 2.16.0
  - files_external: 1.20.0
  - news: 24.0.0 (installed 24.0.0)
  - nextcloudpi: 0.0.2 (installed 0.0.1)
  - previewgenerator: 99.99.99 (installed 99.99.99)
  - suspicious_login: 6.0.0
  - twofactor_totp: 10.0.0-beta.2
  - user_ldap: 1.19.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

20 déc. 2023, 21:39:48	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

20 déc. 2023, 21:39:48	

Error	webdav	
InvalidUriException
Invalid, or could not parse URI

20 déc. 2023, 16:49:33	

Error	webdav	
InvalidUriException
Invalid, or could not parse URI

20 déc. 2023, 16:48:48	

Error	webdav	
InvalidUriException
Invalid, or could not parse URI

20 déc. 2023, 16:47:43	

Error	webdav	
InvalidUriException
Invalid, or could not parse URI

20 déc. 2023, 16:47:09	

Error	webdav	
InvalidUriException
Invalid, or could not parse URI

20 déc. 2023, 16:43:18	

Error	webdav	
InvalidUriException
Invalid, or could not parse URI

20 déc. 2023, 16:42:55	

Error	webdav	
InvalidUriException
Invalid, or could not parse URI

20 déc. 2023, 16:39:53	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

20 déc. 2023, 11:33:16	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

20 déc. 2023, 10:23:36	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

18 déc. 2023, 15:04:32	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

18 déc. 2023, 15:04:32	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

18 déc. 2023, 15:04:32	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

18 déc. 2023, 08:40:25	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

18 déc. 2023, 08:40:25	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

18 déc. 2023, 08:40:25	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

17 déc. 2023, 17:42:18	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

17 déc. 2023, 17:42:18	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

17 déc. 2023, 12:28:00	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

17 déc. 2023, 12:28:00	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

17 déc. 2023, 12:28:00	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

16 déc. 2023, 23:22:31	

Error	no app in context	
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

16 déc. 2023, 23:22:31	

Info	updater	
\OC\Updater::resetLogLevel: Reset log level to Warning(2)

14 déc. 2023, 17:59:27	

Info	updater	
\OC\Updater::maintenanceDisabled: Turned off maintenance mode

14 déc. 2023, 17:59:27	

Info	updater	
\OC\Updater::updateEnd: Update successful

14 déc. 2023, 17:59:27	

Info	updater	
\OC\Updater::finishedCheckCodeIntegrity: Finished code integrity check

14 déc. 2023, 17:59:27	

Info	updater	
\OC\Updater::startCheckCodeIntegrity: Starting code integrity check...

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Queue a job to generate metadata

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Add AI tasks cleanup job

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Add possibly missing system config

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Clean up abandoned apps

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Add token cleanup job

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Add background job to set the lookup server share state for users

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Repair DAV shares

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Queue a one-time job to check for user uploaded certificates

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Add job to cleanup the bruteforce entries

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Remove old dashboard app config data

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Check encryption key format

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Keep legacy encryption enabled

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Reset generated avatar flag

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Clear access cache of projects

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: No need to remove link shares.

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Remove potentially over exposing share links

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Add background job to cleanup login flow v2 tokens

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Cleanup invalid photocache files for carddav

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Queue a one-time job to cleanup old backups of the updater

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Add preview background cleanup job

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Clear every generated avatar

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: JS cache cleared

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: Image cache cleared

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Clear frontend caches

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Add log rotate job

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Repair language codes

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: No mounts updated

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Fix potential broken mount points

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: Delete clients (and their related access tokens) with the redirect_uri starting with oc:// or ending with *

14 déc. 2023, 17:59:14	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: Update the oauth2_clients table schema.

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: Update the oauth2_access_tokens table schema.

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Migrate oauth2_clients table to nextcloud schema

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Add preview cleanup background jobs

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: Repair step already executed

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Add move avatar background job

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: .step file moved to .step-previous-update

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: .step-previous-update removed

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: .step file exists

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Move .step file of updater to backup location

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Repair invalid shares

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: 0 tags with no entries have been removed.

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: 0 tag entries for deleted tags have been removed.

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: 0 tags for delete files have been removed.

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: 0 tags of deleted users have been removed.

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Clean tags and favorites

14 déc. 2023, 17:59:13	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Repair mime types

14 déc. 2023, 17:59:12	

Info	updater	
OC\Repair\Events\RepairInfoEvent: Repair info: All tables already have the correct collation -> nothing to do

14 déc. 2023, 17:59:12	

Info	updater	
OC\Repair\Events\RepairStepEvent: Repair step: Repair MySQL collation

14 déc. 2023, 17:59:12

Additional info

none

@dwprod38 dwprod38 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Dec 20, 2023
@kesselb
Copy link
Contributor

kesselb commented Dec 23, 2023

Hi, sounds like #42327.

Can you try again with 28.0.1?

@dwprod38
Copy link
Author

Hi, sounds like #42327.

Can you try again with 28.0.1?

Hello @kesselb ,

After updating to 28.0.1, I've put back special characters in folder Name and tested 250Mo downloading file : everything works fine !

This issue is considered as solved :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info
Projects
None yet
Development

No branches or pull requests

2 participants