Open Reverendissimo opened 1 month ago
copied the docker-compose.yml from gitub
rev@rev-gulp-test:~/gulp$ vi docker-compose.yml rev@rev-gulp-test:~/gulp$ cd /home/rev/gulp && docker compose up -d && gulp --reset-collab --reset-elastic gulpidx WARN[0000] The "ELASTIC_DATA" variable is not set. Defaulting to a blank string. WARN[0000] The "ELASTIC_PASSWORD" variable is not set. Defaulting to a blank string. WARN[0000] The "ELASTIC_USER" variable is not set. Defaulting to a blank string. WARN[0000] The "POSTGRES_DATA" variable is not set. Defaulting to a blank string. WARN[0000] The "POSTGRES_USER" variable is not set. Defaulting to a blank string. WARN[0000] The "POSTGRES_PASSWORD" variable is not set. Defaulting to a blank string. WARN[0000] The "POSTGRES_DB" variable is not set. Defaulting to a blank string. WARN[0000] The "POSTGRES_USER" variable is not set. Defaulting to a blank string. WARN[0000] The "POSTGRES_PASSWORD" variable is not set. Defaulting to a blank string. WARN[0000] The "POSTGRES_DB" variable is not set. Defaulting to a blank string. WARN[0000] The "ELASTIC_USER" variable is not set. Defaulting to a blank string. WARN[0000] The "ELASTIC_PASSWORD" variable is not set. Defaulting to a blank string. WARN[0000] The "EXTRA_ARGS" variable is not set. Defaulting to a blank string. invalid spec: :/var/lib/postgresql/data: empty section between colons
looks like POSTGRES_DATA is undefined docker-compose.yml
postgres: image: postgres
restart: always
networks:
- gulpnet
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- **${POSTGRES_DATA}:**/var/lib/postgresql/data
ports:
- 5432:5432
looks like the problem is in setup.sh if it goes to DEV environment it clones all the files if PROD it downloads the BARE MINIMUM... which is not enough (.env file not there, docker-compose.yml not there)
hola Padre, thanks for the issue! i do not have an ubuntu handy, i fixed the issue on endeavour (arch) and it was indeed the stuff you reported.
if this fixes the issue on others too, we can close this.
hi all, i've created a standard virtual machine 6.8.0-45-generic #45-Ubuntu Server 24.04.1 LTS updated upgraded ran the command in your guide:
curl https://raw.githubusercontent.com/mentat-is/gulp/refs/heads/develop/setup.sh | sudo bash
all successful. tried to start gulp with the command provided in the installation output (should be in the howto too imho)cd /home/rev/gulp && docker compose up -d && gulp --reset-collab --reset-elastic gulpidx
no configuration file provided: not found docker-compose.yml is not present and nowhere to be found in the system