Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dotenv values containing spaces must be surrounded by quotes #398

Open
binerf opened this issue Jan 22, 2021 · 1 comment
Open

Dotenv values containing spaces must be surrounded by quotes #398

binerf opened this issue Jan 22, 2021 · 1 comment

Comments

@binerf
Copy link

binerf commented Jan 22, 2021

Describe the bug
Cannot start CachetHQ via docker-compose.

cachet_1  | + checkdbinitmysql
cachet_1  | 
cachet_1  | + table=sessions
cachet_1  | ++ mysql -N -s -h 172.17.0.1 -u cachet -ppassword cachet -P 3306 -e 'select count(*) from information_schema.tables where             table_schema='\''cachet'\'' and table_name='\''chq_sessions'\'';'
cachet_1  | + [[ 0 -eq 1 ]]
cachet_1  | + echo 'Table chq_sessions does not exist! ...'
cachet_1  | + init_db
cachet_1  | + echo 'Initializing Cachet database ...'
cachet_1  | Table chq_sessions does not exist! ...
cachet_1  | Initializing Cachet database ...
cachet_1  | + php artisan cachet:install --no-interaction
cachet_1  | The environment file is invalid: Dotenv values containing spaces must be surrounded by quotes.

Environment

  • Ubuntu server
  • git pull done

Used app version
Docker release of Cachet (v.2.4 in docker-compose.yml file)

@TobiTenno
Copy link

I have the same issue
my errors are also pretty unhelpful:

cachet_1    | Initializing Cachet container ...
cachet_1    | Attempting to connect to database ...
cachet_1    | 
cachet_1    | Table chq_sessions does not exist! ...
cachet_1    | Initializing Cachet database ...
cachet_1    | The environment file is invalid: Dotenv values containing spaces must be surrounded by quotes.cachetdocker_cachet_1 exited with code 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants