monica
monica copied to clipboard
VCF import is stuck or will timeout
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] I agree to follow Monica's Code of Conduct.
Bug description
I'm trying to import contacts from an vcf file (exported from google) but
when I use the 'sync' option it will fail with Maximum execution time of 30 seconds exceeded
when I use the redis
option, it will not start the importing process. I can even see an import job in the database with started_at = NULL
Steps to reproduce
- Clean install
- Setup admin user
- start import vcf file ...
Expected behavior
The import progress will succeed
Environment
Your own self-hosted instance (monica v4)
Version of Monica
4.1.2
Installation method
Docker image
Web server
Apache
Database engine version
MariaDB
Additional info
version: "3.9"
services:
app:
image: monica:apache
depends_on:
- db
- redis
ports:
- 4880:80
environment:
- APP_ENV=local
- APP_DEBUG=true
- APP_KEY=
- APP_URL=
# To trust all proxies that connect directly
- APP_TRUSTED_PROXIES=*
- DB_HOST=db
- DB_DATABASE=monica
- DB_USERNAME=monica
- DB_PASSWORD=secret
- LOG_CHANNEL=stderr
- CACHE_DRIVER=redis
- SESSION_DRIVER=database
- QUEUE_CONNECTION=redis
- QUEUE_DRIVER=redis
- REDIS_HOST=redis
volumes:
- data:/var/www/html/storage
restart: always
db:
image: mariadb:11
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=true
- MYSQL_DATABASE=monica
- MYSQL_USER=monica
- MYSQL_PASSWORD=secret
volumes:
- mysql:/var/lib/mysql
restart: always
redis:
image: redis:alpine
restart: always
volumes:
data:
name: monica
mysql:
name: mysql
APP_KEY
and APP_URL
are both set but omited for privacy.