What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 11.3.0.2
How are you able to access your server: The webadmin
SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No
Describe your issue
I have a backup from October 2024 and I wanted to restore from it, but just one app (Wordpress). I installed Yunohost 11.3.0.2 on my Raspberry Pi 3 and I wanted to restore from tar.gz file that I created (via webadmin) and downloaded in October 2024.
I have added the tar.gz file via terminal to the correct location (/home/yunohost.backup/archives/), but I cannot see it in webadmin. I checked it via SSH and it is there.
Share relevant logs or error messages
Traceback (most recent call last):
File “/usr/lib/python3.9/tarfile.py”, line 1712, in gzopen
t = cls.taropen(name, mode, fileobj, **kwargs)
File “/usr/lib/python3.9/tarfile.py”, line 1689, in taropen
return cls(name, mode, fileobj, **kwargs)
File “/usr/lib/python3.9/tarfile.py”, line 1552, in init
self.firstmember = self.next()
File “/usr/lib/python3.9/tarfile.py”, line 2357, in next
tarinfo = self.tarinfo.fromtarfile(self)
File “/usr/lib/python3.9/tarfile.py”, line 1116, in fromtarfile
buf = tarfile.fileobj.read(BLOCKSIZE)
File “/usr/lib/python3.9/gzip.py”, line 300, in read
return self._buffer.read(size)
File “/usr/lib/python3.9/_compression.py”, line 68, in readinto
data = self.read(len(byte_view))
File “/usr/lib/python3.9/gzip.py”, line 487, in read
if not self._read_gzip_header():
File “/usr/lib/python3.9/gzip.py”, line 435, in _read_gzip_header
raise BadGzipFile(‘Not a gzipped file (%r)’ % magic)
gzip.BadGzipFile: Not a gzipped file (b’./')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/bin/yunohost”, line 77, in
yunohost.cli(
File “/usr/lib/python3/dist-packages/yunohost/init.py”, line 41, in cli
ret = moulinette.cli(
File “/usr/lib/python3/dist-packages/moulinette/init.py”, line 110, in cli
Cli(
File “/usr/lib/python3/dist-packages/moulinette/interfaces/cli.py”, line 500, in run
ret = self.actionsmap.process(args, timeout=timeout)
File “/usr/lib/python3/dist-packages/moulinette/actionsmap.py”, line 574, in process
return func(**arguments)
File “/usr/lib/python3/dist-packages/yunohost/backup.py”, line 2347, in backup_restore
restore_manager = RestoreManager(name)
File “/usr/lib/python3/dist-packages/yunohost/backup.py”, line 881, in init
self.info = backup_info(name, with_details=True)
File “/usr/lib/python3/dist-packages/yunohost/backup.py”, line 2512, in backup_info
tar = tarfile.open(
File “/usr/lib/python3.9/tarfile.py”, line 1659, in open
return func(name, filemode, fileobj, **kwargs)
File “/usr/lib/python3.9/tarfile.py”, line 1716, in gzopen
raise ReadError(“not a gzip file”)
tarfile.ReadError: not a gzip file