mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Refactor: Run kolibri migrations task
Run kolibri migrations as part of the kolibri setup itself. This makes kolibri.service initial run faster on low-end Raspberry Pi devices. "Unable to start service kolibri: Job for kolibri.service failed because a timeout was exceeded." #1158 https://github.com/iiab/iiab/issues/1158
This commit is contained in:
		
							parent
							
								
									e1e0f8ce53
								
							
						
					
					
						commit
						33f3a85de0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -29,8 +29,8 @@
 | 
			
		|||
    extra_args: --no-cache-dir
 | 
			
		||||
  when: internet_available
 | 
			
		||||
 | 
			
		||||
- name: Set kolibri default language
 | 
			
		||||
  shell: export KOLIBRI_HOME="{{ kolibri_home }}" && "{{ kolibri_exec_path }}" language setdefault "{{ kolibri_language }}"
 | 
			
		||||
- name: Run kolibri migrations
 | 
			
		||||
  shell: export KOLIBRI_HOME="{{ kolibri_home }}" && "{{ kolibri_exec_path }}" manage migrate
 | 
			
		||||
  ignore_errors: yes
 | 
			
		||||
  when: kolibri_provision
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue