Skip to content

No mtime in database #35

Description

@laziedimer

Thank you very much for this script!

When running the script for the first time, an error occurred in the mysql command. I needed to change lines 56 and 86 to the following syntax (compatible with my installation):

nextcloud.mysql-client

> nextcloud.mysql-client \
>        --skip-column-names \
>        --silent \
>        --host="$db_host" \
>        --user="$db_user" \
>        --password="$db_pwd" \
>        --default-character-set=utf8 \
>        --execute="\

Adjusted the script, now when executing in each read file, the following warning occurs:

WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
mysql: [Warning] Using a password on the command line interface can be insecure.
No mtime in database. File not indexed. Skipping /var/snap/nextcloud/common/nextcloud/data/bruno/files/dir/dir/sample.xlsx

And at the end of the scan no files are fixed.

I've also run the command below to scan all files:
# nextcloud.occ files:scan --all
Did not solve this problem.

Any tips on how I can go about fixing the Incorrect Date issue in files?

Note: my NextCloud installation was created via Snapcraft.

Nextcloud Version: 23.0.3 (Snap)
Database: mysql
Linux Fedora 31

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions