Not able to upgrade stuck at the unzip sudo tar -xzvf moodle-latest-X.Y.tgz -C /bitnami/moodle --strip 1

Keywords: Moodle - AWS - How to - Upgrade
Description:
Hi
I follow the below document for upgrade.
Unfortunately it stuck at this part it complaint
the below error :

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

sudo tar -xzvf moodle-latest-X.Y.tgz -C /bitnami/moodle --strip 1

Hi @yuling3086,

It seems you didn’t download the file properly, let’s download it again

cd /tmp
rm -rf moodle-latest*
wget "https://download.moodle.org/download.php/direct/stable310/moodle-latest-310.tgz"
sudo tar -xzvf moodle-latest-310.tgz -C /bitnami/moodle --strip 1

Happy to help!


Was my answer helpful? Click on :heart:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

Thanks. We have updated the page at https://docs.bitnami.com/aws/apps/moodle/administration/upgrade/