Posting as whilst posted before (many times!) always seem to be closed without actually resolving.
I have had this problem on every Samsung phone I have used over recent years, I recently had a spell using a different phone but recently picked up an S8 again and the issue is still there. Looking back over the last couple of years it seems to have been reported several times and just not fixed.
So to confirm the issue is
Pre-condition
Samsung S8 running Nougat
Sandisk 256gb SD card (new card not the same card I have seen the issue with before)
SD card encrypted
Download location set to SD card
Issue
When the phone is restarted all of the downloaded songs are removed from the device.
I have a large number of songs downloaded so re-downloading them is not a trivial thing and others have said if you are travelling then this becomes a major issue. I would also say that as given how long this issue has persisted I would not rule out that it is something that Spotify is fully aware of but has simply chosen not to fix?
Can I ask that you please do not close this bug without either fixing it or at least confirming that it will not be fixed?
Many thanks
Lastly fyi a few of the previously reported bugs/threads for info to show how far back this goes.
https://community.spotify.com/t5/Ongoing-Issues/Storage-switched-back-to-internal-at-every-reboot-Samsung-Galaxy/idi-p/4329272
https://community.spotify.com/t5/Ongoing-Issues/Android-encrypted-SD-Card-Offline-Music-lost-on-Reboot/idi-p/3382277
https://community.spotify.com/t5/forums/v3_1/forumtopicpage/board-id/spotifyandroid/thread-id/59790/page/4