Error: Cannot open an HTTP server when restarting CS after updating

Hi,

I had an issue restarting Cryosparc after updating to V4.7.0, but I don’t know how to fix it. Can you help?

===================================================
Successfully updated master to version v4.7.0.

Starting CryoSPARC System master process…
CryoSPARC is not already running.
Error: Cannot open an HTTP server: socket.error reported errno.ENOENT (2)
For help, use /net/flash/flash/qchen/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/bin/supervisord -h

Thanks,
Qingchao

@qchen What are the outputs of the commands

tail -n 30 /net/flash/flash/qchen/cryosparc/cryosparc_master/run/supervisord.log
tail -n 50 /net/flash/flash/qchen/cryosparc/cryosparc_master/run/update.log
grep BASE_PORT /net/flash/flash/qchen/cryosparc/cryosparc_master/config.sh
ps -eo user,pid,ppid,start,command | grep -e cryosparc_ -e mongo
ls -l /tmp/cryosparc*.sock /tmp/mongo*.sock

Hi,

Thanks, I solved it myself.
It seems that My CryoSPARC install expects the socket (cryosparc.sock) at /run/user/27067/, but this directory doesn’t existso supervisord can’t start, and CryoSPARC fails.

My solution:

nano /net/flash/flash/qchen/cryosparc/cryosparc_master/config.sh
Change export CRYOSPARC_SUPERVISOR_SOCK_FILE=“/run/user/${UID}/cryosparc.sock”
to export CRYOSPARC_SUPERVISOR_SOCK_FILE=“/tmp/cryosparc.sock”
After saving the file, reload environment.
And it works.

Thanks for your attention!
Qingchao