<p>In the plutus-pioneer-program/code/week01 folder, I got the tag as tag: ea0ca4e9f9821a9dbfc5255fa0f42b6f2b3887c4</p>
<p>The git log tag for plutus was 9879b31579d0deb863f3cdf27f93419deec3b4bb
So I used git checkout ea0ca4e9f9821a9dbfc5255fa0f42b6f2b3887c4 on the plutus repository.</p>
<p>If I try starting the server, it does not start, giving this error after trying for a long time.</p>
<pre><code>[nix-shell:~/plutus/git/plutus/plutus-playground-client]$ plutus-playground-server
plutus-playground-server: for development use only
warning: unable to download 'https://github.com/input-output-hk/hackage.nix/archive/6dba3997f6a39d51fe814d312b1a4b52838a8055.tar.gz': HTTP error 200 (curl error: Timeout was reached); retrying in 347 ms

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
error: program 'tar' failed with exit code 2
(use '--show-trace' to show detailed location information)

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
error: program 'tar' failed with exit code 2
(use '--show-trace' to show detailed location information)
</code></pre>
<p>Here is what I have done to try setup my environment.</p>
<ol>
<li><p>I am on Win10.  I have git installed.</p>
</li>
<li><p>I chose to use the vagrant based setup.</p>
</li>
<li><p>Downloaded and installed Vagrant and VirtualBox (6.1). Rebooted.</p>
</li>
<li><p>Cloned the vagrant repository, <code>git clone https://github.com/edwint88/plutus-vm plutus-vm</code></p>
</li>
<li><p>Using <code>git bash</code>, did <code>vagrant up</code>.  It reads Vagrantfile, tries to find the VM, which is not there, so downloads the VM from internet, Ubuntu website. VM has been downloaded on the Windows machine</p>
</li>
<li><p>ssh into the vm using <code>vagrant ssh</code></p>
</li>
<li><p>Update plutus using</p>
<pre><code>cd /home/vagrant/plutus/git/plutus 
git pull 
update /bin/bash ../updatePlutus.sh
</code></pre>
</li>
</ol>
<p>It updated the plutus repository and git log gives me head as
9879b31579d0deb863f3cdf27f93419deec3b4bb</p>
<ol start="8">
<li><p>Run nix-shell
cd to week01 folder
Then did
cabal update
cabal build</p>
</li>
<li><p>Checked tag in cabal.project file.  It had tag as ea0ca4e9f9821a9dbfc5255fa0f42b6f2b3887c4 (this is same as in Video1 of Plutus Pioneer Program - Lecture #1 in both cohorts.</p>
</li>
<li><p>As the tag is not same as plutus's it means we need to get an older version of plutus</p>
</li>
<li><p>Went to plutus dir and <code>git checkout ea0ca4e9f9821a9dbfc5255fa0f42b6f2b3887c4</code>
Verified that git log now shows this tag.</p>
</li>
<li><p>Tried to start the server
<code>cd plutus-playground-client</code>
<code>plutus-playground-server</code></p>
</li>
</ol>
<p>It is giving the error shown.</p>
<p>Note, earlier when I did not understand I had to update the plutus repo to match, I had tried starting the server, and it came up successfully.</p>

CC BY-SA 4.0
2021-09-20T06:19:13.477Z
unable to download - this error indicates that there might be an issue with the Internet connection and the tar is broken. Kindly check it again.
raghu
CC BY-SA 4.0
2021-09-20T08:12:27.593Z
Quite possibly.  As now, when I am trying to do nix-shell, it is failing to untar this same tar  file (as it must have got partially downloaded last time).  How to retrigger the redownload this file.
Amit369
CC BY-SA 4.0
2021-09-20T08:55:43.187Z
I tried ``` /bin/bash ../updatePlutus.sh```.  Still it is giving same error.  unpacking 'https://github.com/input-output-hk/hackage.nix/archive/6dba3997f6a39d51fe814d312b1a4b52838a8055.tar.gz'...

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
error: program 'tar' failed with exit code 2
(use '--show-trace' to show detailed location information)
Amit369
CC BY-SA 4.0
2021-09-21T10:03:06.577Z
I finally did the entire installation again,  Cleaned up the vagrant VM and redid the steps. Able to compile EnglishAuction.hs in the playground!  Thanks for the help.
Amit369
CC BY-SA 4.0
2021-09-21T19:25:02.663Z
Please post the steps as answer. It will help other.
raghu
<plutus><plutus-pioneer-program>
Plutus Pioneer Program Week01 : Installing plutus - Unable to start server if syncing plutus with plutus-pioneer-program version
# Plutus Pioneer Program Week01 : Installing plutus - Unable to start server if syncing plutus with plutus-pioneer-program version

(Asked by: username_0 on 2021-09-19)

In the plutus-pioneer-program/code/week01 folder, I got the tag as tag: ea0ca4e9f9821a9dbfc5255fa0f42b6f2b3887c4
The git log tag for plutus was 9879b31579d0deb863f3cdf27f93419deec3b4bb
So I used git checkout ea0ca4e9f9821a9dbfc5255fa0f42b6f2b3887c4 on the plutus repository.
If I try starting the server, it does not start, giving this error after trying for a long time.
[nix-shell:~/plutus/git/plutus/plutus-playground-client]$ plutus-playground-server
plutus-playground-server: for development use only
warning: unable to download 'https://github.com/input-output-hk/hackage.nix/archive/6dba3997f6a39d51fe814d312b1a4b52838a8055.tar.gz': HTTP error 200 (curl error: Timeout was reached); retrying in 347 ms

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
error: program 'tar' failed with exit code 2
(use '--show-trace' to show detailed location information)

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
error: program 'tar' failed with exit code 2
(use '--show-trace' to show detailed location information)

Here is what I have done to try setup my environment.

I am on Win10.  I have git installed.

I chose to use the vagrant based setup.

Downloaded and installed Vagrant and VirtualBox (6.1). Rebooted.

Cloned the vagrant repository, git clone https://github.com/edwint88/plutus-vm plutus-vm

Using git bash, did vagrant up.  It reads Vagrantfile, tries to find the VM, which is not there, so downloads the VM from internet, Ubuntu website. VM has been downloaded on the Windows machine

ssh into the vm using vagrant ssh

Update plutus using
cd /home/vagrant/plutus/git/plutus 
git pull 
update /bin/bash ../updatePlutus.sh



It updated the plutus repository and git log gives me head as
9879b31579d0deb863f3cdf27f93419deec3b4bb

Run nix-shell
cd to week01 folder
Then did
cabal update
cabal build

Checked tag in cabal.project file.  It had tag as ea0ca4e9f9821a9dbfc5255fa0f42b6f2b3887c4 (this is same as in Video1 of Plutus Pioneer Program - Lecture #1 in both cohorts.

As the tag is not same as plutus's it means we need to get an older version of plutus

Went to plutus dir and git checkout ea0ca4e9f9821a9dbfc5255fa0f42b6f2b3887c4
Verified that git log now shows this tag.

Tried to start the server
cd plutus-playground-client
plutus-playground-server


It is giving the error shown.
Note, earlier when I did not understand I had to update the plutus repo to match, I had tried starting the server, and it came up successfully.

**Tags:** plutus, plutus-pioneer-program
> **Comments:**
> **username_1**: unable to download - this error indicates that there might be an issue with the Internet connection and the tar is broken. Kindly check it again.  
> **username_0**: Quite possibly.  As now, when I am trying to do nix-shell, it is failing to untar this same tar  file (as it must have got partially downloaded last time).  How to retrigger the redownload this file.  
> **username_0**: I tried ``` /bin/bash ../updatePlutus.sh```.  Still it is giving same error.  unpacking 'https://github.com/input-output-hk/hackage.nix/archive/6dba3997f6a39d51fe814d312b1a4b52838a8055.tar.gz'...  gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now error: program 'tar' failed with exit code 2 (use '--show-trace' to show detailed location information)  
> **username_0**: I finally did the entire installation again,  Cleaned up the vagrant VM and redid the steps. Able to compile EnglishAuction.hs in the playground!  Thanks for the help.  
> **username_1**: Please post the steps as answer. It will help other.  

---

## 0 answers

