The Basics
- Nextcloud Server version (e.g., 29.x.x):
Nextcloud 31.0.2
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 22.04.5 LTS
- Web server and version (e.g, Apache 2.4.25):
Apache
- Reverse proxy and version _(e.g. nginx 1.27.2)
replace me
- PHP version (e.g, 8.3):
replace me
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
At or soon after update to 31.0.1 but also added more files and users
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
docker
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
On move the source file in the conflict’s dialog is missing date and size. If I choose the copy option it does not prompt but copies with a new name.
If I reverse the move and go from other direction I get the same error. As you can see this is a copy in reverse. So in this case it is the opposite file that has its data missing.
Some Things I Tried
- I did a occ preview:generate-all -v --path=“picture/files/filename/” on both the source and destination folders but that did not change anything.
- I also updated from 31.0.1to 31.0.2 and that also did not change anything.
- This account has over 1.1 GB of pictures so I used an account with almost no added data and used the sample pictures provided by Nextcloud. That also did not make any difference.
Log entries
Nextcloud
There is nothing in the logs that seems to be related. I believe these last four items are from just before I tried to move.
{"reqId":"u82sliJ1lLSUPxQlVl67","level":1,"time":"2025-03-21T01:30:01+00:00","remoteAddr":"","user":false,"app":"OC\\Log\\Rotate","method":"","url":"--","message":"Log file \"/srv/nextcloud/data/nextcloud.log\" was over 104857600 bytes, moved to \"/srv/nextcloud/data/nextcloud.log.1\"","userAgent":"--","version":"31.0.2.1","data":{"app":"OC\\Log\\Rotate"}}
{"reqId":"u82sliJ1lLSUPxQlVl67","level":1,"time":"2025-03-21T01:30:50+00:00","remoteAddr":"","user":false,"app":"no app in context","method":"","url":"--","message":"Could not find updater directory /srv/nextcloud/data/updater-octlo6skqqlh/backups - cleanup step not needed","userAgent":"--","version":"31.0.2.1","data":[]}
{"reqId":"2GTtLo2tfB4x1YxqVgqU","level":1,"time":"2025-03-21T01:35:01+00:00","remoteAddr":"","user":false,"app":"files_versions","method":"","url":"--","message":"Mark to expire /Documents/Notebooks/*.txt next version should be 1742519732 or smaller. (prevTimestamp: 1742519792; step: 60","userAgent":"--","version":"31.0.2.1","data":{"app":"files_versions"}}
{"reqId":"2GTtLo2tfB4x1YxqVgqU","level":1,"time":"2025-03-21T01:35:01+00:00","remoteAddr":"","user":false,"app":"files_versions","method":"","url":"--","message":"Expire: /Documents/Notebooks/*.txt.v1742519751","userAgent":"--","version":"31.0.2.1","data":{"app":"files_versions"}}
Web Browser
I get a lot of errors in the browser console but I believe they are logged while browsing to the directory to move or copy to not after I choose to move.
[ERROR] viewer: Could not register handler
Object { app: "viewer", uid: "picture", level: 1, error: "The handler doesn't have a valid component", handler: {…} }
logger-DynO6SEF.chunk.mjs:5:434
Failed to register fileAction filesplugin.js:108:9
A setting with the same name is already registered Settings.js:24:11
ReferenceError: ShareType is not defined
c FilePicker-CSmrMOEO.mjs:537
c FilePicker-CSmrMOEO.mjs:537
VueJS 4
it FilePicker-CSmrMOEO.mjs:559
VueJS 39
vue.runtime.esm.js:3065:16
VueJS 42
ReferenceError: ShareType is not defined
c FilePicker-CSmrMOEO.mjs:537
c FilePicker-CSmrMOEO.mjs:537
VueJS 4
it FilePicker-CSmrMOEO.mjs:559
VueJS 39
vue.runtime.esm.js:3065:16
A setting with the same name is already registered Settings.js:24:11
ReferenceError: ShareType is not defined
c FilePicker-CSmrMOEO.mjs:537
c FilePicker-CSmrMOEO.mjs:537
VueJS 4
it FilePicker-CSmrMOEO.mjs:559
VueJS 39
vue.runtime.esm.js:3065:16
ReferenceError: ShareType is not defined
c FilePicker-CSmrMOEO.mjs:537
c FilePicker-CSmrMOEO.mjs:537
VueJS 4
it FilePicker-CSmrMOEO.mjs:559
VueJS 39
vue.runtime.esm.js:3065:16
ReferenceError: ShareType is not defined
c FilePicker-CSmrMOEO.mjs:537
c FilePicker-CSmrMOEO.mjs:537
VueJS 4
it FilePicker-CSmrMOEO.mjs:559
VueJS 39
vue.runtime.esm.js:3065:16
ReferenceError: ShareType is not defined
c FilePicker-CSmrMOEO.mjs:537
c FilePicker-CSmrMOEO.mjs:537
VueJS 4
it FilePicker-CSmrMOEO.mjs:559
VueJS 39
vue.runtime.esm.js:3065:16
ReferenceError: ShareType is not defined
c FilePicker-CSmrMOEO.mjs:537
c FilePicker-CSmrMOEO.mjs:537
VueJS 4
it FilePicker-CSmrMOEO.mjs:559
VueJS 45
c FilePicker-CSmrMOEO.mjs:1102
async* FilePicker-CSmrMOEO.mjs:1111
VueJS 12
set FilePicker-CSmrMOEO.mjs:1190
VueJS 2
path FilePicker-CSmrMOEO.mjs:1262
VueJS 4
click FilePicker-CSmrMOEO.mjs:866
VueJS 4
click NcButton.mjs:231
VueJS 33
vue.runtime.esm.js:3065:16
ReferenceError: ShareType is not defined
c FilePicker-CSmrMOEO.mjs:537
c FilePicker-CSmrMOEO.mjs:537
VueJS 4
it FilePicker-CSmrMOEO.mjs:559
VueJS 45
c FilePicker-CSmrMOEO.mjs:1102
async* FilePicker-CSmrMOEO.mjs:1111
VueJS 12
set FilePicker-CSmrMOEO.mjs:1190
VueJS 2
path FilePicker-CSmrMOEO.mjs:1262
VueJS 4
click FilePicker-CSmrMOEO.mjs:866
VueJS 4
click NcButton.mjs:231
VueJS 33
vue.runtime.esm.js:3065:16
GET
https://[domain].com/core/preview?fileId=836400&x=32&y=32&mimeFallback=true&a=0&c=64acc09b0a27d
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=114628&x=32&y=32&mimeFallback=true&a=0&c=65eb86acdd0e8
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=4335&x=32&y=32&mimeFallback=true&a=0&c=66e0e092875c9
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=4328&x=32&y=32&mimeFallback=true&a=0&c=67dcb28ea2c49
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=1021396&x=32&y=32&mimeFallback=true&a=0&c=649b046eeaf3f
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=1800572&x=32&y=32&mimeFallback=true&a=0&c=66704ac32ab75
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=1866626&x=32&y=32&mimeFallback=true&a=0&c=67d8a86fb7dbc
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=1499470&x=32&y=32&mimeFallback=true&a=0&c=64d8248884441
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=101680&x=32&y=32&mimeFallback=true&a=0&c=661982aae9304
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=1544268&x=32&y=32&mimeFallback=true&a=0&c=6619e37085913
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=2114764&x=32&y=32&mimeFallback=true&a=0&c=67dcb2b32693b
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=935541&x=32&y=32&mimeFallback=true&a=0&c=67dcb0ae6545b
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=114627&x=32&y=32&mimeFallback=true&a=0&c=643de1c3553aa
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=2114772&x=32&y=32&mimeFallback=true&a=0&c=67dcb2b3279ac
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=1869099&x=32&y=32&mimeFallback=true&a=0&c=67dcb0ae64131
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=1316698&x=32&y=32&mimeFallback=true&a=0&c=66f1f7cfceb1d
[HTTP/1.1 404 0ms]
GET
https://[domain].com/core/preview?fileId=1377193&x=32&y=32&mimeFallback=true&a=0&c=649ed1c7646f3
[HTTP/1.1 404 0ms]
Configuration
Nextcloud
The output of occ config:list system
.
{
"system": {
"htaccess.RewriteBase": "\/",
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.2.1",
"overwrite.cli.url": "http:\/\/***REMOVED SENSITIVE VALUE***.com",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"loglevel": 1,
"mail_smtpmode": "smtp",
"mail_smtpauth": 1,
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "US",
"overwriteprotocol": "https",
"overwritehost": "***REMOVED SENSITIVE VALUE***.com",
"enabledPreviewProviders": {
"0": "OC\\Preview\\PNG",
"1": "OC\\Preview\\JPEG",
"2": "OC\\Preview\\GIF",
"3": "OC\\Preview\\BMP",
"4": "OC\\Preview\\XBitmap",
"6": "OC\\Preview\\TXT",
"7": "OC\\Preview\\MarkDown",
"8": "OC\\Preview\\OpenDocument",
"9": "OC\\Preview\\Krita",
"10": "OC\\Preview\\TIFF",
"11": "OC\\Preview\\Movie",
"12": "OC\\Preview\\MP4",
"13": "OC\\Preview\\HEIC",
"14": "OC\\Preview\\Image"
},
"preview_max_x": 2048,
"preview_max_y": 2048,
"memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
"preview_max_memory": 512,
"app_install_overwrite": [
"memories",
"cloud_py_api",
"mediadc",
"camerarawpreviews",
"maps"
],
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"memories.gis_type": 1,
"theme": "",
"memories.db.triggers.fcu": true,
"maintenance_window_start": "\u201c17\u201d"
}
}
Apps
Enabled:
- activity: 4.0.0
- admin_audit: 1.21.0
- app_api: 5.0.2
- bruteforcesettings: 4.0.0
- camerarawpreviews: 0.8.6
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- cloud_py_api: 0.2.0
- collectives: 2.16.1
- comments: 1.21.0
- contactsinteraction: 1.12.0
- dashboard: 7.11.0
- dav: 1.33.0
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_downloadlimit: 4.0.0
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- firstrunwizard: 4.0.0
- gpxpod: 7.0.4
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- maps: 1.5.0
- mediadc: 0.4.0
- memories: 7.5.2
- nextcloud_announcements: 3.0.0
- notifications: 4.0.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- photos: 4.0.0-dev.1
- previewgenerator: 5.8.0
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- recommendations: 4.0.0
- related_resources: 2.0.0
- richdocuments: 8.6.3
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- support: 3.0.0
- survey_client: 3.0.0
- systemtags: 1.21.1
- text: 5.0.0
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- twofactor_totp: 13.0.0-dev.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- workflowengine: 2.13.0
Disabled:
- encryption: 2.19.0
- files_external: 1.23.0
- suspicious_login: 9.0.1 (installed 6.0.0)
- twofactor_nextcloud_notification: 5.0.0
- user_ldap: 1.22.0