You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a hard time to make pyspur running in docker. Only the pyspur-Backend package refuses to run, the to others seem to run normally (green status).
I have to say I am a total noob with docker (first time launching).
I want to run PysPur with Ollama only (HOST env variable set to 0.0.0.0). I'm running on Windows 11.
Here's the log error concerning Pyspur-Backend, repeating again and again ->
2024-12-25 15:16:06 /pyspur/entrypoint.sh: line 2: $'\r': command not found
2024-12-25 15:16:06 /pyspur/entrypoint.sh: line 11: syntax error near unexpected token $'{\r'' 2024-12-25 15:16:06 /pyspur/entrypoint.sh: line 11: check_for_changes() {
Any clue to resolve this issue ?
The text was updated successfully, but these errors were encountered:
I had the same error on Windows. It happens, when git automatically converts the Line Endings to Windows format.
How to fix it using Visual Studio code:
Steps to Convert Line Endings to Unix Style in VS Code
Open the File:
Open your entrypoint.sh script in VS Code.
Check the Line Endings:
At the bottom-right corner of the VS Code window, you'll see a status bar showing the current line ending format (e.g., CRLF for Windows or LF for Unix).
If it says CRLF, this indicates Windows-style line endings.
Change the Line Endings:
Click on the CRLF text in the status bar.
A pop-up will appear with options like:
LF (Unix)
CRLF (Windows)
Select LF to switch to Unix-style line endings.
Save the File:
After selecting LF, save the file (Ctrl+S or Cmd+S on macOS).
This happens because of a git config on you local git installation
Run the following command to check the current configuration:
git config --get core.autocrlf
Possible Values:
true: Converts LF to CRLF on checkout and CRLF back to LF on commit.
false: Does not perform any conversion.
input: Converts CRLF to LF on commit but does not modify files on checkout.
Change the Line Ending Behavior
Option A: Set Globally
To disable automatic line ending conversion globally:
git config --global core.autocrlf false
Option B: Set for a Specific Repository
To apply the setting only to the current repository:
Hi @yotraxxx@cgerlfunkenwerfer we just shipped our first release and official pyspur docker images along with it. These images come with app code embedded in them and thus should be able to run on windows machine too.
Can you checkout latest code and follow the quick start steps to see if it works for you now?
Specifically, you can use docker-compose.prod.yml to launch the app with pyspur docker images (instead of building them on the fly like before)
Hi Pyspur team !
I have a hard time to make pyspur running in docker. Only the pyspur-Backend package refuses to run, the to others seem to run normally (green status).
I have to say I am a total noob with docker (first time launching).
I want to run PysPur with Ollama only (HOST env variable set to 0.0.0.0). I'm running on Windows 11.
Here's the log error concerning Pyspur-Backend, repeating again and again ->
2024-12-25 15:16:06 /pyspur/entrypoint.sh: line 2: $'\r': command not found
2024-12-25 15:16:06 /pyspur/entrypoint.sh: line 11: syntax error near unexpected token
$'{\r'' 2024-12-25 15:16:06 /pyspur/entrypoint.sh: line 11:
check_for_changes() {Any clue to resolve this issue ?
The text was updated successfully, but these errors were encountered: