Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

No mtime in database #35

Open
laziedimer opened this issue Apr 22, 2022 · 1 comment
Open

No mtime in database #35

laziedimer opened this issue Apr 22, 2022 · 1 comment

Comments

@laziedimer
Copy link

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

@mhaendler
Copy link

mhaendler commented Jul 11, 2022

Same issue here using pgsql Database...

Any update on this issue or how to resolve this error?

Unbenannt

Thansk in Advance :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants