Failed to take snapper snappshot on root on boot.

Kernels & Hardware, configuring network, installing services

Failed to take snapper snappshot on root on boot.

Postby jgmyline » 2019-03-07 17:08

Failed to take snapper snappshot on root on boot. See 'Systemctl status snapper-boot.service'. What means this error, and how to fix it? ( Debian 9.8 )
User avatar
jgmyline
 
Posts: 14
Joined: 2019-03-07 08:50
Location: Biewer

Re: Failed to take snapper snappshot on root on boot.

Postby Head_on_a_Stick » 2019-03-07 20:00

jgmyline wrote:See 'Systemctl status snapper-boot.service'. What means this error, and how to fix it? ( Debian 9.8 )

It means run the command
Code: Select all
systemctl status snapper-boot.service

The output will give you some clues as to how to fix it.

Also try
Code: Select all
journalctl -u snapper-boot
User avatar
Head_on_a_Stick
 
Posts: 10382
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Failed to take snapper snappshot on root on boot.

Postby jgmyline » 2019-03-08 13:18

Head_on_a_Stick wrote:
jgmyline wrote:See 'Systemctl status snapper-boot.service'. What means this error, and how to fix it? ( Debian 9.8 )

It means run the command
Code: Select all
systemctl status snapper-boot.service

The output will give you some clues as to how to fix it.

I cerainly did. The result:

● snapper-boot.service - Take snapper snapshot of root on boot
Loaded: loaded (/lib/systemd/system/snapper-boot.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-03-08 13:35:44 CET; 1h 4min ago
Process: 846 ExecStart=/usr/bin/snapper --config root create --cleanup-algorithm number --description boot (code=exited, status=1/FAILURE)
Main PID: 846 (code=exited, status=1/FAILURE)

Mär 08 13:35:38 Comp.Name systemd[1]: Starting Take snapper snapshot of root on boot...
Mär 08 13:35:44 Comp.Name snapper[846]: Die Konfiguration "Root" ist nicht vorhanden. Snapper ist wahrscheinlich nicht konfiguriert.
Mär 08 13:35:44 Comp.Name snapper[846]: Weitere Anweisungen finden Sie im "man snapper".
Mär 08 13:35:44 Comp.Name systemd[1]: snapper-boot.service: Main process exited, code=exited, status=1/FAILURE
Mär 08 13:35:44 Comp.Name systemd[1]: Failed to start Take snapper snapshot of root on boot.
Mär 08 13:35:44 Comp.Name systemd[1]: snapper-boot.service: Unit entered failed state.
Mär 08 13:35:44 Comp.Name systemd[1]: snapper-boot.service: Failed with result 'exit-code'.
~
~
~
~
~
~
~
~
~
~


Google translation:
● snapper-boot.service - Take snapper snapshot of root on boot
   Loaded: loaded (/lib/systemd/system/snapper-boot.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2019-03-08 13:35:44 CET; 1h 4min ago
  Process: 846 ExecStart = / usr / bin / snapper --config root create - cleanup-algorithm number --description boot (code = exited, status = 1 / FAILURE)
 Main PID: 846 (code = exited, status = 1 / FAILURE)

Mar 08 13:35:38 Comp.Name systemd [1]: Starting take snapper snapshot of root on boot ...
Mar 08 13:35:44 Comp.Name snapper [846]: The configuration "root" does not exist. Snapper is probably not configured.
Mar 08 13:35:44 Comp.Name snapper [846]: For more instructions, see "man snapper".
Mar 08 13:35:44 Comp.Name systemd [1]: snapper-boot.service: Main process exited, code = exited, status = 1 / FAILURE
Mar 08 13:35:44 Comp.Name systemd [1]: Failed to start Take snapshot snapshot of root on boot.
Mar 08 13:35:44 Comp.Name systemd [1]: snapper-boot.service: Unit entered failed state.
Mar 08 13:35:44 Comp.Name systemd [1]: snapper-boot.service: Failed with result 'exit-code'.
~


Also try
Code: Select all
journalctl -u snapper-boot


-- Logs begin at Fri 2019-03-08 13:35:09 CET, end at Fri 2019-03-08 14:52:05 CET. --
Mär 08 13:35:38 Comp.Name systemd[1]: Starting Take snapper snapshot of root on boot...
Mär 08 13:35:44 Comp.Name snapper[846]: Die Konfiguration "Root" ist nicht vorhanden. Snapper ist wahrscheinlich nicht konfiguriert.
Mär 08 13:35:44 Comp.Name snapper[846]: Weitere Anweisungen finden Sie im "man snapper".
Mär 08 13:35:44 Comp.Name systemd[1]: snapper-boot.service: Main process exited, code=exited, status=1/FAILURE
Mär 08 13:35:44 Comp.Name systemd[1]: Failed to start Take snapper snapshot of root on boot.
Mär 08 13:35:44 Comp.Name systemd[1]: snapper-boot.service: Unit entered failed state.
Mär 08 13:35:44 Comp.Name systemd[1]: snapper-boot.service: Failed with result 'exit-code'.
~
Google translation:

- Logs begin at Fri 2019-03-08 13:35:09 CET, end at Fri 2019-03-08 14:52:05 CET. -
Mar 08 13:35:38 Comp.Name systemd [1]: Starting take snapper snapshot of root on boot ...
Mar 08 13:35:44 Comp.Name snapper [846]: The configuration "root" does not exist. Snapper is probably not configured.
Mar 08 13:35:44 Comp.Name snapper [846]: For more instructions, see "man snapper".
Mar 08 13:35:44 Comp.Name systemd [1]: snapper-boot.service: Main process exited, code = exited, status = 1 / FAILURE
Mar 08 13:35:44 Comp.Name systemd [1]: Failed to start Take snapshot snapshot of root on boot.
Mar 08 13:35:44 Comp.Name systemd [1]: snapper-boot.service: Unit entered failed state.
Mar 08 13:35:44 Comp.Name systemd [1]: snapper-boot.service: Failed with result 'exit-code'.
~

The result is the same. But how to go on? :?
User avatar
jgmyline
 
Posts: 14
Joined: 2019-03-07 08:50
Location: Biewer

Re: Failed to take snapper snappshot on root on boot.

Postby Head_on_a_Stick » 2019-03-08 18:43

Code: Select all
# snapper -c jgmyline create-config /

Reference: https://wiki.archlinux.org/index.php/Snapper

Please use code tags rather than quote tags when posting terminal output.

You can avoid Google Translate by prepending the command with LC_ALL=C to make it speak English, like this:
Code: Select all
LC_ALL=C journalctl -u snapper-boot
User avatar
Head_on_a_Stick
 
Posts: 10382
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Failed to take snapper snappshot on root on boot.

Postby jgmyline » 2019-03-14 19:49

1. snapper -c jgmyline create-config /= Erstellen der Konfigurationsdatei ist fehlgeschlagen (/sbin/chsnap not installed).

2. LC_ALL=C journalctl -u snapper-boot = -- No entries --
User avatar
jgmyline
 
Posts: 14
Joined: 2019-03-07 08:50
Location: Biewer

Re: Failed to take snapper snappshot on root on boot.

Postby Head_on_a_Stick » 2019-03-15 06:55

jgmyline wrote:snapper -c jgmyline create-config /= Erstellen der Konfigurationsdatei ist fehlgeschlagen (/sbin/chsnap not installed).

Looks like that may be a bug, please report it.

https://www.debian.org/Bugs/Reporting.en.html
User avatar
Head_on_a_Stick
 
Posts: 10382
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to System configuration

Who is online

Users browsing this forum: arochester and 15 guests

fashionable