Repository navigation
[Bug report] v48.1 Cannot restore Backup from Windows under Linux or Mac #2731
Replies: 3 comments 1 reply
|
I think this is a file-permission problem in the backup's Windows has no Unix permission bits. When Publii packs the backup with A directory needs the execute bit to be entered. In Workaround on the Linux machine, with the backup path adjusted: mkdir /tmp/fix && tar -xf mybackup.tar -C /tmp/fix 2>/dev/null
chmod -R u+rwX /tmp/fix
tar -cf fixed.tar -C /tmp/fix .Put Fix in Publii: passing I can't tell why it worked before 0.48; the extract options in 0.47.9 look the same, so I would guess a dependency update changed behavior, but I haven't bisected it. I also haven't run the restore or the workaround on Linux, only checked the archive headers on Windows and read the If this helped, a follow on my profile is always appreciated. Thank you! |
|
@eyefollowu @have-you-tried-restarting - yes, the problem is related to a different behavior of the pack library. It will be fixed in the v.0.48.2 planned for the beginning of the November. Temporary solution proposed in the @have-you-tried-restarting seems to be ok:
The problem affects backups created on Windows on Publii v.0.48.0 - 0.48.1 when tried to unpack on mac/linux |
|
Hey! |
Uh oh!
There was an error while loading. Please reload this page.
Operating system
Windows 11 / Linux Mint / MacOS with intel
Publii version
0.48.1 with mercury theme 3.3
Issue type
Application
Bug description
I'm devolping a website and switch between two Windows 11 computers and a Linux Mint computer. My colleague uses am Mac notebook with a intel cpu, I don't know the exact mosOS version. Until now it was no problem to restore a Publii backup .tar-file under each system.
Until Publii 48.1 (maybe since 48) I cannot restore a backup of our site, that I made in Publii on Windows 11 on my Linux computer, nor it was possible under MacOS. I get this message:
A JavaScript error occured in the main process
Uncaught Execption:
Error: EACCESS: permission denied, stat '/home/user/documents/Publii/temp/restore-YNYRJo/input/config
After this Publii does not respond any more until I close the application and start it again.
Any Ideas?
Steps to reproduce
Make a backup in Publii uner Windows 11, then try to restore the website under Linux.
Relevant log output
No response
All reactions