If you use Sublime Text on Windows or Mac to edit your scripts:Ĭlick on View > Line Endings > Unix and save the file again. Trouble Shooting Guide docker logs (postgres:10.5-alphine docker container) "/bin/bash^m: bad interface: no such file or directory" error when it occurs $/home/victor docker-compose up -d (install and run the update version)Ĭonnect "protopie URL" from browser (IE, Chrome) $/home/victor docker-compose rm (delete service) Image: protopie/enterprise-onpremises:api-2021.1.1 => image: protopie/enterprise-onpremises:api-9.18.2 Image: protopie/enterprise-onpremises:web-2021.1.1 => image: protopie/enterprise-onpremises:web-9.18.2 Navigate to the path of the protopie file in Windows Explorer (e.g.=> (c:\local\lib\protopie)įind, modify, and save the following parts upload protopie_api_1:/app/Ĭat ]/protopie_db_xxx.sql | docker exec -i app_db_1 psql -U protopie_w protopie update How to update ProtoPie On-Premises (Windows) Pg_data: where the database data is stored.ĭocker exec protopie_db_1 pg_dump -c -U protopie_r protopie > ]/protopie_db_ date %y%m%d%H%M%S.sqlĭocker cp ] protopie_api_1:/app/Įx: docker cp. api_upload: where a Pie has been uploaded to.ĭocker cp protopie_api_1:/app/upload ].If you want create a backup, see the docker volumes below for what you need to copy. ![]() It's needed to check for available disk space and create backups in case of unexpected issues. ![]() Uploaded Pies with images and database data would use the most disk space. If the versions are mismatched, requests from web will return a response with an error message. Therefore, make sure that web and api versions have a matching minor version (not patch version). These are coupled tightly but isolated as a service. enterprise-web-1.0.2 / enterprise-api-1.1.2 (X)Īs you might have noticed from the docker-compose services name, web sends requests to api to get data and shows in page.Hence, in case of version downgrading, api might raise an error due to a migrated db scheme. Because each major or minor version updates may contain changes in the db scheme, every time api checks it while bootstrapping and api will try to migrate db if a version update contains changes in the db scheme. Note that in case of api, ProtoPie Enterprise may not work well with version downgrading. So if you are on windows, recommend that using Docker for Windows with hyper-v to run linux container on windows. Servers : http: # ex : update: For Windows Execute below command to run the containers in the background via docker-compose. Once you have edited the aforementioned files, you are ready to up the docker containers in docker-compose.yml and run ProtoPie Enterprise. db.env that has two parts of configurations root user and protopie db for initial db to create user and database. The xxx.env files represent environment variables in the application. mail.smtp: SMTP configuration to send emails.servers.http: The URL that ProtoPie Enterprise runs on.The config.yml file holds the basic configurations of ProtoPie Enterprise. Move the license.pem file to the same directory as docker-compose.yml. Open the following files, follow the steps below, and edit these files accordingly, before getting ProtoPie Enterprise up and running. Note that please login with your Docker ID via docker login to pull these docker images from docker hub. ProtoPie Enterprise is composed of four services as docker images in Docker Compose. ![]()
0 Comments
Leave a Reply. |