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.17k stars 716 forks source link

Spotify update broke spicetify. #372

Closed phoenix277yt closed 3 years ago

phoenix277yt commented 3 years ago

as It says in the title, I still have the ownership of spotify files. terminal - [daksh_s@R53600X ~]$ spicetify backup spicetify v1.1.0 info There is available backup. info Clear current backup: success Backup is cleared. Backing up app files: OK Extracting: OK
Preprocessing: OK
OK
success Everything is ready, you can start applying now! [daksh_s@R53600X ~]$ spicetify backup apply spicetify v1.1.0 info There is available backup. info Clear current backup: success Backup is cleared. Backing up app files: OK Extracting: OK
Preprocessing: OK
OK
success Everything is ready, you can start applying now! Copying raw assets: fatal unlinkat /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify/Apps/stations.spa: permission denied [daksh_s@R53600X ~]$ spicetify apply spicetify v1.1.0 Copying raw assets: fatal unlinkat /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify/Apps/stations.spa: permission denied

khanhas commented 3 years ago

can you check that path with ls -l

phoenix277yt commented 3 years ago

@khanhas it is indeed there. The stations.spa file even has read and write for all 3 groups. image also when I use sudo to run "spicetify backup apply" this happens - image even though - image and yeah, just to check in the config, It IS the same path - image

khanhas commented 3 years ago
  1. Don't use sudo with any of spicetify command.
  2. Make prefs_path a absolute path.
  3. Try these commands:
    sudo chmod a+wr /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify
    sudo chmod a+wr -R /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify/Apps
phoenix277yt commented 3 years ago
  1. Don't use sudo with any of spicetify command.
  2. Make prefs_path a absolute path.
  3. Try these commands:
sudo chmod a+wr /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify
sudo chmod a+wr -R /var/lib/flatpak/app/com.spotify.Client/x86_64/stable/active/files/extra/share/spotify/Apps

step 3 didn't do so much, but the second step fixed it :D thank you @khanhas