1. How I can manually create database and user for MineStoreCMS?

Make sure you have a database server installed on your server. You can use MySQL, MariaDB, or any other database server that is supported by MineStoreCMS.

To manually create a database and user for MineStoreCMS, follow the steps below:

# Log in to your database server
sudo mysql
CREATE DATABASE minestore;
CREATE USER 'minestore_user'@'%' IDENTIFIED BY 'YOUR_MYSQL_PASSWORD';
GRANT ALL PRIVILEGES ON minestore.* TO 'minestore_user'@'%';
FLUSH PRIVILEGES;

Replace minestore, minestore_user, and YOUR_MYSQL_PASSWORD with your desired database name, username, and password. If you host your Minecraft and database server on the same machine, you can use localhost instead of %.

2. How I can recreate the database and user for MineStoreCMS?

If you want to recreate the database and user for MineStoreCMS, follow the steps below:

# Log in to your database server
sudo mysql
DROP DATABASE minestore;
CREATE DATABASE minestore;
DROP USER 'minestore_user'@'%';
CREATE USER 'minestore_user'@'%' IDENTIFIED BY 'YOUR_MYSQL_PASSWORD';
GRANT ALL PRIVILEGES ON minestore.* TO 'minestore_user'@'%';
FLUSH PRIVILEGES;

3. ERR_TOO_MANY_REDIRECTS Issue (Cloudflare)

If you are using Cloudflare and facing ERR_TOO_MANY_REDIRECTS issue, it means, that you’re probably using “Flexible” Cloudflare mode and MineStore SSL certificate.

To resolve this issue, follow the steps below:

  1. Login to Cloudflare Account & Select the domain.
  2. Go to Pages > Rules
  3. Create a rule and fill it with your store URL with the /* at the end. Example: store.example.com/*.
  4. Set the “SSL” to “Full” mode for this rule.
  5. Save the rule.

4. How to get SSL Certificate for my domain?

You can get a free SSL certificate for your domain by using Let’s Encrypt or Cloudflare.

certbot --nginx

Follow the on-screen instructions to generate an SSL certificate for your domain.

5. My webstore is not loading after installation but I can access the admin panel.

If you can access the admin panel but the webstore is not loading, it means there is an issue with frontend application.

  1. Make sure you have SSL certificate installed on your server.
  2. Make sure you restarted VPS server after installation.
  3. Get logs from the frontend application to see the error by running the following command:
cd /var/www/minestore
service minestore_frontend status

If you can’t resolve the issue, you can ask for help in our Discord Support Server by providing the error logs.