a year ago
ERROR: invalid key-value pair "= STRIPEPUBLISHABLEKEY=": empty key
I keep getting an empty key on the build
ERROR: invalid key-value pair "= STRIPEPUBLISHABLEKEY= (key does appear here and in linea aftr the following message appears)
: empty key
Error: Docker build failed.
ⓘ Deployment information is only viewable by Project members and Railway admins.
9 Replies
a year ago
Nixpacks. I am using the django redis postgres template . Djangorp
[Region: us-west1]
==============
Using Nixpacks
==============
context: 15376b0f253394c8f11fd64620132c47
╔══════════════════════════════ Nixpacks v1.21.2 ══════════════════════════════╗
║ setup │ python310, postgresql, libmysqlclient.dev, gcc ║
║──────────────────────────────────────────────────────────────────────────────║
║ install │ python -m venv --copies /opt/venv && . /opt/venv/bin/activate ║
║ │ && pip install -r requirements.txt ║
║──────────────────────────────────────────────────────────────────────────────║
║ start │ python manage.py run_huey & python manage.py migrate && python ║
║ │ manage.py collectstatic --noinput && gunicorn mysite.wsgi ║
╚══════════════════════════════════════════════════════════════════════════════╝
ERROR: invalid key-value pair "= STRIPEPUBLISHABLEKEY=": empty key
Error: Docker build failed
a year ago
Do you have time for a zoom call? https://us05web.zoom.us/j/82713642095?pwd=BUq7XOEb1kXFd0ZjXRAzbUC3E2UWJI.1
a year ago
No sorry, I am not able to offer that level of support as I am just a community member.
a year ago
previously on the raw editor environment variable looked like this:
STRIPEPUBLISHABLEKEY= Key-here
change to this:
STRIPEPUBLISHABLEKEY=${{Key-here}}
Now deployment was succesful.
Status changed to Solved railway[bot] • over 1 year ago