tmux-resurrect: Restore not loading any names/commands/pane sizes anymore
For some reason tmux-resurrect is no longer restoring any session parameters but does restore the correct number of windows/panes. Here is the contents of the tmux-resurrect file (sanitized)
pane outrider 1 :window1 0 : 1 :/home/robert 0 tail :tail -f a.log.file.log
pane outrider 1 :window1 0 : 2 :/home/robert/a/directory 1 zsh :
pane outrider 1 :window1 0 : 3 :/home/robert 0 zsh :
pane outrider 2 :window2 1 :* 1 :/home/robert 0 tail :tail -f a.log.file.log
pane outrider 2 :window2 1 :* 2 :/home/robert 0 ssh :ssh somehost
pane outrider 2 :window2 1 :* 3 :/home/robert 0 ssh :ssh somehost
pane outrider 2 :window2 1 :* 4 :/home/robert 1 ssh :ssh somehost
pane outrider 2 :window2 1 :* 5 :/home/robert 0 ssh :ssh somehost
pane outrider 3 :window3 0 :- 1 :/home/robert 0 tail :tail -f a.log.file.log
pane outrider 3 :window3 0 :- 2 :/home/robert 1 zsh :
pane outrider 4 :window4 0 : 1 :/home/robert 0 tail :tail -f a.log.file.log
pane outrider 4 :window4 0 : 2 :/home/robert 1 zsh :
pane outrider 5 :window5 0 : 1 :/home/robert 0 tail :tail -f a.log.file.log
pane outrider 5 :window5 0 : 2 :/home/robert 1 zsh :
pane outrider 6 :window6 0 : 1 :/home/robert 0 tail :tail -f a.log.file.log
pane outrider 6 :window6 0 : 2 :/home/robert 1 zsh :
pane outrider 7 :window7 0 : 1 :/home/robert 0 tail :tail -f a.log.file.log
pane outrider 7 :window7 0 : 2 :/home/robert 1 zsh :
pane outrider 8 :window8 0 :# 1 :/home/robert 0 tail :tail -f a.log.file.log
pane outrider 8 :window8 0 :# 2 :/home/robert/another/dir 1 vim :vim foo.bar
window outrider 1 0 : f6f2,228x95,0,0[228x23,0,0,1,228x36,0,24,2,228x34,0,61,3]
window outrider 2 1 :* b353,228x95,0,0[228x15,0,0,4,228x44,0,16{117x44,0,16,5,110x44,118,16[110x25,118,16,6,110x18,118,42,7]},228x34,0,61,8]
window outrider 3 0 :- b28d,228x95,0,0[228x27,0,0,9,228x67,0,28,10]
window outrider 4 0 : 5713,228x95,0,0[228x44,0,0,11,228x50,0,45,12]
window outrider 5 0 : 4596,228x95,0,0[228x43,0,0,13,228x51,0,44,14]
window outrider 6 0 : 4599,228x95,0,0[228x43,0,0,15,228x51,0,44,16]
window outrider 7 0 : 129c,228x95,0,0[228x39,0,0,17,228x55,0,40,18]
window outrider 8 0 :# 529a,228x95,0,0[228x39,0,0,19,228x55,0,40,20]
state outrider
After a restore from the above file this is the resulting resurrect file now
pane outrider 1 1 :* 1 :/home/robert 0 zsh :
pane outrider 1 1 :* 2 :/home/robert 0 zsh :
pane outrider 1 1 :* 3 :/home/robert/ 1 zsh :
pane outrider 2 0 :# 1 :/home/robert 0 zsh :
pane outrider 2 0 :# 2 :/home/robert 0 zsh :
pane outrider 2 0 :# 3 :/home/robert 0 zsh :
pane outrider 2 0 :# 4 :/home/robert 0 zsh :
pane outrider 2 0 :# 5 :/home/robert 1 zsh :
pane outrider 3 0 :# 1 :/home/robert 0 zsh :
pane outrider 3 0 :# 2 :/home/robert 1 zsh :
pane outrider 4 0 :# 1 :/home/robert 0 zsh :
pane outrider 4 0 :# 2 :/home/robert 1 zsh :
pane outrider 5 0 :# 1 :/home/robert 0 zsh :
pane outrider 5 0 :# 2 :/home/robert 1 zsh :
pane outrider 6 0 :# 1 :/home/robert 0 zsh :
pane outrider 6 0 :# 2 :/home/robert 1 zsh :
pane outrider 7 0 :# 1 :/home/robert 0 zsh :
pane outrider 7 0 :# 2 :/home/robert 1 zsh :
pane outrider 8 0 :# 1 :/home/robert 0 zsh :
pane outrider 8 0 :# 2 :/home/robert 1 zsh :
window outrider 1 :zsh 1 :* 3733,226x95,0,0[226x25,0,0,1,226x25,0,26,2,226x43,0,52,3] on
window outrider 2 :zsh 0 :# 82e0,226x95,0,0[226x16,0,0,4,226x15,0,17,5,226x15,0,33,6,226x15,0,49,7,226x30,0,65,8] on
window outrider 3 :zsh 0 :# 9b2d,226x95,0,0[226x37,0,0,9,226x57,0,38,10] on
window outrider 4 :zsh 0 :# 76f3,226x95,0,0[226x37,0,0,11,226x57,0,38,12] on
window outrider 5 :zsh 0 :# 76f6,226x95,0,0[226x37,0,0,13,226x57,0,38,14] on
window outrider 6 :zsh 0 :# 76f9,226x95,0,0[226x37,0,0,15,226x57,0,38,16] on
window outrider 7 :zsh 0 :# 76fc,226x95,0,0[226x37,0,0,17,226x57,0,38,18] on
window outrider 8 :zsh 0 :# b6fa,226x95,0,0[226x37,0,0,19,226x57,0,38,20] on
state outrider
Did something change? It’s been quite some time since I’ve had to use resurrect. This is happening across a few sessions on different hosts that I have. Is there a way to recover my old resurrect file other than manually?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 8
- Comments: 16 (4 by maintainers)
It might be worth including instructions to migrate a 2.4 save to a 3.0 save if someone has already upgraded like we had. Tmux is always running so it was definitely upgraded while running but the upgrade itself didn’t trigger a new save and I hadn’t made any changes to trigger a save in over 7 days in my session. The restore process was super simple though, this is exactly what I did to recover my save.
#: tmux kill-server)#: cd ~/.tmux/resurrect && git checkout v2.4.0)#: tmux)#: cd ~/.tmux/resurrect && git checkout master)<prefix>-C-s)@normen can you try this:
masterbranch