Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
516 views
by Rookie
edited by
grep: /root/webinoly_<sitename>_2023-10-10-14:04:14: binary file matches

[ERROR] File not found or empty!

No issue when restoring to an unbutu 20.04 machine. Only issue when restoring on 22.04 machine.

Had to manually uncompress via tar xvf, and restore the site.

Is this error normal?
by Rookie
command used is
sudo webinoly -backup=local -import=sites -file=/root/<filename>
by Rookie

I'm having the same issue on 22 using :

sudo webinoly -backup=local -import=sites -file=/home/ubuntu/webinoly_base22.example.org_2023-10-09-16:32:54

by Rookie
If you are having issues restoring, your best option is to extract the files inside it and recreate the site, import the DB, and move your wp-content files.

This is the only solution I know for now.

You can use tar -xvzf /file/location to extract on your linux vm
by Rookie
Thanks I appreciate it!

1 Answer

0 votes
by Expert
selected by
 
Best answer

Thanks a lot for reporting this issue!

Can you please try changing this code:

# File: /opt/webinoly/lib/bkp (line: 963)

# Change this:
if [[ ! -f $file || ( -f $file && ( ! -s $file || -z $(grep '[^[:space:]]' $file ))) ]]; then

# To this:
if [[ ! -f $file || ( -f $file && ( ! -s $file || -z $(cat -v $file | grep '[^[:space:]]'))) ]]; then

Please, test it and tell me if it works.

Regards.

by Expert

Just for the record: This issue was fixed in 1.17.7

by Rookie
I apologize, I am at the hospital due to a sports injury, was unable to check or do this for you. Thanks for updating it.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...