Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. OpenWebUI
  3. OpenWebUI Error after Updating - Bad file '-': yalm: found invalid Unicode character.

OpenWebUI Error after Updating - Bad file '-': yalm: found invalid Unicode character.

Scheduled Pinned Locked Moved Unsolved OpenWebUI
9 Posts 3 Posters 100 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jagan
    wrote last edited by
    #1

    Hi, I am unable to update my OpenWebUI since version 0.6.11
    (it is 0.6.14 now).
    I get the following in the logs during update:

    Jun 11 15:16:10 => Copying static files
    Jun 11 15:16:10 => Enabling local ollama
    Jun 11 15:16:10 => Ensure directories
    Jun 11 15:16:10 => Loading configuration
    Jun 11 15:16:10 => Setting permissions
    Jun 11 15:16:10 Error: bad file '-': yaml: found invalid Unicode character escape code
    Jun 11 15:16:12 => Healtheck error: Error: connect EHOSTUNREACH 172.18.18.231:8080
    Jun 11 15:16:22 => Healtheck error: Error: connect EHOSTUNREACH 172.18.18.231:8080
    Jun 11 15:16:32 => Healtheck error: Error: connect EHOSTUNREACH 172.18.18.231:8080
    Jun 11 15:16:40 => Healtheck error: Error: connect EHOSTUNREACH 172.18.18.231:8080
    Jun 11 15:16:50 => Healtheck error: Error: connect EHOSTUNREACH 172.18.18.231:8080
    Jun 11 15:17:00 => Healtheck error: Error: connect EHOSTUNREACH 172.18.18.231:8080
    Jun 11 15:17:10 => Ensure directories
    Jun 11 15:17:10 => Copying static files
    Jun 11 15:17:10 => Loading configuration
    Jun 11 15:17:10 => Enabling local ollama
    Jun 11 15:17:10 => Setting permissions
    Jun 11 15:17:11 Error: bad file '-': yaml: found invalid Unicode character escape code
    Jun 11 15:17:12 => Healtheck error: Error: connect EHOSTUNREACH 172.18.18.231:8080


    I would be grateful for any assistance or pointers please.
    Thank you!

    1 Reply Last reply
    0
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @jagan
      Thanks for reporting. I am looking into it.

      1 Reply Last reply
      0
      • jamesJ Offline
        jamesJ Offline
        james
        Staff
        wrote last edited by
        #3

        Hello @jagan
        Can you please provide the content of your /app/data/env.sh file of the Open Web UI app where it is failing?

        J 1 Reply Last reply
        0
        • jamesJ james moved this topic from Support
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by james
          #4

          I'm installing the Open Web UI Cloudron Package Version 2.14.3 which has the version open-webui to 0.6.11 you mentioned and testing to upgrade to new newest version to see if I can reproduce your issue.


          2.14.8	6/12/2025, 3:24:14 PM	
          2.14.7	6/12/2025, 3:20:36 PM	
          2.14.6	6/12/2025, 3:13:52 PM	
          2.14.3	6/12/2025, 2:53:06 PM
          

          Could not reproduce the issue you described.
          You need to provide your /app/data/env.sh.

          1 Reply Last reply
          0
          • jamesJ james

            Hello @jagan
            Can you please provide the content of your /app/data/env.sh file of the Open Web UI app where it is failing?

            J Offline
            J Offline
            jagan
            wrote last edited by
            #5

            @james
            Thanks for having a look.
            Here is the .env file

            # Change this to false to disable local ollama and use your own
            export LOCAL_OLLAMA_ENABLED=true
            
            # When using remote ollama, change this to the ollama's base url
            # export OLLAMA_BASE_URL="https://<remote-ollama>"
            
            # When local ollama is enabled, this is location for the downloaded models.
            # If the path is under /app/data, models will be backed up. Note that models
            # can be very large. To skip backup of models, move the models to a volume (https://docs.cloudron.io/volumes/)
            export OLLAMA_MODELS=/app/data/ollama-home/models
            # export OLLAMA_MODELS=/media/ollama-vol/models
            
            1 Reply Last reply
            0
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote last edited by
              #6

              The error indicates a broken .yaml file containing unsupported unicode characters. Since the app package itself does not contain any .yaml files for configuration, this is quite strange. Maybe some ollama model files are corrupt? If you disable local ollama ( in that .env file) does the app start?

              J 1 Reply Last reply
              1
              • nebulonN nebulon

                The error indicates a broken .yaml file containing unsupported unicode characters. Since the app package itself does not contain any .yaml files for configuration, this is quite strange. Maybe some ollama model files are corrupt? If you disable local ollama ( in that .env file) does the app start?

                J Offline
                J Offline
                jagan
                wrote last edited by
                #7

                @nebulon said in OpenWebUI Error after Updating - Bad file '-': yalm: found invalid Unicode character.:

                If you disable local ollama ( in that .env file) does the app start?

                Sure, I will check!

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  jagan
                  wrote last edited by
                  #8

                  I changed

                  export LOCAL_OLLAMA_ENABLED=true
                  

                  to

                  export LOCAL_OLLAMA_ENABLED=false
                  

                  And the application starts.

                  Shall I try updating it now?

                  1 Reply Last reply
                  0
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote last edited by
                    #9

                    Yes, you could also clone the app to test the update.

                    1 Reply Last reply
                    3
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search