# Problems after installation

**URL:** <https://community.spicecrm.io/t/problems-after-installation/593>\
**Category:** Installation\
**Created:** [February 27, 2021, 12:09pm UTC](https://community.spicecrm.io/t/problems-after-installation/593 "2021-02-27T12:09:40Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![adminibt](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@adminibt](https://community.spicecrm.io/u/adminibt)\
**Post date:** [February 27, 2021, 12:09pm UTC](https://community.spicecrm.io/t/problems-after-installation/593/1 "2021-02-27T12:09:40Z")

</div>

Hello,

I have done an installation of SpiceCRM. That went OK.

Then I installed E-Mail Handling: I’m getting permanently these message:

Sat Feb 27 12:30:44 2021 [6106][1][ERROR] Unable to find relationship mailboxes\_emails\_rel  
Sat Feb 27 12:30:44 2021 [6106][1][FATAL] mailboxes for mailboxes\_emails\_rel failed to load

Then I installed Campaign Management: I’m getting permanently these message:

Sat Feb 27 12:37:21 2021 [6110][1][ERROR] Unable to find relationship campaign\_accounts  
Sat Feb 27 12:37:21 2021 [6110][1][FATAL] campaign\_accounts for campaign\_accounts failed to load

Installation:

Centos 7  
Mysql 5.7 (started with MariaDB; got the same error message)  
Apache 2.4  
Backend und Frontend where installed via git clone

What am I doing wrong?

– Andreas

---

<div class="post-metadata">

**Author:** ![adminibt](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@adminibt](https://community.spicecrm.io/u/adminibt)\
**Post date:** [February 27, 2021, 12:57pm UTC](https://community.spicecrm.io/t/problems-after-installation/593/2 "2021-02-27T12:57:17Z")

</div>

Just tried to add a call to an account. The call does not show up. Got this in the log:

Sat Feb 27 13:53:45 2021 [38273][1][ERROR] Unable to find relationship opportunity\_calls  
Sat Feb 27 13:53:45 2021 [38273][1][ERROR] Unable to find relationship projects\_calls  
Sat Feb 27 13:53:45 2021 [38273][1][ERROR] Unable to find relationship projects\_calls  
Sat Feb 27 13:53:45 2021 [38273][1][ERROR] Unable to find relationship consumers\_calls  
Sat Feb 27 13:53:45 2021 [38273][1][ERROR] Unable to find relationship servicetickets\_calls  
Sat Feb 27 13:53:45 2021 [38273][1][ERROR] Unable to find relationship campaign\_accounts  
Sat Feb 27 13:53:45 2021 [38273][1][FATAL] campaign\_accounts for campaign\_accounts failed to load

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [February 27, 2021, 2:09pm UTC](https://community.spicecrm.io/t/problems-after-installation/593/3 "2021-02-27T14:09:59Z")

</div>

Did you run a pair rebuild after loading packages?  
In some packages additional tables have to be created.  
And relationship definitions shall be be added to cached files.

---

<div class="post-metadata">

**Author:** ![adminibt](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@adminibt](https://community.spicecrm.io/u/adminibt)\
**Post date:** [February 27, 2021, 2:33pm UTC](https://community.spicecrm.io/t/problems-after-installation/593/4 "2021-02-27T14:33:55Z")

</div>

How do I do that?

The UI is completly different compared to SuiteCRM.

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [February 27, 2021, 3:27pm UTC](https://community.spicecrm.io/t/problems-after-installation/593/5 "2021-02-27T15:27:12Z")

</div>

Login as administrator  
Go to workbench \> rudder icon on the top right  
Search for repair database  
Execute repair database  
Execute sql queries appearing in pop-up window  
Logout and re-login

---

<div class="post-metadata">

**Author:** ![adminibt](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@adminibt](https://community.spicecrm.io/u/adminibt)\
**Post date:** [February 27, 2021, 3:44pm UTC](https://community.spicecrm.io/t/problems-after-installation/593/6 "2021-02-27T15:44:48Z")

</div>

Sorry, I cannot find anything regarding “repair”.

Is this the place you mentioned?

 ![spicecrm](https://canada1.discourse-cdn.com/flex030/uploads/spicecrm/original/1X/d078db40b4298b3af5461b20528b8d39d976ff6e.png)

In the seach bar I typed repair but nothing is showing up.

Is there any URL I can use?

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [February 27, 2021, 5:11pm UTC](https://community.spicecrm.io/t/problems-after-installation/593/7 "2021-02-27T17:11:17Z")

</div>

Which spicecrm version do you have?

---

<div class="post-metadata">

**Author:** ![adminibt](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@adminibt](https://community.spicecrm.io/u/adminibt)\
**Post date:** [February 27, 2021, 5:23pm UTC](https://community.spicecrm.io/t/problems-after-installation/593/8 "2021-02-27T17:23:46Z")

</div>

The latest versions on github. Cloned them (frontend and backend) with git.

Just followed the instructions in SpiceCRM\_UI\_installation\_guide\_v2.pdf

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [February 27, 2021, 5:29pm UTC](https://community.spicecrm.io/t/problems-after-installation/593/9 "2021-02-27T17:29:00Z")

</div>

then you shall have the repair database in the list. That’s odd.

please run following queries in database:  
REPLACE INTO `sysuiadmincomponents` (`id`, `admingroup`, `adminaction`, `admin_label`, `component`, `componentconfig`, `sequence`, `icon`, `version`, `package`) VALUES (‘91050527-74F0-42F3-BF13-36D57A352DB5’, ‘Dictionary’, ‘Repair Database’, ‘LBL\_REPAIR\_DATABASE’, ‘AdministrationDictRepair’, NULL, 3, ‘custom:custom94’, ‘2018.02.001’, ‘core’);  
REPLACE INTO `sysuiadmingroups` (`id`, `name`, `label`, `sequence`, `version`, `package`) VALUES (‘523A0C94-1841-4400-8F55-78A781514091’, ‘Dictionary’, ‘LBL\_DICTIONARY’, 4, ‘2020.03.001’, ‘core’);

They might be missing

---

<div class="post-metadata">

**Author:** ![adminibt](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@adminibt](https://community.spicecrm.io/u/adminibt)\
**Post date:** [February 27, 2021, 5:38pm UTC](https://community.spicecrm.io/t/problems-after-installation/593/10 "2021-02-27T17:38:48Z")

</div>

Each replace effected one 1 row. Now repair shows up (including the sql-commands). Will move on later. I’ll come back if I still have problems.

Anyhow: THANKS!

– Andreas

---

<div class="post-metadata">

**Author:** ![adminibt](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@adminibt](https://community.spicecrm.io/u/adminibt)\
**Post date:** [February 27, 2021, 6:08pm UTC](https://community.spicecrm.io/t/problems-after-installation/593/11 "2021-02-27T18:08:57Z")

</div>

Maybe this helps: After I reloaded the “core configuration” the “repair database” is being deleted. Have to repeat the replace-sql-commands.

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [February 27, 2021, 6:14pm UTC](https://community.spicecrm.io/t/problems-after-installation/593/12 "2021-02-27T18:14:35Z")

</div>

Yes, they are definitely missing in reference database.  
I will add the sqls there.
