-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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
[Bug] #6674
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Hey @DannyJanmaat! I'm here to help you with bug fixes, answer questions, and guide you on becoming a contributor. Let's tackle this issue together while we wait for a human maintainer. To resolve the "Invalid interpolation format for 'entrypoint' option in service 'minio'" error, ensure that all environment variables used in the In the entrypoint: >
/bin/sh -c "
minio server /etc/minio/data --address ':${MINIO_PORT}' --console-address ':9001' &
MINIO_PID=\$!
while ! curl -s http://localhost:${MINIO_PORT}/minio/health/live; do
echo 'Waiting for MinIO to start...'
sleep 1
done
sleep 5
mc alias set myminio http://localhost:${MINIO_PORT} ${MINIO_ROOT_USER} ${MINIO_ROOT_PASSWORD}
echo 'Creating bucket ${MINIO_LOBE_BUCKET}'
mc mb myminio/${MINIO_LOBE_BUCKET}
wait \$MINIO_PID
" Check that the following variables are defined in your
Ensure there are no syntax errors or missing values in the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
To resolve the "Invalid interpolation format for 'entrypoint' option in service 'minio'" error, ensure that all environment variables used in the In the entrypoint: >
/bin/sh -c "
minio server /etc/minio/data --address ':${MINIO_PORT}' --console-address ':9001' &
MINIO_PID=\$!
while ! curl -s http://localhost:${MINIO_PORT}/minio/health/live; do
echo 'Waiting for MinIO to start...'
sleep 1
done
sleep 5
mc alias set myminio http://localhost:${MINIO_PORT} ${MINIO_ROOT_USER} ${MINIO_ROOT_PASSWORD}
echo 'Creating bucket ${MINIO_LOBE_BUCKET}'
mc mb myminio/${MINIO_LOBE_BUCKET}
wait \$MINIO_PID
" Check that the following variables are defined in your
Ensure there are no syntax errors or missing values in the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
📦 Platform
Self hosting Docker
📦 Deploymenet mode
server db(lobe-chat-database image)
📌 Version
v1.68.3
💻 Operating System
Windows
🌐 Browser
Edge
🐛 Bug Description
Windows 11 Enterprise.
WSL-2 Ubuntu. Latest updates. Clean install.
https://github.com/lobehub/lobe-chat/blob/main/docker-compose/setup.sh
docker-compose up -d
ERROR: Invalid interpolation format for "entrypoint" option in service "minio": "/bin/sh -c "
minio server /etc/minio/data --address ':${MINIO_PORT}' --console-address ':9001' &
MINIO_PID=$!
while ! curl -s http://localhost:${MINIO_PORT}/minio/health/live; do
echo 'Waiting for MinIO to start...'
sleep 1
done
sleep 5
mc alias set myminio http://localhost:${MINIO_PORT} ${MINIO_ROOT_USER} ${MINIO_ROOT_PASSWORD}
echo 'Creating bucket ${MINIO_LOBE_BUCKET}'
mc mb myminio/${MINIO_LOBE_BUCKET}
wait $MINIO_PID
"
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
Solution:
#!/bin/bash
Create a backup of the original file
cp docker-compose.yml docker-compose.yml.backup
Change the name property to version and services
sed -i '1s/name: lobe-chat-database/version: '''3.8'''/' docker-compose.yml
Fix the dollar sign escaping in the minio service
sed -i 's/MINIO_PID=\$!/MINIO_PID=$$!/g' docker-compose.yml
sed -i 's/wait \$MINIO_PID/wait $$MINIO_PID/g' docker-compose.yml
Fix the dollar sign escaping in the lobe service
sed -i 's/LOBE_PID=\$!/LOBE_PID=$$!/g' docker-compose.yml$(wget/if [ $ $(wget/g' docker-compose.yml$(wget/if [ $ $(wget/g' docker-compose.yml
sed -i 's/wait \$LOBE_PID/wait $$LOBE_PID/g' docker-compose.yml
sed -i 's/if [
sed -i 's/printf.*%s''' \$(wget/printf '''%s''' $$(wget/g' docker-compose.yml
sed -i 's/{print \$4}/{print $$4}/g' docker-compose.yml
sed -i 's/if [
echo "Docker Compose file has been updated. A backup was saved as docker-compose.yml.backup"
The text was updated successfully, but these errors were encountered: