Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Re: The backup of a course download with 0 bytes.

$
0
0
by Francisco Gómez.  

I am using a local server with Xampp on windows 10 64 bits version 2004 and Xampp with PHP 7.4.8. I have checked that this also happens when downloading large files, whether they are pdf or from the folder resource when I select download full folder. Until a few months ago the entire folder was downloaded and now only download the compressed folder with 0 bytes is downloaded.

A few months ago I also downloaded the backup of a course completely, but something has changed, either in the last version of Moodle (Moodle 3.9.1+ (Build: 20200723) or in the configuration of Xampp, that now the big files are downloaded with 0 bytes.

For example, I have just downloaded a backup of a course entirely of 7.32 MB. But in other courses where the backup is, for example, 37.7MB already downloads it to 0 bytes. However in the local server with Xampp it restores it perfectly. The only way that I have found to take that backup is following your recommendations in this forum, that is to go to moodledata and although the files are encrypted I can locate them by the date of creation and by the size. For example the backup of the 37.7 megas course that from Moodle with Xampp, when I download it goes down to 0 bytes. I found the backup of the course in moodledata in the path: moodledata\filedir\1c\e7 and with the name: 1ce7b42d8962f33ffe0c1cc04386d73c91fe39f4 and I see that it is the backup that I just generated by the date of modification and by the size that matches, I rename 1ce7b42d8962f33ffe0c1cc04386d73c91fe39f4 namecourse. mbz and I can take it to the installation I have in a professional hosting provider.

This is the only solution I have for now to rescue the backups and restore them in other Moodle sites. Still, I haven't found how to download big files, so if a pdf is too big I have to cut it up or put it outside moodle with a link to it, still inside the Xampp server and it works, and yet inside Moodle big files are downloaded at 0 bytes. I manage two Moodle platforms, one in local with Xampp and another one in a professional hosting with x86_64-redhat-linux-gnu host with Nginx server and it restores correctly.

But I am just a school teacher specialized in teaching English in a Primary School and representative of computer media, but I am not a computer specialist. Let's see if some of our IT colleagues in this forum can help us because 3 or 4 months ago the local Xampp installation was working perfectly; then it's possible that this happened or because of an update of Xampp or Moodle or a misconfiguration of Xampp or Moodle.

I'm intrigued to know why this behaviour might be happening.

Has this ever happened to anyone before and been resolved?

Greetings from Murcia.

Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>