You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.
PHP Fatal error: Uncaught TypeError: Cli\Services\BackupZip::__construct(): Argument #1 ($filePath) must be of type string, bool given, called in phar:///var/www/bookstac k/bookstack-system-cli/src/Commands/RestoreCommand.php on line 52 and defined in phar:///var/www/bookstack/bookstack-system-cli/src/Services/BackupZip.php:10
0 phar:///var/www/bookstack/bookstack-system-cli/src/Commands/RestoreCommand.php(52): Cli\Services\BackupZip->__construct()
But also got reports of it working with a valid path.
Might be an issue in path resolution, especially if relative?
Either way, looks like better validation of backup path is needed.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Getting a few reports of scenarios like the one here: https://www.reddit.com/r/BookStack/comments/1de66kq/using_the_bookstack_system_cli_restore_command/
But also got reports of it working with a valid path.
Might be an issue in path resolution, especially if relative?
Either way, looks like better validation of backup path is needed.
The text was updated successfully, but these errors were encountered: