Undefined function fromYaml in the nginx.tmpl - docker-gen-auto exit
              
              #401
            
            
              
                Unanswered
              
          
                  
                    
                      mhdshakouri
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments 2 replies
-
| Hi @mhdshakouri, What distribution are you using? Can you send the logs you got from running fresh-start.sh? It is in local folder or /var/log/basescript. | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            -
| Fixed it for me | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @evertramos
I was trying to setup the
nginx-proxy-automationon my new server but after pulling the package and executing the./fresh-start.sh, thedocker-gen-autostopped and exited (and with only two running containers remaining - proxy-web-auto and letsencrypt-auto). Upon checking the Docker Compose logs, I founded the following error:Unable to parse template: template: nginx.tmpl:572: function "fromYaml" not definedSo I had to use the previous version of the code (which I pulled a few months ago on another server, then used the fresh-start.sh), and now, it's working well.
Is this a real bug or did I make a mistake during the set up process?
Regards
Beta Was this translation helpful? Give feedback.
All reactions