tmux-resurrect: Save failure corrupts resurrect storage
I’m constantly having
'/Users/ain/.tmux/plugins/tmux-resurrect/scripts/save.sh' returned 1
which ends up in 0-length txt file at .tmux/resurrect, every time.
I think the save script should safeguard the behaviour and not dump a file on failure.
About this issue
- Original URL
- State: open
- Created 9 years ago
- Comments: 22 (2 by maintainers)
I run into this today. The
save.shscript failed with multipleerror connecting to /tmp/tmux-1000/default (No such file or directory). Same output fromtmux ls.The socket file indeed was not there, I don’t know how or why it disappeared 😃
SOLUTION
I solved the problem by running
pkill -USR1 tmux. It recreated the socket file and then thesave.shscript and othertmuxcommands worked as expected.Sending the SIGUSR1 signal to regenerate the socket is documented in
man tmux.… which was my original question …
Ran into this problem too and unfortunately
pkill -USR1 tmuxdid not create the required socket file and solve the problem.Error message on my side is:
repeated a bunch of times probably due to retry.
Any news on this? I get this all the time and it drives me nuts.