[FATAL] User update error: Temp User is not retrieved at ID 1, boolean given

Help please! i receive this error after running the install of SuiteCRM.

[FATAL] User update error: Temp User is not retrieved at ID 1, boolean given

I have tried the installation with 7.11.5 and 7.11.6 but still get the same error. the installation finishes successfully but then i get a 500 internal server error. All folder permissions are correct. running on a vultr server, nginx 1.15.10, ubuntu 16.04, mariadb 10.1.38

That error is coming from here

https://github.com/salesagility/SuiteCRM/blob/master/modules/Users/User.php#L635

it looks like an email issue when saving the user. User id “1” is the admin.

Exactly at which point in the installation does that happen?

Are you using SuiteCRM 7.11.6?

The installation works - i receive the message to say it has been installed correctly, but then i get the 500 error. I have tried with both 7.11.5 and 7.11.6

Can you get us a debug backtrace of that FATAL message?

When exactly do you get the error, I still don’t understand:

  • when showing the login page
  • after clicking to login
  • sometime later?

Has this been resolved? I have the same error

installing Version 7.11.10
Sugar Version 6.5.25 (Build 344)

Same crash 500 error

issues @pgr for me, at the end of the installation wizard it runs to install it happens then.
install.log is clean
suitecrm.log only has two errors

Tue Feb  4 13:23:28 2020 [29843][-none-][FATAL] User update error: Temp User is not retrieved at ID 1, boolean given
Tue Feb  4 13:23:28 2020 [29843][-none-][FATAL] Email address save error

There is something EXTREMLY sensitive around the SMTP configuration - work seams to be needed around all functions where this is used. I have also seen the same errors also seemingly related to either a bad or missing smtp config and running the [Upgrade Wizard] module=UpgradeWizard&action=index)

since this was and is happening in earlier releases nearing a year old - the issue I assume is still not resolved or properly diagnosed.

Installer wizard should be improved regarding improper permissions - so many problems not made CLEAR all related to permissions - take the functionality from the upgrade wizard and use it here . provide clean and clear messages to user admins. I’ve installed many open source systems from virtualmin, nextcloud to openproject and so on… this SuiteCRM is a mature product as its forked from sugar. My point is less mature projects have a smoother end user install experience. I get open source is free and supported by the community - just surprised is all I’m saying and not expected from a more mature project. past getting started and the upgrade issues stemming from SMTP bad configs - rock solid IME. Thanks for the project!!

Hi pgr;

Same for fresh/clean 7.11.11 installation with demo data

Wed Feb 12 08:00:56 2020 [1895][-none-][FATAL] User update error: Temp User is not retrieved at ID 1, boolean given
Wed Feb 12 08:00:56 2020 [1895][-none-][FATAL] Email address save error
Wed Feb 12 08:00:58 2020 [1895][1][FATAL] User update error: Temp User is not retrieved at ID seed_jim_id, boolean given
Wed Feb 12 08:00:58 2020 [1895][1][FATAL] Email address save error
Wed Feb 12 08:00:58 2020 [1895][1][FATAL] User update error: Temp User is not retrieved at ID seed_sarah_id, boolean given
Wed Feb 12 08:00:58 2020 [1895][1][FATAL] Email address save error
Wed Feb 12 08:00:58 2020 [1895][1][FATAL] User update error: Temp User is not retrieved at ID seed_sally_id, boolean given
Wed Feb 12 08:00:58 2020 [1895][1][FATAL] Email address save error
Wed Feb 12 08:00:58 2020 [1895][1][FATAL] User update error: Temp User is not retrieved at ID seed_max_id, boolean given
Wed Feb 12 08:00:58 2020 [1895][1][FATAL] Email address save error
Wed Feb 12 08:00:58 2020 [1895][1][FATAL] User update error: Temp User is not retrieved at ID seed_will_id, boolean given
Wed Feb 12 08:00:58 2020 [1895][1][FATAL] Email address save error
Wed Feb 12 08:00:58 2020 [1895][1][FATAL] User update error: Temp User is not retrieved at ID seed_chris_id, boolean given
Wed Feb 12 08:00:58 2020 [1895][1][FATAL] Email address save error

This is now getting ridiculous and the app is unusable . installed 7.11.10 fought like hell to get it installed then I upgraded to or tried to upgrade to 7.11.12 which was so horrific

https://community.suitecrm.com/t/7-11-10-to-7-11-12-upgrade-wizard-immediate-500-error/71671/11

I had to reset my server like 6-8 times from a snapshot backup. I gave up and was told by support to install fresh so here I am doing that --> same frigging issue and not I cant upgrade or install new. I’m about to write this application off permanently as installing and upgrading is a fundamental task (not trivial I know) but it is an area one LEAST expects issues else it will never catch on.

Thu Mar  5 16:07:19 2020 [34382][-none-][FATAL] User update error: Temp User is not retrieved at ID 1, boolean given
Thu Mar  5 16:07:19 2020 [34382][-none-][FATAL] Email address save error

PHP ERROR LOG:

[05-Mar-2020 16:01:57 America/New_York] PHP Fatal error:  Uncaught Exception: SuiteCRM is not installed. Entry point needs an installed SuiteCRM, please install first. in /home/suitecrm/public_html/include/entryPoint.php:59
Stack trace:
#0 /home/suitecrm/public_html/index.php(47): require_once()
#1 {main}
  thrown in /home/suitecrm/public_html/include/entryPoint.php on line 59

I have the same error, it also happens in 7.11.21, please help!

I think I found a solution. Even if the latest version of SuiteCRM, the deployment environment must be no later than 5.7.35 for mysql and 7.4.23 for PHP, this conclusion is based on my extensive experiments.

Sorry, I didn’t trace the root cause of the problem at code level, but only found the solution through DevOps.

This should guide you more easily: