# Updating Panel To Latest Version (v1.12.1)

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">This guide will inform you how to update your panel to the latest version of Pterodactyl. The current version is **v1.12.1.** You can return to this guide to run the same commands again when the panel is updated.</span>

##### <span data-darkreader-inline-color="" style="color: #000000;"><span style="text-decoration: underline;">**<span style="--darkreader-inline-color: #e8e6e3;">Panel Update </span>**</span><span style="--darkreader-inline-color: #e8e6e3;">**<u>Procedure</u>**</span></span>

<p class="callout danger"><span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">Do not continue if you have custom addons, themes or other features installed on the panel. This **will** remove them and return the panel to the default state. This is your warning, and if not adhered to, there's no return unless you have a backup of your panel.</span></p>

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">Login to your VPS/Dedicated server where your panel is hosted. We first will make a backup just in case we mess up anything. Run the commands below to make a full backup of the current live panel.</span>

```
cd /var/www
tar -zcvf panel-before-upgrade.tgz pterodactyl
```

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">We will now begin the update. Navigate to your panel's web directory, which is /var/www/pterodactyl.</span>

```bash
cd /var/www/pterodactyl
```

![](https://jasmeow.pics/hBAgKv.png)

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">Run the command below to begin the update.</span>

```
php artisan p:upgrade
```

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">The first question that is asked whether to download the latest archived version from Pterodactyl's GitHub store. Before typing **yes**, make sure it goes to the github.com/pterodactyl/panel/...etc link, as shown below.</span>

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">[![image-1624966372365.png](https://docs.jasmeowthecat.lgbt/uploads/images/gallery/2021-06/scaled-1680-/cnkn3kn2mhPAWrUN-image-1624966372365.png)](https://docs.jasmeowthecat.lgbt/uploads/images/gallery/2021-06/cnkn3kn2mhPAWrUN-image-1624966372365.png)</span>

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">The upgrade system will then state that the webserver user &amp; group should be www-data. If it is not picked up the right one, type no and then update it like the below. Do the same for the "Your webserver group..." as well.</span>

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">[![image-1624966565384.png](https://docs.jasmeowthecat.lgbt/uploads/images/gallery/2021-06/scaled-1680-/DMOYfaYVo6XXnsx5-image-1624966565384.png)](https://docs.jasmeowthecat.lgbt/uploads/images/gallery/2021-06/DMOYfaYVo6XXnsx5-image-1624966565384.png)</span>

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">[![image-1624966622397.png](https://docs.jasmeowthecat.lgbt/uploads/images/gallery/2021-06/scaled-1680-/2vJXXTwBYI3tKAJr-image-1624966622397.png)](https://docs.jasmeowthecat.lgbt/uploads/images/gallery/2021-06/2vJXXTwBYI3tKAJr-image-1624966622397.png)</span>

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">Finally, it will ask if you would like to being the upgrade process. Type **yes.**</span>

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">[![image-1624966726941.png](https://docs.jasmeowthecat.lgbt/uploads/images/gallery/2021-06/scaled-1680-/WFASyZqCAzSsJ2AU-image-1624966726941.png)](https://docs.jasmeowthecat.lgbt/uploads/images/gallery/2021-06/WFASyZqCAzSsJ2AU-image-1624966726941.png)</span>

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">The upgrade system will then continue and fill the screen with the process of upgrading of the new panel, set its permissions and other important steps. Once it's half way through, it will pause and ask you if you would like to run the migration the databases with new updated information. Type **yes.**</span>

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">[![image-1624966768731.png](https://docs.jasmeowthecat.lgbt/uploads/images/gallery/2021-06/scaled-1680-/kLkI7EdxUfUy6Z55-image-1624966768731.png)](https://docs.jasmeowthecat.lgbt/uploads/images/gallery/2021-06/kLkI7EdxUfUy6Z55-image-1624966768731.png)</span>

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">[![image-1624966960764.png](https://docs.jasmeowthecat.lgbt/uploads/images/gallery/2021-06/scaled-1680-/R4IU1Nu2I3ksNgfb-image-1624966960764.png)](https://docs.jasmeowthecat.lgbt/uploads/images/gallery/2021-06/R4IU1Nu2I3ksNgfb-image-1624966960764.png)</span>

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">The panel upgrade is now complete. </span>

##### <span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">**<span style="text-decoration: underline;">Wings Update Procedure</span>** </span>

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">To upgrade wings, which is the daemon which runs the servers, copy the commands below on all your nodes which are linked to your panel. </span>

```
systemctl stop wings
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64
chmod u+x /usr/local/bin/wings
systemctl restart wings
```

<span data-darkreader-inline-color="" style="color: #000000; --darkreader-inline-color: #e8e6e3;">Your wings update is now complete.</span>