Okay, I cleaned up some space manually. Apparently, there are useless files in the snap directory.
Then I retried again the process ./launcher restart app. This time, the error disappeared.
./launcher restart app
But I still get the 502 Bad Gateway error.