allow renovate to fetch release notes
This commit is contained in:
		
							
								
								
									
										17
									
								
								apps/nextcloud/readme.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								apps/nextcloud/readme.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| ## Running occ commands | ||||
|  | ||||
| Sometimes you need to run a command on the Nextcloud container directly. You can do that by running commands as the user www-data via the kubectl exec command. | ||||
| ``` | ||||
| # $NEXTCLOUD_POD should be the name of *your* nextcloud pod :) | ||||
| kubectl exec $NEXTCLOUD_POD -- su -s /bin/sh www-data -c "php occ myocccomand" | ||||
| ``` | ||||
| Here are some examples below. | ||||
| Putting Nextcloud into maintanence mode | ||||
|  | ||||
| Some admin actions require you to put your Nextcloud instance into | ||||
|  | ||||
| (e.g. backups): | ||||
| ``` | ||||
| # $NEXTCLOUD_POD should be the name of *your* nextcloud pod :) | ||||
| kubectl exec $NEXTCLOUD_POD -- su -s /bin/sh www-data -c "php occ maintenance:mode --on" | ||||
| ```s | ||||
		Reference in New Issue
	
	Block a user