# \[Monica\] Personal Relationship Manager

**URL:** https://forum.yunohost.org/t/monica-personal-relationship-manager/3041
**Category:** Apps
**Tags:** monica
**Created:** [June 15, 2017, 8:26pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041 "2017-06-15T20:26:29Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [June 15, 2017, 8:26pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/1 "2017-06-15T20:26:29Z")

</div>

Hi,

I started creating a yunohost package (my first) for monica ([monicahq.com/](http://monicahq.com/)).  
You can find it here: [GitHub - YunoHost-Apps/monica\_ynh: Monica package for YunoHost](http://github.com/rndmh3ro/monica_ynh)

I’d love if someone could test it, it should work on x86 and arm systems.

Monica needs PHP7 to work so this package installs a backport of PHP7 alongside PHP5. PHP5 should remain the default, as I tried to accomplish that with `update-alternatives`. So far my personal yunohost instance is still working.

Monica also needs NodeJS; I got the installation scripts from here: [Helpers nvm pour nodejs](http://forum.yunohost.org/t/helpers-nvm-pour-nodejs/2807)  
Thanks for that, @Maniack_Crudelis!

And also thanks to @JimboJoe for helping me out with nginx here: [APP/Nginx redirect problem](http://forum.yunohost.org/t/app-nginx-redirect-problem/2982/1)

There are still major TODOs left, they can be found in the github readme here: [github.com/rndmh3ro/monica\_ynh#todo](http://github.com/rndmh3ro/monica_ynh#todo)

If anyone wants to help with these or other things, feel free!

Regards  
Sebastian

PS: Creating posts in this forums with links is really hard! 😕

---

<div class="post-metadata">

### Author: ![Maniack\_Crudelis](https://forum.yunohost.org/user_avatar/forum.yunohost.org/maniack_crudelis/32/13_2.png) [@Maniack\_Crudelis](https://forum.yunohost.org/u/Maniack_Crudelis)
#### Post date: [June 16, 2017, 4:42pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/2 "2017-06-16T16:42:37Z")

</div>

Hi rndmh3ro

I just tried your package.  
You have a error with apt: "method driver /usr/lib/apt/methods/https could not be found"  
I think your line in source.list is not correct.

And, node helpers have been upgrade. Now, it’s n which be used instead of nvm.

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [June 18, 2017, 7:38pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/3 "2017-06-18T19:38:38Z")

</div>

Thanks for testing, @Maniack_Crudelis!

The apt-error should be fixed. Problem was that on Debian you need a package (`apt-transport-https`) to update and install from https-repositories. I moved the installation of that package.  
And I’ll update the NodeJS helpers, thanks for them!

---

<div class="post-metadata">

### Author: ![eFreshman](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/e/ecd19e/32.png) [@eFreshman](https://forum.yunohost.org/u/eFreshman)
#### Post date: [June 23, 2017, 12:30pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/4 "2017-06-23T12:30:05Z")

</div>

Hi rndmh3ro

Monica sounds interesting, like something that could help me to keep a better overview of interactions (which is already sad to say 😉 ).  
I have just tried to install the package but unfortunately the installation failed on my raspberry pi 3 with yunohost 2.6.4.  
Last thing I saw was:  
[31mError: cannot remove currently active version (node/6.10.3)[0m

I could install the first release, but could not reach the page after installation.  
Just for clarification, is it possible to install monica in the root of a subdomain (Third-Level-Domain, eg. [https://monica.example.com/](https://monica.example.com/)) or must it be a root of a Second-Level-Domain (eg. [https://example.com/](https://example.com/))?

Regards and thanks for your work

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [June 23, 2017, 5:23pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/5 "2017-06-23T17:23:10Z")

</div>

Hi @eFreshman,

thanks for testing it out! The app itself is really nice that’s why I tried to package it. 🙂

Your problems with the installation are hopefully gone, I fixed some problems. Would you mind trying again?

And yes, its possible to install monica into a subdomain!

---

<div class="post-metadata">

### Author: ![eFreshman](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/e/ecd19e/32.png) [@eFreshman](https://forum.yunohost.org/u/eFreshman)
#### Post date: [June 23, 2017, 6:32pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/6 "2017-06-23T18:32:46Z")

</div>

Hi  
I’m sorry to say “Installation fehlgeschlagen”.  
I did not know very much about Linux, can I help with any log files?

Unable to update monica core dependencies

- ynh\_die 'Unable to update monica core dependencies’  
Your requirements could not be resolved to an installable set of packages.

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [June 23, 2017, 6:45pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/7 "2017-06-23T18:45:03Z")

</div>

That’s actually enough for me to debug because I know where this could happen.

Mal sehen, ob ich es nachstellen kann. 😉

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [July 2, 2017, 7:33pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/8 "2017-07-02T19:33:22Z")

</div>

So this was actually a problem with monica itself, which got fixed ([github.com/monicahq/monica/pull/412](http://github.com/monicahq/monica/pull/412)).

It should now install without a problem. At least it does for me. 😃

---

<div class="post-metadata">

### Author: ![eFreshman](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/e/ecd19e/32.png) [@eFreshman](https://forum.yunohost.org/u/eFreshman)
#### Post date: [July 3, 2017, 5:31am UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/9 "2017-07-03T05:31:49Z")

</div>

Unfortunately, not for me.  
I get the same error as last time. 😟

---

<div class="post-metadata">

### Author: ![kanhu](https://forum.yunohost.org/user_avatar/forum.yunohost.org/kanhu/32/3518_2.png) [@kanhu](https://forum.yunohost.org/u/kanhu)
#### Post date: [July 8, 2017, 8:07pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/10 "2017-07-08T20:07:00Z")

</div>

> [@eFreshman](#):
>
> Hi  
> I’m sorry to say “Installation fehlgeschlagen”.  
> I did not know very much about Linux, can I help with any log files?
> 
> Unable to update monica core dependencies
> 
> - ynh\_die ‘Unable to update monica core dependencies’  
> Your requirements could not be resolved to an installable set of packages.

Same error for me ☹

```
+ sudo /usr/bin/php7.0 /var/www/monica/composer.phar install --no-dev --prefer-dist -d /var/www/monica --quiet --no-interaction
Warning: Your requirements could not be resolved to an installable set of packages.
+ ynh_die 'Unable to update monica core dependencies'
+ echo 'Unable to update monica core dependencies'
+ exit 1
Warning: Unable to update monica core dependencies

```

---

<div class="post-metadata">

### Author: ![eFreshman](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/e/ecd19e/32.png) [@eFreshman](https://forum.yunohost.org/u/eFreshman)
#### Post date: [July 15, 2017, 12:31pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/11 "2017-07-15T12:31:13Z")

</div>

I just tried it again and it was possible for me to install monica. 👍  
It took a while to install, but finaly it worked.

Edit:  
Before I type all my contacts in Monica, can Monica updated over the usual “yunohost app upgrade”?  
As I see, Monika is quite often updated.  
There are still a few features I miss but which might come in the near future (e.g. why type an significant other which is already in the contacts?).

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [July 16, 2017, 7:15pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/12 "2017-07-16T19:15:25Z")

</div>

Yeah, the installation takes a long time because there have to be nodejs packages installed.

And yes, monica can be upgraded with “yunohost app upgrade”, I already tested it multiple times.  
I’m following the releases page ([https://github.com/monicahq/monica/releases](https://github.com/monicahq/monica/releases)) of monica and try to update the app regulary!

---

<div class="post-metadata">

### Author: ![eFreshman](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/e/ecd19e/32.png) [@eFreshman](https://forum.yunohost.org/u/eFreshman)
#### Post date: [July 17, 2017, 5:40am UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/13 "2017-07-17T05:40:49Z")

</div>

Good to hear.  
Then I hope you do enjoy Monica, so it will updated regularly for a long time. 😇

And thanks for making it available for yunohost.

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [July 17, 2017, 7:54pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/14 "2017-07-17T19:54:27Z")

</div>

I just updated the app to the latest upstream version. You should be able to update without problems (hopefully).

Next I’ll move the app to the community repo and try to “fix” the user-creation situation.

---

<div class="post-metadata">

### Author: ![eFreshman](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/e/ecd19e/32.png) [@eFreshman](https://forum.yunohost.org/u/eFreshman)
#### Post date: [July 18, 2017, 4:58am UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/15 "2017-07-18T04:58:24Z")

</div>

Thanks, update works like a charm.  
Will have an eye on the monica\_ynh repository to keep in track.

PS: I’m not able to Add people or edit contact information in this version. Do you have the same problem? Looks like the nasty visual bug that should be fixet with 0.4.1 (which I’m using now).

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [July 19, 2017, 6:45pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/16 "2017-07-19T18:45:19Z")

</div>

Sorry, I do not have this problem, I can add and edit people without problems…

---

<div class="post-metadata">

### Author: ![eFreshman](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/e/ecd19e/32.png) [@eFreshman](https://forum.yunohost.org/u/eFreshman)
#### Post date: [July 20, 2017, 3:41pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/17 "2017-07-20T15:41:48Z")

</div>

Problem fixed, backuped database, uninstalled Monica, reinstalled it and imported the database. Now Monica is back online

---

<div class="post-metadata">

### Author: ![kanhu](https://forum.yunohost.org/user_avatar/forum.yunohost.org/kanhu/32/3518_2.png) [@kanhu](https://forum.yunohost.org/u/kanhu)
#### Post date: [July 27, 2017, 9:07am UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/18 "2017-07-27T09:07:00Z")

</div>

@rndmh3ro

Thanks for the update. Monica have search bar now. 😍

---

<div class="post-metadata">

### Author: ![kanhu](https://forum.yunohost.org/user_avatar/forum.yunohost.org/kanhu/32/3518_2.png) [@kanhu](https://forum.yunohost.org/u/kanhu)
#### Post date: [August 1, 2017, 2:33pm UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/19 "2017-08-01T14:33:18Z")

</div>

To create a new user follow these steps:  
Go to `/var/www/monica/database/seeds` and open **CreateUser.php**. Edit the first name, last name, email and password for the new user.  
Give www-data permission to the CreateUser.php and `cd /var/www/monica` then run `/usr/bin/php7.0 artisan -q db:seed --class CreateUser --force`

---

<div class="post-metadata">

### Author: ![eFreshman](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/e/ecd19e/32.png) [@eFreshman](https://forum.yunohost.org/u/eFreshman)
#### Post date: [October 3, 2017, 9:02am UTC](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041/20 "2017-10-03T09:02:12Z")

</div>

Hi,  
I’m on Version 0.6.5 for a few weeks now, but yunohost update shows me that there ist an update available for Monica.  
Since there is a E\_Mail bug in the Version that I use I try to update Monica.  
But I got this message:  
Yunohost encountered an internal error 😕

Is it because the complete revamp instalation scripts?

More Informations:  
Action

```
PUT /upgrade
{"locale":"de","ignore_packages":""}

```

Traceback

```
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 406, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 495, in process
    return func(**arguments)
  File "/usr/lib/moulinette/yunohost/tools.py", line 514, in tools_upgrade
    logger.error(m18n.n('app_upgrade_failed'))
  File "/usr/lib/python2.7/dist-packages/moulinette/core.py", line 205, in n
    return self._namespaces[self._current_namespace].translate(key, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/moulinette/core.py", line 92, in translate
    return self._translations[self.locale][key].encode('utf-8').format(*args, **kwargs)
KeyError: 'app'
```

[Next page](https://forum.yunohost.org/t/monica-personal-relationship-manager/3041.md?page=2)
