Timeshift does not respond and I need to restore another snapshot

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
nick_nick
Level 2
Level 2
Posts: 62
Joined: Tue Jan 01, 2019 8:21 am

Timeshift does not respond and I need to restore another snapshot

Post by nick_nick »

Good day all, this isn't my day today.
I wanted to change my etc/fstab to correct another problem, so I took a Timeshift snapshot before.

Then I decided that before changing my etc/fstab I could try to restore a previous Timeshift snapshot from 1 month ago in case it restored the correct etc/fstab.

Timeshift finished the dry run and came up with the usual list of restore files BUT when pressing Next it did not respond , so I selected all files (ctrl A) and pressed next which worked for some time and then shut the system and restarted.

From that point LibreOffice 6.4 does not respond when trying to open spreadsheets (it does open text odt files) and so I decided to restore the Timeshift snapshot I created half an hour ago.

Now ... Timeshift does not respond !
I restarted my LM twice but Timeshift does not respond !

Any idea what can I do now ?
Last edited by LockBot on Sun Aug 06, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
coffee412
Level 8
Level 8
Posts: 2271
Joined: Mon Nov 12, 2012 7:38 pm
Location: I dont know
Contact:

Re: Timeshift does not respond and I need to restore another snapshot

Post by coffee412 »

Normally what I do concerning the fstab file is boot from the live usb and mount the installed linux Mint and edit the fstab file.

You might be able to see what is wrong if you open up a term window and start timeshift there.

Code: Select all

timeshift-launcher
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710
- List your hardware Profile: inxi -Fxpmrz
MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
nick_nick
Level 2
Level 2
Posts: 62
Joined: Tue Jan 01, 2019 8:21 am

Re: Timeshift does not respond and I need to restore another snapshot

Post by nick_nick »

timeshift-launcher =>
Segmentation fault (core dumped)

???

I forgot to mention that the UPDATE Manager also does NOT respond
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: Timeshift does not respond and I need to restore another snapshot

Post by rene »

That's more or less the Linux variant of the famous Microsoft "Something went wrong" error message. I.e., as error messages go, not too useful. But, well, I'd try and reinstall Timeshift:

Code: Select all

sudo apt-get install --reinstall timeshift
If that doesn't solve it you'd need some deeper digging to fix that mess.
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: Timeshift does not respond and I need to restore another snapshot

Post by rene »

I'm by the way not a Timeshift user but I take it it's fairly straightforward to use from a Mint Live/Installer USB. That's going to be your best best. If needed ask around for how to use Timeshift from said Live system (but it's probably clear).
User avatar
Moem
Level 22
Level 22
Posts: 16233
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Timeshift does not respond and I need to restore another snapshot

Post by Moem »

rene wrote: Mon Feb 06, 2023 8:40 am I take it it's fairly straightforward to use from a Mint Live/Installer USB.
It is. As I remember it, you need to tell it to Restore and browse to the location where the snapshots are stored, then pick the one you want.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
nick_nick
Level 2
Level 2
Posts: 62
Joined: Tue Jan 01, 2019 8:21 am

Re: Timeshift does not respond and I need to restore another snapshot

Post by nick_nick »

nk@nk-LIFEBOOK-E736:~$ sudo apt-get install --reinstall timeshift
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: Timeshift does not respond and I need to restore another snapshot

Post by rene »

Yeah, do the Live/Installer USB thing... :?
nick_nick
Level 2
Level 2
Posts: 62
Joined: Tue Jan 01, 2019 8:21 am

Re: Timeshift does not respond and I need to restore another snapshot

Post by nick_nick »

Free space 0 bytes

fantastic
Last edited by nick_nick on Mon Feb 06, 2023 9:22 am, edited 2 times in total.
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: Timeshift does not respond and I need to restore another snapshot

Post by rene »

If that's to say you don't have a Mint Live/Installer USB ready and need to download it to somewhere to create it: if you have another system available to download it and create it from that's going to be easiest. If not: given that you want it for restoration let's not advise you to go delete some snapshots from /timeshift. Maybe sudo apt-get clean is enough, maybe flatpak uninstall --all is.
Last edited by rene on Mon Feb 06, 2023 9:54 am, edited 1 time in total.
nick_nick
Level 2
Level 2
Posts: 62
Joined: Tue Jan 01, 2019 8:21 am

Re: Timeshift does not respond and I need to restore another snapshot

Post by nick_nick »

I have my previous laptop working and a very recent backup so I will soon be ok.

Thanks for your help.
User avatar
coffee412
Level 8
Level 8
Posts: 2271
Joined: Mon Nov 12, 2012 7:38 pm
Location: I dont know
Contact:

Re: Timeshift does not respond and I need to restore another snapshot

Post by coffee412 »

Let me drop this here:

Try booting from live usb and then mount the mint install :

Code: Select all

chown root:root /mnt/<mint install>/usr/bin/sudo 
chmod 4755 /mnt/<mint install>/usr/bin/sudo
I would also entertain the idea of the whole directory (/sbin) and also (bin).

Reboot into the mint install and see if you can work with that.
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710
- List your hardware Profile: inxi -Fxpmrz
MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: Timeshift does not respond and I need to restore another snapshot

Post by rene »

