debug es reindex
This commit is contained in:
		
							parent
							
								
									03f2bd9955
								
							
						
					
					
						commit
						dc1f8128cc
					
				
							
								
								
									
										2
									
								
								.env
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								.env
									
									
									
									
									
								
							| @ -1,4 +1,4 @@ | |||||||
| # don't forget to add the minus before the version | # don't forget to add the minus before the version | ||||||
| # example: VERSION=-2.1.0-13 | # example: VERSION=-2.1.0-13 | ||||||
| IMAGE_REPO=zammad/zammad-docker-compose | IMAGE_REPO=monotek/zammad-docker-compose | ||||||
| VERSION= | VERSION= | ||||||
|  | |||||||
| @ -76,6 +76,7 @@ if [ "$1" = 'zammad-init' ]; then | |||||||
|   done |   done | ||||||
| 
 | 
 | ||||||
|   if [ -z "$(curl -s ${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_cat/indices |grep zammad)" ]; then |   if [ -z "$(curl -s ${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_cat/indices |grep zammad)" ]; then | ||||||
|  |     curl -s ${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_cat/indices | ||||||
|     echo "rebuilding es searchindex..." |     echo "rebuilding es searchindex..." | ||||||
|     bundle exec rake searchindex:rebuild |     bundle exec rake searchindex:rebuild | ||||||
|   fi |   fi | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user