Skip to content

Commit e4d908e

Browse files
authored
Merge branch 'master' into add-livestack
2 parents 46ebb62 + 4587bd9 commit e4d908e

File tree

5 files changed

+51
-2
lines changed

5 files changed

+51
-2
lines changed

docs/best-practices/database/how-to-run-rabbitmq-on-hypernode.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ hypernode-servicectl restart rabbitmq-server
6161
- The default admin account is username `guest` and password `guest`. You can change and add users via the admin interface.
6262
- You can access the admin interface e.g. by forwarding the tcp port via SSH:
6363

64-
`ssh app@appname.hypernode.io -L 55672:localhost:15672`
64+
```bash
65+
ssh app@appname.hypernode.io -L 55672:localhost:15672
66+
```
6567

6668
Use your browser to go to `localhost:55672` and logon using guest/guest.
6769

docs/hypernode-deploy/applications/config-for-magento-2.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,19 @@ return $configuration;
1717

1818
By using the Magento2 ApplicationTemplate, a bunch of default configuration gets set in Hypernode Deploy, and should work out-of-the-box for most magento 2 stores.
1919

20+
## Common issues
21+
22+
### Error: The default website isn't defined. Set the website and try again.
23+
24+
When this error is thrown, please assure the `app/etc/config.php` has the keys `scopes` and `themes`. This is needed for the deployment software to be aware of what themes are installed without a database present (during pipeline run).
25+
26+
You can fix this by running the following command and then commiting the result to your codebase:
27+
28+
```console
29+
$ php bin/magento app:config:dump scopes themes
30+
Done. Config types dumped: scopes, themes
31+
```
32+
2033
## Advanced
2134

2235
However, for advanced configurations you can override most steps and variables set my Hypernode Deploy:

docs/hypernode-platform/mysql/how-to-use-phpmyadmin.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,39 @@ This article will explain how you can use PHPMyAdmin and how to create a databas
2121

2222
PHPMyAdmin comes preinstalled on your Hypernode at <http://example.hypernode.io/phpmyadmin/>. In order to reduce brute force attacks, it is not accessible via any other domains names linked to your Hypernode.
2323

24+
### Enabling PHPMyAdmin
25+
26+
By default, PHPMyAdmin is disabled. You can enable it by:
27+
28+
1. Enabling the PHPMyAdmin feature
29+
1. Adding an allowlist entry
30+
31+
This can be done in both the Control Panel and the CLI.
32+
33+
#### Enabling PHPMyAdmin in the Control Panel
34+
35+
To enable PHPMyAdmin in the Control Panel, go to [the Control Panel](https://my.hypernode.com) and follow the steps below:
36+
37+
1. Go to Settings and open the Security tab.
38+
1. Enable the **Enable PHPMyAdmin** option.
39+
1. Click **Save changes**.
40+
1. Go to **Allowlist**.
41+
1. Choose **phpmyadmin** as rule type.
42+
1. Enter an IP address.
43+
1. Enter a description.
44+
1. Click **Add allowlist rule**.
45+
46+
It takes a few minutes for the changes to be applied.
47+
48+
#### Enabling PHPMyAdmin in the CLI
49+
50+
To enable PHPMyAdmin in the CLI, log in to your Hypernode over SSH and run the following commands:
51+
52+
```console
53+
app@abcdef-example-magweb-cmbl:~$ hypernode-systemctl settings phpmyadmin_enabled True
54+
app@abcdef-example-magweb-cmbl:~$ hypernode-systemctl whitelist add phpmyadmin 1.2.3.4 --description 'Example entry'
55+
```
56+
2457
### Credentials
2558

2659
PHPMyAdmin uses the same user and password your database uses. You can find them safely stored on your hypernode in `/data/web/.my.cnf`.

docs/hypernode-platform/nginx/how-to-configure-nginx-for-a-multistore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ When you opt for using different domains for each storefront then it will be rel
3636
set $storecode "example_storecode";
3737
```
3838

39-
```{note}
39+
```{important}
4040
If you have a multistore, with hypernode-manage-vhost enabled AND you are using Varnish.
4141
You'd have to prefix the file with `varnish` instead of `server`, like `varnish.storecode`.
4242
This way these multistore requests will go through varnish and will then be rewritten accordingly with the `varnish.storecode` configuration.

docs/hypernode-platform/tools/how-to-use-the-hypernode-systemctl-cli-tool.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ To see which values you can set and which values they are allowed to have take a
5858
| **php_legacy_serialize_precision_enabled**<br/><sub></sub> | True | True, False |
5959
| **php_version**<br/><sub>Change the PHP version</sub> | 8.3 | 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 |
6060
| **php_xdebug_enabled**<br/><sub>Enable Xdebug for remote debugging</sub> | False | True, False |
61+
| **phpmyadmin_enabled**<br/><sub>Enable PHPMyAdmin</sub> | False | True, False |
6162
| **rabbitmq_delayed_message_exchange_enabled**<br/><sub></sub> | False | True, False |
6263
| **rabbitmq_enabled**<br/><sub>A popular open source message broker</sub> | False | True, False |
6364
| **redis_eviction_policy**<br/><sub></sub> | volatile-lru | noeviction<br />allkeys-lru<br />allkeys-lfu<br />volatile-lru<br />volatile-lfu<br />allkeys-random<br />volatile-random<br />volatile-ttl |

0 commit comments

Comments
 (0)