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
 | 
			
		||||
  fi
 | 
			
		||||
  systemctl stop open-webui.service
 | 
			
		||||
  $STD npm install
 | 
			
		||||
  $STD npm install --force
 | 
			
		||||
  export NODE_OPTIONS="--max-old-space-size=3584"
 | 
			
		||||
  $STD npm run build
 | 
			
		||||
  cd ./backend
 | 
			
		||||
 
 | 
			
		||||
@@ -40,7 +40,7 @@ ENV=prod
 | 
			
		||||
ENABLE_OLLAMA_API=false
 | 
			
		||||
OLLAMA_BASE_URL=http://0.0.0.0:11434
 | 
			
		||||
EOF
 | 
			
		||||
$STD npm install
 | 
			
		||||
$STD npm install --force
 | 
			
		||||
export NODE_OPTIONS="--max-old-space-size=3584"
 | 
			
		||||
$STD npm run build
 | 
			
		||||
msg_ok "Installed Open WebUI"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user