MKDIR /Users/jasper/easyengine/services/nginx-proxy: permission denied


#1

Getting

01-02-2019 07:38:42] ee.DEBUG: -----------------------  
 Starting services_global-nginx-proxy_1 ... error  ERROR: for services_global-nginx-proxy_1  
Cannot start service global-nginx-proxy: error while creating mount source path '/Users/jasper/easyengine/services/nginx-proxy/conf.d': mkdir /Users/jasper/easyengine/services/nginx-proxy: 
permission denied  ERROR: for global-nginx-proxy  Cannot start service global-nginx-proxy:
 error while creating mount source path '/Users/jasper/easyengine/services/nginx-proxy/conf.d': mkdir /Users/jasper/easyengine/services/nginx-proxy: permission denied Encountered errors while bringing up the project.   

setting up EasyEngine on a Digital Ocean Droplet with Ubuntu 18.0.4 using command sudo ee site create domain.com --type=wp from my Mac with EasyEngine installed using Homebrew.

Any ideas why? Using sudo here… But perhaps it is a remote server issue?


#2

Decided to not use sudo and just my MacOs user and all was installed. .com cannot be used locally without some work and .test would be better, but I sort of thought the remote server would be provisioned / setup this way?


#3

Well, I guess it set things up where you run the command. So removed site and remaining containers. Then installed a .test . Went well again and containers are running:

docker ps
NAMES                           IMAGE                           CREATED ago              STATUS              COMMAND                  SIZE
ee-cron-scheduler               easyengine/cron:v4.0.0          About a minute ago ago   Up About a minute   "/usr/bin/ofelia dae…"   0B
imagewizetest_nginx_1           easyengine/nginx:v4.0.0         2 minutes ago ago        Up 2 minutes        "/usr/bin/openresty …"   0B
imagewizetest_php_1             easyengine/php:v4.0.0           2 minutes ago ago        Up 2 minutes        "docker-entrypoint.s…"   0B
imagewizetest_postfix_1         easyengine/postfix:v4.0.0       2 minutes ago ago        Up 2 minutes        "postfix start-fg"       0B
services_global-db_1            easyengine/mariadb:v4.0.0       15 minutes ago ago       Up 2 minutes        "docker-entrypoint.s…"   0B
services_global-nginx-proxy_1   easyengine/nginx-proxy:v4.0.1   15 minutes ago ago       Up 2 minutes        "/app/docker-entrypo…"   0B

but the site cannot be reached locally…

And when you disable to site some containers remain:

 ee site disable imagewize.test
Disabling site imagewize.test.
Success: Site imagewize.test disabled.
services @ MacMini [jasper] $ docker ps
NAMES                           IMAGE                           CREATED ago          STATUS              COMMAND                  SIZE
ee-cron-scheduler               easyengine/cron:v4.0.0          3 minutes ago ago    Up 3 minutes        "/usr/bin/ofelia dae…"   0B
services_global-db_1            easyengine/mariadb:v4.0.0       17 minutes ago ago   Up 4 minutes        "docker-entrypoint.s…"   0B
services_global-nginx-proxy_1   easyengine/nginx-proxy:v4.0.1   17 minutes ago ago   Up 4 minutes        "/app/docker-entrypo…"   0B

why is that?

Stoppped them:

services @ MacMini [jasper] $ docker container stop ee-cron-scheduler
ee-cron-scheduler
services @ MacMini [jasper] $ docker container stop services_global-nginx-proxy_1
services_global-nginx-proxy_1
services @ MacMini [jasper] $ docker container stop services_global-db_1

#4

Did 18.04. Ubuntu Droplet on Digital Ocean, added sudo user and then set up a WordPress site. Working now which is awesome. Only a bit slow somehow, but not sure if that is my connection or the fact I had a one click WordPress install before and browser cache getting into the way. Anyways, all good for now.


#5

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.