Allow me advise against the just above. I.e., just restore an old(er) snapshot and don't go poking at individual issues...
User avatar
coffee412
Level 8
Level 8
Posts: 2271
Joined: Mon Nov 12, 2012 7:38 pm
Location: I dont know
Contact:

Re: Timeshift does not respond and I need to restore another snapshot

Post by coffee412 »

If what I suggested does not work on '/usr/sbin/sudo' then what harm? You run timeshift and it will replace it anyways.

I am not recommending the whole directories but on can compare the permissions of /usr/sbin/sudo and others in the directory. Its a good bet that timeshift (or something) also affected all the files in the directory.
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710
- List your hardware Profile: inxi -Fxpmrz
MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: Timeshift does not respond and I need to restore another snapshot

Post by rene »

The harm it does it that poster was someone scared enough to edit a text file to then go ahead and completely implode their system instead, and that as such advanced advise is way more likely to further confuse rather than help. I.e., just Timeshift the thing back to a working state (and with or without a line for the reader in /etc/fstab which triggered this clusterrainbow -- it's as said a simple edit away from being correct again anyway).
User avatar
Moem
Level 22
Level 22
Posts: 16233
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Timeshift does not respond and I need to restore another snapshot

Post by Moem »

rene wrote: Mon Feb 06, 2023 10:01 am clusterrainbow
Image

(But seriously. Do the Timeshift-from-live-Mint thing.)
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
User avatar
coffee412
Level 8
Level 8
Posts: 2271
Joined: Mon Nov 12, 2012 7:38 pm
Location: I dont know
Contact:

Re: Timeshift does not respond and I need to restore another snapshot

Post by coffee412 »

rene wrote: Mon Feb 06, 2023 10:01 am The harm it does it that poster was someone scared enough to edit a text file to then go ahead and completely implode their system instead, and that as such advanced advise is way more likely to further confuse rather than help. I.e., just Timeshift the thing back to a working state (and with or without a line for the reader in /etc/fstab which triggered this clusterrainbow -- it's as said a simple edit away from being correct again anyway).
I understand you totally. However, I just want to add that you recommend that the OP do the same thing that screwed it up in the first place.

Im not picking at you. Im just saying OK? :D

If the OP had to alter permissions on two files then it would be better to teach them how to do that instead of totally replacing everything. Its just a matter of opinion. Everything is hard when you first start out.

BTW, I enjoy your posts and can tell your very knowledgeable.
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710
- List your hardware Profile: inxi -Fxpmrz
MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
User avatar
coffee412
Level 8
Level 8
Posts: 2271
Joined: Mon Nov 12, 2012 7:38 pm
Location: I dont know
Contact:

Re: Timeshift does not respond and I need to restore another snapshot

Post by coffee412 »

@Moem - I have been outvoted. I guess whatever solves the problem.

Whenever something like that happens to me, It reminds me of Roy Schneider on jaws when they zoom in on him at the beach when the little boy is attacked. :shock: :shock: :shock:
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710
- List your hardware Profile: inxi -Fxpmrz
MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: Timeshift does not respond and I need to restore another snapshot

Post by rene »

Admittedly Timeshift likely won't shift /timeshift. I as said don't use it but blindly assumed later snapshots than the restored one to be deleted -- which come to think of it is in fact likely not the case, and that means poster still has the disk-full issue, and that means we know why they aren't back yet...

To poster: if the above then you will need to delete a few of the latest snapshots manually first, or clear out /var/lib/flapak, or /var/cache/apt, or...
bendipa
Level 5
Level 5
Posts: 586
Joined: Sat Jan 04, 2020 8:02 pm
Location: NW London. UK

Re: Timeshift does not respond and I need to restore another snapshot

Post by bendipa »

nick_nick wrote: Mon Feb 06, 2023 8:09 am Good day all, this isn't my day today.
I wanted to change my etc/fstab to correct another problem, so I took a Timeshift snapshot before.

Then I decided that before changing my etc/fstab I could try to restore a previous Timeshift snapshot from 1 month ago in case it restored the correct etc/fstab.

Timeshift finished the dry run and came up with the usual list of restore files BUT when pressing Next it did not respond , so I selected all files (ctrl A) and pressed next which worked for some time and then shut the system and restarted.

From that point LibreOffice 6.4 does not respond when trying to open spreadsheets (it does open text odt files) and so I decided to restore the Timeshift snapshot I created half an hour ago.

Now ... Timeshift does not respond !
I restarted my LM twice but Timeshift does not respond !

Any idea what can I do now ?
Well, you didn't need to use Timeshift at all, originally. You wanted to alter your fstab file. So all you had to do was take a copy of fstab (call it fstab2), then make your alterations to fstab. If that went awry, and you could not boot up, then it's a simple matter to restore back to the original fstab (eg from your USB Live Mint drive).

As for LibreOffice, you don't have the most recent one. We're up to v.7.5 now, so your 6.4 version is getting a bit old now. Again, you can re-install the whole thing, or just install the modules of Office you use. In your case lust re-install LibreOffice Calc. No need for Timeshift, which in my view is overrated as a back-up tool. I think there are better ones which don't fill-up your HDD/SSD.
Computer: Dell Vostro 470
Systems: Linux Mint 21.3 Xfce (Una), Manjaro 23.1 Xfce (Vulcan), Windows 10 (22H2) Pro.
Locked

Return to “Beginner Questions”