How to use the "solvable_files.sh"?

Nextcloud version: 24.0.1
Operating system and version: Ubuntu Server 20.04
Latest nextcloud docker image

The issue you are facing:
I’m getting the “Could not update metadata due to invalid modified time” error in the NC client. When trying to fix it like described in he Wiki I get environment: line 34: mysql: command not found

Is this the first time you’ve seen this error?: No

Steps to replicate it:

  1. Copy the script into /var/www/html inside the Docker container
  2. run ./solvable_files.sh ./data mysql db nextcloud password nextcloud fix scan

After some time i get environment: line 34: mysql: command not found like a hundred times in the terminal. I’m not sure if my command is correct

  1. In the description it says “Copy the file to the nextcloud folder on the server.” Is /var/www/html the nextcloud folder?
  2. is ./data the correct storage folder?
  3. I’m using mariadb. So is mysql the correct argument?

HI,

how you fixed your error

environment: line 34: mysql: command not found

i have the same problem, and no solution right now.

thank you

Michael

same here on unraid linuxserver/nextcloud docker with linuxserver/mariadb docker

Edit: found a solution: "Cannot sync due to invalid modification time" · Issue #4378 · nextcloud/desktop · GitHub