You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Eric Pugh (Jira)" <ji...@apache.org> on 2025/10/14 16:26:00 UTC

[jira] [Updated] (SOLR-17953) .DS_store directory prevents a localfilesystem RESTORE from working

     [ https://issues.apache.org/jira/browse/SOLR-17953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Pugh updated SOLR-17953:
-----------------------------
    Description: 
I was restoring a directory, and i had previously looked at it in OSX Finder, so it had the .DS_store files.   Which then caused:

 

  "Operation restore caused exception:":"java.nio.file.FileAlreadyExistsException:java.nio.file.FileAlreadyExistsException: /Volumes/BackupDude/solrstuff/solrs/solr-9.8.0/server/./solr/backup/wikipedia_backup/.DS_Store",

  "exception":{

    "msg":"/Volumes/BackupDude/solrstuff/solrs/solr-9.8.0/server/./solr/backup/wikipedia_backup/.DS_Store",

    "rspCode":-1

 

Seems like that directory should just be excluded?

 

I ran 

find . -name ".DS_Store" -delete

to clean things up.  Sigh.

  was:
I was restoring a directory, and i had previously looked at it in OSX Finder, so it had the .DS_store files.   Which then caused:

 

  "Operation restore caused exception:":"java.nio.file.FileAlreadyExistsException:java.nio.file.FileAlreadyExistsException: /Volumes/BackupDude/solrstuff/solrs/solr-9.8.0/server/./solr/backup/wikipedia_backup/.DS_Store",

  "exception":{

    "msg":"/Volumes/BackupDude/solrstuff/solrs/solr-9.8.0/server/./solr/backup/wikipedia_backup/.DS_Store",

    "rspCode":-1

 

Seems like that directory should just be excluded?


> .DS_store directory prevents a localfilesystem RESTORE from working
> -------------------------------------------------------------------
>
>                 Key: SOLR-17953
>                 URL: https://issues.apache.org/jira/browse/SOLR-17953
>             Project: Solr
>          Issue Type: Bug
>          Components: Backup/Restore
>    Affects Versions: 9.8.1
>            Reporter: Eric Pugh
>            Priority: Minor
>
> I was restoring a directory, and i had previously looked at it in OSX Finder, so it had the .DS_store files.   Which then caused:
>  
>   "Operation restore caused exception:":"java.nio.file.FileAlreadyExistsException:java.nio.file.FileAlreadyExistsException: /Volumes/BackupDude/solrstuff/solrs/solr-9.8.0/server/./solr/backup/wikipedia_backup/.DS_Store",
>   "exception":{
>     "msg":"/Volumes/BackupDude/solrstuff/solrs/solr-9.8.0/server/./solr/backup/wikipedia_backup/.DS_Store",
>     "rspCode":-1
>  
> Seems like that directory should just be excluded?
>  
> I ran 
> find . -name ".DS_Store" -delete
> to clean things up.  Sigh.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org