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]: File versions in S3 (Compatible) #41917

Open
5 of 8 tasks
wmeneses opened this issue Nov 29, 2023 · 4 comments
Open
5 of 8 tasks

[Bug]: File versions in S3 (Compatible) #41917

wmeneses opened this issue Nov 29, 2023 · 4 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 27-feedback bug feature: object storage feature: versions needs review Needs review to determine if still applicable regression

Comments

@wmeneses
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

Since the last version, changes to the files do not generate new file versions, only the initial version and the next change are created, but from then on it stops creating new versions.

Steps to reproduce

  1. Create a new file (version 0 bytes)
    2.Save the file (version two, ready)
    3.Save rhe file again (No more version)

Expected behavior

Create a new version by save

Installation method

Community Web installer on a VPS or web space

Nextcloud Server version

27

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

PostgreSQL

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

Upgraded to a MAJOR version (ex. 22 to 23)

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": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "objectstore": {
            "class": "OC\\Files\\ObjectStore\\S3",
            "arguments": {
                "bucket": "mabella-nextcloud",
                "autocreate": true,
                "key": "***REMOVED SENSITIVE VALUE***",
                "secret": "***REMOVED SENSITIVE VALUE***",
                "hostname": "storage.googleapis.com",
                "port": 443,
                "use_ssl": true,
                "region": "us",
                "use_path_style": false
            }
        },
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "archivo.conconcreto.com",
            "10.128.0.75",
            "off.conconcreto.com",
            "127.0.0.1",
            "localhost"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "27.1.4.1",
        "overwrite.cli.url": "https:\/\/archivo.conconcreto.com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "logtimezone": "America\/Bogota",
        "preview_ffmpeg_path": "\/usr\/bin\/ffmpeg",
        "log_type": "nextcloud",
        "logfile": "\/var\/www\/vhosts\/archivo.conconcreto.com\/httpdocs\/data\/nextcloud.log",
        "log_rotate_size": "104857600",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "default_language": "es",
        "default_locale": "es",
        "force_locale": "es",
        "default_phone_region": "CO",
        "filelocking.enabled": true,
        "customclient_desktop": "https:\/\/deinteres.conconcreto.com\/raidrive",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "enable_previews": true,
        "part_file_in_storage": true,
        "filesystem_check_changes": 1,
        "filelocking.ttl": 43200,
        "activity_expire_days": 30,
        "lost_password_link": "disabled",
        "enabledPreviewProviders": [
            "OC\\Preview\\Movie",
            "OC\\Preview\\MKV",
            "OC\\Preview\\MP4",
            "OC\\Preview\\AVI",
            "OC\\Preview\\Image",
            "OC\\Preview\\Heic"
        ],
        "allow_user_to_change_display_name": false,
        "skeletondirectory": "\/var\/www\/vhosts\/archivo.conconcreto.com\/httpdocs\/data\/template",
        "onlyoffice": {
            "verify_peer_off": true
        },
        "app_install_overwrite": [
            "ldapcontacts",
            "extract",
            "files_archive",
            "files_external_gdrive",
            "files_readmemd"
        ],
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "maintenance": false,
        "theme": "",
        "loglevel": 0,
        "ldapUserCleanupInterval": 5,
        "updater.release.channel": "stable",
        "enforce_theme": "",
        "versions_retention_obligation": "7, auto",
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "logfile_audit": "=\/var\/www\/vhosts\/archivo.conconcreto.com\/httpdocs\/data\/nextcloud.log"
    }
}

List of activated Apps

