Send Emails with attachments fails

Since a few days (6.11.2019) its not possible to send emails with attachments from SugarCRM any more.
There is only a small picture with a waiting icon.
No problems to send emails without attachments.

Additionally its no longer possible to import old received emails (before 6.11.2919) with attachments.
After Import > OK only a white screen is shown and the URL https://www… /index.php?module=Emails&action=ImportAndShowDetailView&

No entry in log file.

My SUITECRM version: V.7.11.7

I’m hoping the upgrade you’re trying to do (according to the other thread) will solve this issue.

Upgrade to a newer version was not successful up to now (see post I must wait for a newer version of upgrade file.So I try to resolve the email problem itself.
Log file contains the following messages:

  • Wed Nov 20 10:10:49 2019 [11640][1][FATAL] ERROR: can’t move_uploaded_file to uploads://16347514-218b-bc24-4711-5dd5037009fb.You should try making the directory writable by the webserver
  • Wed Nov 20 10:10:49 2019 [11640][1][FATAL] Key must be a string
  • Wed Nov 20 10:10:49 2019 [11640][1][FATAL] Key must be less than 56 characters and non-zero. Supplied key length: 0
    May be this is the cause of problem “send emails with attachment fail”. Where is this directory without/wrong directory preferences?

It looks like your installation is not healthy in terms of file ownerships/permissions. SuiteCRM (or more specifically, your web server process) can’t write to the “upload” directory.

Can you paste here the full results of this commands, given from the SuiteCRM root directory?

ls -al
ls -al upload
ps -ef | egrep '(httpd|apache2|apache)' | grep -v `whoami` | grep -v root | head -n1 | awk '{print $1}'

Hello pgr
Attached see result of 3 unix commands.

“ps” leads to message " Command not found" (see end of the file)
May be there is a spelling error. Unfortunately, I cannot check it because I’m no Unix expert :frowning:

If you go in Admin / Schedulers, there are crontab instructions at the bottom of the table

Please paste that text here. thanks

Hello pgr,
The orders are
n order to run SuiteCRM Schedulers, edit your web server user’s crontab file with this command:
sudo crontab -e -u
… and add the following line to the crontab file:

          • cd /mnt/web216/b3/87/53830387/htdocs/SuiteCRM; php -f cron.php > /dev/null 2>&1

I was looking for the username which should appear after that “- u” but nothing appears there, strange :dry: