-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #892 from plone/deployment-troubleshooting
Deployment troubleshooting
- Loading branch information
Showing
4 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,4 +39,5 @@ project-edit | |
server-setup | ||
deploy | ||
virtual-host | ||
troubleshoot | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -168,7 +168,7 @@ git remote add origin [email protected]:<your-github-username>/ploneconf2024.git | |
git branch -M main | ||
``` | ||
|
||
### 4. Push to GitHub | ||
### 5. Push to GitHub | ||
|
||
Push your commits to the remote repository hosted on GitHub. This command will trigger the GitHub Actions that test the codebase and | ||
generate Docker images for the Backend and for the Frontend. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
myst: | ||
html_meta: | ||
"description": "Troubleshoot Plone Deployment issues" | ||
"property=og:description": "Troubleshoot Plone Deployment issues" | ||
"property=og:title": "Troubleshoot Plone Deployment issues" | ||
"keywords": "Plone, Deployment, Stack, Configuration, Guide, Troubleshoot" | ||
--- | ||
|
||
# Troubleshoot deployment issues | ||
|
||
This page offers some tips to troubleshoot the Plone Deployment Training. | ||
|
||
## Docker `Could not create directory.` | ||
|
||
Docker requires sufficient virtual disk space to install and build images. | ||
A typical error message may be `Could not create directory.` or anything else that mentions writing to the image. | ||
To resolve this, use an appropriate `docker system prune` option, such as `docker system prune -a`. | ||
|
||
```{seealso} | ||
[`docker system prune`](https://docs.docker.com/engine/reference/commandline/system_prune/) | ||
``` | ||
|
||
You can also configure settings for Docker Desktop. | ||
Under {menuselection}`Prefences --> Resources --> Advanced`, you can configure appropriate settings for virtual disk limit and memory. | ||
|
||
```{seealso} | ||
- [Change Docker Desktop settings](https://docs.docker.com/desktop/settings-and-maintenance/settings/) | ||
``` | ||
|
||
|
||
## Docker memory usage | ||
|
||
Docker requires sufficient memory to install and build images. | ||
2GB of RAM is usually sufficient. | ||
See the previous section for settings details. |