On Linux Spark creates and uses two user home directories Spark and .Spark.
It must use "USER_HOME/.Spark" directory.
Linux users before upgrading should copy personal files from Spark to .Spark.
1. go to the user home directory
2. Move the content from Spark to .Spark
mv Spark/ .Spark/