libremail icon indicating copy to clipboard operation
libremail copied to clipboard

CRITICAL: Call to undefined function pcntl_signal()

Open chikkujimmy opened this issue 2 years ago • 2 comments

Describe the bug When running ./sync --updatedb from the sync folder , getting the error "CRITICAL: Call to undefined function pcntl_signal()"

To Reproduce Steps to reproduce the behavior:

  1. Go to the sync folder
  2. Run composer update and then composer install
  3. Followed the steps as per README.MD for sync to execute the commands " ./sync --updatedb" & " ./sync"

Screenshots image

Additional context Also, would be able to provide the configuration file details to configure IMAP and MySQL config. Assuming it's the local.ini file.

chikkujimmy avatar Aug 14 '23 13:08 chikkujimmy

That looks like it might be missing the ext-pcntl extension. I thought that composer would catch that if it's missing, but would you mind checking that?

Right now, this repo is stuck on php 7.2, if you're using a different version it may not work. I have to also update this repo to php8.2. It's on the to-do list.

mikegioia avatar Aug 14 '23 15:08 mikegioia

@mikegioia thank you for the update. When I used php 7.2 the composer automatically installed the missing extensions and the issue resolved. But now while configuring IMAP I am getting the error SQLSTATE[42S02]: Base table or view not found: 1146 Table 'libremail.accounts' doesn't exist . As per your documentation I have created the database "libremail" but in this case its showing a table doesn't exist.

image

image

Also I would like to add one more issue which I noticed. I think the authentication is working fine while using outlook email with app passwords but when we are using Office365 email with or without app password it stops with the error "Unable to connect to IMAP server: Failed to connect to IMAP mailbox" . It seems the only way to authenticate office 365 emails is via OAuth 2.0.

260935699-4be72526-8741-469f-8640-029bb0078b37

chikkujimmy avatar Aug 16 '23 06:08 chikkujimmy