mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	fix openwebui install/update scripts (#6093)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							c2c2e4030e
						
					
				
				
					commit
					ccdf6a4aec
				
			@@ -57,7 +57,7 @@ function update_script() {
 | 
				
			|||||||
    exit
 | 
					    exit
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
  systemctl stop open-webui.service
 | 
					  systemctl stop open-webui.service
 | 
				
			||||||
  $STD npm install
 | 
					  $STD npm install --force
 | 
				
			||||||
  export NODE_OPTIONS="--max-old-space-size=3584"
 | 
					  export NODE_OPTIONS="--max-old-space-size=3584"
 | 
				
			||||||
  $STD npm run build
 | 
					  $STD npm run build
 | 
				
			||||||
  cd ./backend
 | 
					  cd ./backend
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -40,7 +40,7 @@ ENV=prod
 | 
				
			|||||||
ENABLE_OLLAMA_API=false
 | 
					ENABLE_OLLAMA_API=false
 | 
				
			||||||
OLLAMA_BASE_URL=http://0.0.0.0:11434
 | 
					OLLAMA_BASE_URL=http://0.0.0.0:11434
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
$STD npm install
 | 
					$STD npm install --force
 | 
				
			||||||
export NODE_OPTIONS="--max-old-space-size=3584"
 | 
					export NODE_OPTIONS="--max-old-space-size=3584"
 | 
				
			||||||
$STD npm run build
 | 
					$STD npm run build
 | 
				
			||||||
msg_ok "Installed Open WebUI"
 | 
					msg_ok "Installed Open WebUI"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user