Enabled:
  - activity: 2.19.0
  - admin_audit: 1.17.0
  - announcementcenter: 6.7.0
  - audioplayer: 3.4.0
  - bruteforcesettings: 2.7.0
  - cloud_federation_api: 1.10.0
  - comments: 1.17.0
  - contactsinteraction: 1.8.0
  - dav: 1.27.0
  - drawio: 2.1.4
  - federatedfilesharing: 1.17.0
  - federation: 1.17.0
  - files: 1.22.0
  - files_3dmodelviewer: 0.0.12
  - files_accesscontrol: 1.17.1
  - files_automatedtagging: 1.17.0
  - files_external: 1.19.0
  - files_fulltextsearch: 27.0.1
  - files_pdfviewer: 2.8.0
  - files_reminders: 1.0.0
  - files_rightclick: 1.6.0
  - files_sharing: 1.19.0
  - files_trashbin: 1.17.0
  - files_versions: 1.20.0
  - firstrunwizard: 2.16.0
  - flow_notifications: 1.7.0
  - fulltextsearch: 27.0.2
  - geoblocker: 0.5.11
  - groupfolders: 15.3.1
  - guests: 2.5.0
  - ldap_contacts_backend: 1.7.0
  - logreader: 2.12.0
  - lookup_server_connector: 1.15.0
  - metadata: 0.19.0
  - notifications: 2.15.0
  - oauth2: 1.15.1
  - onlyoffice: 8.2.4
  - password_policy: 1.17.0
  - privacy: 1.11.0
  - provisioning_api: 1.17.0
  - quicknotes: 0.8.10
  - recommendations: 1.6.0
  - related_resources: 1.2.0
  - serverinfo: 1.17.0
  - settings: 1.9.0
  - sharebymail: 1.17.0
  - side_menu: 3.11.2
  - systemtags: 1.17.0
  - theming: 2.2.0
  - theming_customcss: 1.15.0
  - twofactor_backupcodes: 1.16.0
  - unroundedcorners: 1.1.2
  - unsplash: 2.2.1
  - updatenotification: 1.17.0
  - user_ldap: 1.17.0
  - viewer: 2.1.0
  - workflowengine: 2.9.0
  - workspace: 3.0.3
Disabled:
  - circles: 27.0.1 (installed 26.0.0)
  - dashboard: 7.7.0 (installed 7.6.0)
  - encryption: 2.15.0
  - files_archive: 1.1.3 (installed 1.1.3)
  - nextcloud_announcements: 1.16.0 (installed 1.15.0)
  - photos: 2.3.0 (installed 2.3.0)
  - support: 1.10.0 (installed 1.10.0)
  - survey_client: 1.15.0 (installed 1.14.0)
  - suspicious_login: 5.0.0 (installed 5.0.0)
  - text: 3.8.0 (installed 3.7.2)
  - twofactor_totp: 9.0.0
  - user_saml: 5.2.4 (installed 5.2.4)
  - user_status: 1.7.0 (installed 1.6.0)
  - weather_status: 1.7.0 (installed 1.6.0)

Nextcloud Signing status

No response

Nextcloud Logs

No error

Additional info

No response

@joshtrichards
Copy link
Member

  1. Create a new file (version 0 bytes)
  2. Save the file (version two, ready)
  3. Save rhe file again (No more version)

How are you creating and saving these files? I assume not the Text app since you have that disabled. OnlyOffice? Or maybe not from the web UI at all?

@wmeneses
Copy link
Author

wmeneses commented Dec 3, 2023

Hi, thanks for replying, it happens with any file I save, Via web, client or webdav directly. only two versions are saved the first initial and the second, then stop creating more (My primary storage is s3 (Google GCP compatible). i have already reached 40 million files. i have more than 1500 users.

@wmeneses
Copy link
Author

wmeneses commented Dec 3, 2023

image
Example:
I created a file 8 days ago, i just made a change. there is no new version.

@joshtrichards
Copy link
Member

Possibly related: #37461

@joshtrichards joshtrichards added the needs review Needs review to determine if still applicable label Oct 10, 2024
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 27-feedback bug feature: object storage feature: versions needs review Needs review to determine if still applicable regression
Projects
None yet
Development

No branches or pull requests

3 participants