You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the command above doesn't return anything you most likely have wrong permissions for your `storage` folder. So you first need to fix that.
19
+
<details>
20
+
<summary>Common errors</summary>
21
+
22
+
*`ErrorException: file_put_contents(_____): failed to open stream: Permission denied`: Wrong file permissions/ ownership for the panel files, see [below](#wrong-file-permissions).
23
+
*`502 Bad Gateway Error`: Make sure that php-fpm is running and that you are using the correct php version in your webserver config.
24
+
*`CSRF token mismatch`: Enable SSL for your Panel with HTTPS protocol scheme in the `APP_URL`, or set `SESSION_SECURE_COOKIE` to `false` in your `.env` file.
25
+
*`Connection refused [tcp://_______:6379]`: Redis isn't running or isn't reachable for some other reason. (start by checking the status of the redis service: `systemctl status redis-server`)
26
+
*`SSL: no alternative certificate subject name matches target host name '_______'`: The used SSL certificate for your panel isn't valid for your panel domain, see [this guide](./guides/ssl) for creating a new SSL certificate.
27
+
*`General error: 8 attempt to write a readonly database`: Your `database.sqlite` has wrong file permissions and is read-only. Make sure the file is writable and owned by the correct user.
28
+
*`Class '_____' not found`: This usually means you are missing php extensions. Make sure [all needed extensions](./panel/getting-started#dependencies) are installed and that you are using the correct php version.
29
+
*`Connection timed out after 5001 milliseconds for _______:8080`: Your panel can't reach wings, see the wings connection issues steps below.
30
+
</details>
31
+
32
+
### Wrong file permissions
33
+
34
+
If the command above doesn't return anything, you most likely have incorrect file permissions . So you first need to fix that.
20
35
You can set the correct permissions by running `sudo chmod -R 755 /var/www/pelican/storage/* /var/www/pelican/bootstrap/cache/`. Also make sure that your panel files are owned by the correct user.
21
36
22
37
<TabsgroupId="webserver">
@@ -37,19 +52,6 @@ You can set the correct permissions by running `sudo chmod -R 755 /var/www/pelic
37
52
</TabItem>
38
53
</Tabs>
39
54
40
-
<details>
41
-
<summary>Common errors</summary>
42
-
43
-
*`ErrorException: file_put_contents(_____): failed to open stream: Permission denied`: Wrong file permissions/ ownership for the panel files, see above.
44
-
*`502 Bad Gateway Error`: Make sure that php-fpm is running and that you are using the correct php version in your webserver config.
45
-
*`CSRF token mismatch`: Enable SSL for your Panel with HTTPS protocol scheme in the APP_URL, or set `SESSION_SECURE_COOKIE` to `false` in your `.env` file.
46
-
*`Connection refused [tcp://_______:6379]`: Redis isn't running or isn't reachable for some other reason. (start by checking the status of the redis service: `systemctl status redis-server`)
47
-
*`SSL: no alternative certificate subject name matches target host name '_______'`: The used SSL certificate for your panel isn't valid for your panel domain, see [this guide](./guides/ssl) for creating a new SSL certificate.
48
-
*`General error: 8 attempt to write a readonly database`: Your `database.sqlite` has wrong file permissions and is readonly. Make sure the file is writeable and owned by the correct user.
49
-
*`Class '_____' not found`: This usually means you are missing php extensions. Make sure [all needed extensions](./panel/getting-started#dependencies) are installed and that you are using the correct php version.
50
-
*`Connection timed out after 5001 miliseconds for _______:8080`: Your panel can't reach wings, see the wings connection issues steps below.
0 commit comments