Spaces:
Paused
Paused
# Print environment for debugging | |
echo "Starting Langfuse..." | |
echo "PORT: $PORT" | |
echo "HOSTNAME: $HOSTNAME" | |
echo "DATABASE_URL: $DATABASE_URL" | |
# Ensure the database directory exists | |
mkdir -p /tmp | |
# Debug: Check if required environment variables are set | |
if [ -z "$NEXTAUTH_SECRET" ] || [ -z "$SALT" ]; then | |
echo "ERROR: Missing critical environment variables" | |
exit 1 | |
fi | |
# Attempt to start the application with verbose logging | |
echo "Attempting to start Langfuse server..." | |
exec npm run start |