mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	Adds troubleshooting note for Kubernetes about needing to set the port again
This commit is contained in:
		
							parent
							
								
									5639659b63
								
							
						
					
					
						commit
						5fd394726e
					
				@ -317,3 +317,12 @@ Uploading or consuming multiple files at once results in many workers attempting
 | 
				
			|||||||
Consider changing to the PostgreSQL database if you will be processing many documents at once often.  Otherwise,
 | 
					Consider changing to the PostgreSQL database if you will be processing many documents at once often.  Otherwise,
 | 
				
			||||||
try tweaking the ``PAPERLESS_DB_TIMEOUT`` setting to allow more time for the database to unlock.  This may have
 | 
					try tweaking the ``PAPERLESS_DB_TIMEOUT`` setting to allow more time for the database to unlock.  This may have
 | 
				
			||||||
minor performance implications.
 | 
					minor performance implications.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					gunicorn fails to start with "is not a valid port number"
 | 
				
			||||||
 | 
					#########################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					You are likely running using Kubernetes, which automatically creates an environment variable named `${serviceName}_PORT`.
 | 
				
			||||||
 | 
					This is the same environment variable which is used by Paperless to optionally change the port gunicorn listens on.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					To fix this, set `PAPERLESS_PORT` again to your desired port, or the default of 8000.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user