How can we help you today?

How to Install Shopware 6 on Hypernode

Created by: Rens Zuurbier

Modified on: Tue, 30 Jun, 2020 at 11:38 AM


This article will explain how you can setup the latest version of Shopware 6 on Hypernode as easy as possible. Shopware 6 requires a Hypernode Professional S hosting plan or larger

TABLE OF CONTENTS

Upgrade Your PHP Version

Shopware 6 need at least PHP version 7.2 to be able to run. So the first thing to do is upgrade your PHP version to 7.2 with the following command:

hypernode-systemctl settings php_version --value 7.2

Change the MySQL Version to 5.7

Shopware 6 needs MySQL 5.7 to be able to run. You can change the MySQL version by running the following command:


hypernode-systemctl settings mysql_version --value 5.7

Install Node.js v10.16

wget https://nodejs.org/dist/v10.16.0/node-v10.16.0-linux-x64.tar.xz
tar xvfJ node-v10.16.0-linux-x64.tar.xz
mv node-v10.16.0-linux-x64 ~/.node
rm node-v10.16.0-linux-x64.tar.xz
mkdir -p ~/.local/bin
for f in ~/.node/bin/*; do ln -s $f ~/.local/bin/`basename $f`; done
ln -s /data/web/.local/bin/node{,js}
source ~/.profile

Download and Install the Latest Version of Shopware 6

Download the latest Shopware 6 version to the public folder from the Shopware website by right clicking on "Download for free" click on "Copy Link Address" and paste the link after the wget command below.


mkdir shopware
cd shopware
wget https://releases.shopware.com/sw6/install_6.0.0_ea2_1571125323.zip

# Unzip the downloaded .zip file
unzip install_6.0.0_ea2_1571125323.zip

# Enable secure document root
cd ~
rm -rf /data/web/public
ln -s /data/web/shopware/public/ /data/web/public

Install Shopware 6

Now open your browser and browse to https://APPNAME.hypernode.io/recovery/install/index.php. At this point you can follow the guide through your browser. Make sure to fill in the right details at the Configure database:

Database server: localhost
Database user: app
Database password: run cat ~/.my.cnf in your terminal and copy that password.
Database name: Select your database
Select "new database", and pick a name you like

  • Fill in the Basic shop set-up how you see fit.

Done! You’ve now successfully installed Shopware 5.

Demo data
If you’d like you could install demo data as well. To do this you’ll need to login the backend: http://APPNAME.hypernode.io/backend/ with the credentials you entered during the step: Basic shop set-up at the installation. At your first login you’ll see the “First Run Wizard”, make sure to install the Demo data at the “Demo data” menu.

R
Rens is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.