spicetify / cli

Command-line tool to customize Spotify client. Supports Windows, MacOS, and Linux.
https://spicetify.app
GNU Lesser General Public License v2.1
18.08k stars 717 forks source link

”warning Spotify version and backup version are mismatched.“; What should I do? #1405

Closed shanyan-wcx closed 2 years ago

shanyan-wcx commented 2 years ago

spicetify backup apply spicetify v2.8.4 Backing up app files: OK Extracting: OK Preprocessing: panic: runtime error: slice bounds out of range [1:0]

goroutine 1 [running]: github.com/khanhas/spicetify-cli/src/utils.FetchLatestTag(0x1ece7070598, 0x30, 0xc000ed4060, 0x8) C:/Users/Afonso/GitHub/spicetify-cli/src/utils/vcs.go:29 +0x1e6 github.com/khanhas/spicetify-cli/src/preprocess.FetchLatestTagMatchingOrMaster(0xad8cf4, 0x5, 0x2, 0xc0001822a0, 0x2e, 0x819345) C:/Users/Afonso/GitHub/spicetify-cli/src/preprocess/preprocess.go:544 +0x3b github.com/khanhas/spicetify-cli/src/preprocess.Start(0xad8cf4, 0x5, 0xc00000a600, 0x29, 0x101010101) C:/Users/Afonso/GitHub/spicetify-cli/src/preprocess/preprocess.go:76 +0x12c github.com/khanhas/spicetify-cli/src/cmd.Backup(0xad8cf4, 0x5) C:/Users/Afonso/GitHub/spicetify-cli/src/cmd/backup.go:61 +0x845 main.main() C:/Users/Afonso/GitHub/spicetify-cli/spicetify.go:188 +0x592

shanyan-wcx commented 2 years ago

spicetify update spicetify v2.8.4 warning Spotify version and backup version are mismatched. info Please run "spicetify backup apply". Continue anyway? [y/N] y fatal open C:\Users\shanyan\AppData\Roaming\Spotify\Apps\xpui\colors.css: The system cannot find the path specified.

shanyan-wcx commented 2 years ago

spicetify apply spicetify v2.8.4 warning Spotify version and backup version are mismatched. info Please run "spicetify backup apply". Continue anyway? [y/N] y Copying raw assets: OK Overwriting themed assets: OK Transferring user.css: OK Applying additional modifications: OK Transferring extensions: OK Transferring custom apps: OK success Spotify is spiced up! info Preprocessed Spotify data is outdated. Please run "spicetify restore backup apply" to receive new features and bug fixes PS C:\Users\shanyan> spicetify restore backup apply spicetify v2.8.4 warning Spotify version and backup version are mismatched. Continue restoring anyway? [y/N] y success Spotify is restored. info There is available backup. info Clear current backup: success Backup is cleared. Backing up app files: OK Extracting: OK Preprocessing: panic: runtime error: slice bounds out of range [1:0]

goroutine 1 [running]: github.com/khanhas/spicetify-cli/src/utils.FetchLatestTag(0x1b68fc50108, 0x30, 0xc000092690, 0x8) C:/Users/Afonso/GitHub/spicetify-cli/src/utils/vcs.go:29 +0x1e6 github.com/khanhas/spicetify-cli/src/preprocess.FetchLatestTagMatchingOrMaster(0xad8cf4, 0x5, 0x2, 0xc0000a0210, 0x2e, 0x819345) C:/Users/Afonso/GitHub/spicetify-cli/src/preprocess/preprocess.go:544 +0x3b github.com/khanhas/spicetify-cli/src/preprocess.Start(0xad8cf4, 0x5, 0xc00000a600, 0x29, 0x101010101) C:/Users/Afonso/GitHub/spicetify-cli/src/preprocess/preprocess.go:76 +0x12c github.com/khanhas/spicetify-cli/src/cmd.Backup(0xad8cf4, 0x5) C:/Users/Afonso/GitHub/spicetify-cli/src/cmd/backup.go:61 +0x845 main.main() C:/Users/Afonso/GitHub/spicetify-cli/spicetify.go:188 +0x592

shanyan-wcx commented 2 years ago

Can anyone answer my question?

shanyan-wcx commented 2 years ago

Thank you. It works.

H1roDarling commented 2 years ago

I don't understand any of this, especially what "spicetify backup apply" is, I got the issue and I don't know whether "spicetify backup apply" is an app, a website, or anything. Please help.

afonsojramos commented 2 years ago

@H1roDarling it is a command spicetify backup apply, since Spicetify is a CLI (Command Line Interface). Please refer to https://spicetify.app/ if you have more doubts regarding the functioning of Spicetify.

nadiahko commented 1 year ago

Thank you. It works.

i have the same troublem, can u teach me how to fix it?

shanyan-wcx commented 1 year ago

Thank you. It works.

i have the same troublem, can u teach me how to fix it?

Uninstall spotify and spotify completely, and then reinstall them.

nadiahko commented 1 year ago

Thank you. It works.

i have the same troublem, can u teach me how to fix it?

Uninstall spotify and spotify completely, and then reinstall them.

still not working at all 😣

zhooshi commented 11 months ago

I'm very late, but this just happened to me.

I didn't have to uninstall and reinstall Spotify. Instead, I restored backup copy I made of Spotify's contents, reloaded and the errors went away.

NightRaven0 commented 5 months ago

I'm very late, but this just happened to me.

I didn't have to uninstall and reinstall Spotify. Instead, I restored backup copy I made of Spotify's contents, reloaded and the errors went away.

can you elaborate on this? i have this issue now and i cant seem to fix it no matter what version i install or how many times i re-install