Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VCF import is stuck or will timeout #7390

Open
3 tasks done
thebino opened this issue Sep 21, 2024 · 0 comments
Open
3 tasks done

VCF import is stuck or will timeout #7390

thebino opened this issue Sep 21, 2024 · 0 comments
Labels

Comments

@thebino
Copy link

thebino commented Sep 21, 2024

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • 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

  1. Clean install
  2. Setup admin user
  3. 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.

@thebino thebino added the bug label Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant