# Installation / starting issues

**URL:** <https://invenio-talk.web.cern.ch/t/installation-starting-issues/179>\
**Category:** Community\
**Created:** [9 April 2021 10:08 UTC](https://invenio-talk.web.cern.ch/t/installation-starting-issues/179 "2021-04-09T10:08:29Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![jspuler](https://invenio-talk.web.cern.ch/user_avatar/invenio-talk.web.cern.ch/jspuler/32/187_2.png) [@jspuler](https://invenio-talk.web.cern.ch/u/jspuler)\
**Post date:** [10 June 2022 20:20 UTC](https://invenio-talk.web.cern.ch/t/installation-starting-issues/179/21 "2022-06-10T20:20:47Z")

</div>

Hi:  
I’m still trying to install invenio in a rocky linux 8.4  
I have create a user call “inve” with the privileges of a root and whe I try “invenio-cli packages lock” I have this problem

[inve@inveniordm invenio-usm]$ invenio-cli packages lock  
Locking dependencies… Allow pre-releases: False. Include dev-packages: False.  
Locking python dependencies…  
Traceback (most recent call last):  
File “/usr/local/bin/pipenv”, line 8, in   
sys.exit(cli())  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py”, line 1128, in **call**  
return self.main(\*args, \*\*kwargs)  
File “/usr/local/lib/python3.8/site-packages/pipenv/cli/options.py”, line 56, in main  
return super().main(\*args, \*\*kwargs, windows\_expand\_args=False)  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py”, line 1053, in main  
rv = self.invoke(ctx)  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py”, line 1659, in invoke  
return \_process\_result(sub\_ctx.command.invoke(sub\_ctx))  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py”, line 1395, in invoke  
return ctx.invoke(self.callback, \*\*ctx.params)  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py”, line 754, in invoke  
return \_\_callback(\*args, \*\*kwargs)  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/decorators.py”, line 84, in new\_func  
return ctx.invoke(f, obj, \*args, \*\*kwargs)  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py”, line 754, in invoke  
return \_\_callback(\*args, \*\*kwargs)  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/decorators.py”, line 26, in new\_func  
return f(get\_current\_context(), \*args, \*\*kwargs)  
File “/usr/local/lib/python3.8/site-packages/pipenv/cli/command.py”, line 313, in lock  
ensure\_project(  
File “/usr/local/lib/python3.8/site-packages/pipenv/core.py”, line 553, in ensure\_project  
ensure\_virtualenv(  
File “/usr/local/lib/python3.8/site-packages/pipenv/core.py”, line 473, in ensure\_virtualenv  
python = ensure\_python(project, three=three, python=python)  
File “/usr/local/lib/python3.8/site-packages/pipenv/core.py”, line 362, in ensure\_python  
path\_to\_python = find\_a\_system\_python(python)  
File “/usr/local/lib/python3.8/site-packages/pipenv/core.py”, line 333, in find\_a\_system\_python  
python\_entry = find\_python(finder, line)  
File “/usr/local/lib/python3.8/site-packages/pipenv/utils/shell.py”, line 309, in find\_python  
result = finder.find\_python\_version(line)  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/pythonfinder/pythonfinder.py”, line 288, in find\_python\_version  
return self.system\_path.find\_python\_version(  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/pythonfinder/pythonfinder.py”, line 120, in system\_path  
self.\_system\_path = self.create\_system\_path()  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/pythonfinder/pythonfinder.py”, line 82, in create\_system\_path  
return pyfinder\_path.SystemPath.create(  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/pythonfinder/models/path.py”, line 694, in create  
instance = instance.\_run\_setup()  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/pythonfinder/models/path.py”, line 241, in \_run\_setup  
path\_order=[p.as\_posix() for p in path\_instances if p.exists()],  
File “/usr/local/lib/python3.8/site-packages/pipenv/vendor/pythonfinder/models/path.py”, line 241, in   
path\_order=[p.as\_posix() for p in path\_instances if p.exists()],  
File “/usr/lib64/python3.8/pathlib.py”, line 1407, in exists  
self.stat()  
File “/usr/lib64/python3.8/pathlib.py”, line 1198, in stat  
return self.\_accessor.stat(self)  
PermissionError: [Errno 13] Permission denied: ‘/root/bin’  
Failed to lock dependencies.

thanks

---

<div class="post-metadata">

**Author:** ![nitarocc](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/n/9e8a1a/32.png) [@nitarocc](https://invenio-talk.web.cern.ch/u/nitarocc)\
**Post date:** [13 June 2022 06:55 UTC](https://invenio-talk.web.cern.ch/t/installation-starting-issues/179/22 "2022-06-13T06:55:57Z")

</div>

Hi, we had the same issue in the past, have a look [here](https://github.com/inveniosoftware/docker-invenio) some Docker images that we were using and they should work.

---

<div class="post-metadata">

**Author:** ![jspuler](https://invenio-talk.web.cern.ch/user_avatar/invenio-talk.web.cern.ch/jspuler/32/187_2.png) [@jspuler](https://invenio-talk.web.cern.ch/u/jspuler)\
**Post date:** [6 July 2022 21:25 UTC](https://invenio-talk.web.cern.ch/t/installation-starting-issues/179/23 "2022-07-06T21:25:25Z")

</div>

Hi I finally could install invenio RDM v.9.0 with a lot of warnings in a debian 11,  
but know I fanally can learn to use it and whit the tim I’ll go to eleminate warnings one by one.

for now I have 2 questions:

1)where I find or I create the users?  
I don’t see or under stand that here  
[https://inveniordm.docs.cern.ch/customize/vocabularies/users/](https://inveniordm.docs.cern.ch/customize/vocabularies/users/)

2)Digital ocean said that I have a vunerability on redis  
I shouldn’t have the posibility or do this from another pc  
Telnet “My Ip” 6379 and conect to my server.

I don’t find the file"redis.conf" for do the solutuion Digitalocean sugets

in docker-services.yml I have this configuration

cache:  
image: redis  
restart: “unless-stopped”  
read\_only: true  
ports:  
- “6379:6379”

tranks

---

<div class="post-metadata">

**Author:** ![nitarocc](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/n/9e8a1a/32.png) [@nitarocc](https://invenio-talk.web.cern.ch/u/nitarocc)\
**Post date:** [7 July 2022 06:55 UTC](https://invenio-talk.web.cern.ch/t/installation-starting-issues/179/24 "2022-07-07T06:55:29Z")

</div>

Hello,

1. where I find or I create the users?  
You are in the right place if you want to load them when creating the fixtures/demo data: fill in the yaml file and then when you run `invenio-cli services setup` the users will be created from there.  
Otherwise, just go to the login page and register a new user (with username, email and psw). In this case you will have to activate the user (programmatically as in the doc above).

2. Digital ocean said that I have a vunerability on redis  
We simply use the image from Docker, you will have to check [their doc here](https://hub.docker.com/_/redis/) and use the right version of redis. We are running version 6 at the moment, but 7 should work without issues.

---

<div class="post-metadata">

**Author:** ![mdudaj](https://invenio-talk.web.cern.ch/user_avatar/invenio-talk.web.cern.ch/mdudaj/32/205_2.png) [@mdudaj](https://invenio-talk.web.cern.ch/u/mdudaj)\
**Post date:** [28 October 2022 15:01 UTC](https://invenio-talk.web.cern.ch/t/installation-starting-issues/179/25 "2022-10-28T15:01:53Z")

</div>

Hello,

I have an Ubuntu 20.04 server, and i wanted to install invenioRDM.

When i run this command **invenio-cli containers start --lock --build --setup**

I get this error **ImportError: cannot import name ‘JsonLoader’ from ‘jsonref’ (/usr/local/lib/python3.8/site-packages/jsonref.py)**

Please help.

Thanx

---

<div class="post-metadata">

**Author:** ![nitarocc](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/n/9e8a1a/32.png) [@nitarocc](https://invenio-talk.web.cern.ch/u/nitarocc)\
**Post date:** [28 October 2022 15:13 UTC](https://invenio-talk.web.cern.ch/t/installation-starting-issues/179/26 "2022-10-28T15:13:32Z")

</div>

Hello,  
thank you for reporting it. We are already working on fixing this.  
In the meanwhile, as a workaround, you can upper-pin the dependency “jsonref\<1.0.0” in your `Pipfile` and it should work.

---

<div class="post-metadata">

**Author:** ![mdudaj](https://invenio-talk.web.cern.ch/user_avatar/invenio-talk.web.cern.ch/mdudaj/32/205_2.png) [@mdudaj](https://invenio-talk.web.cern.ch/u/mdudaj)\
**Post date:** [28 October 2022 16:06 UTC](https://invenio-talk.web.cern.ch/t/installation-starting-issues/179/27 "2022-10-28T16:06:43Z")

</div>

Thanks for a quick reply. I modified my Pipfile as below:

[[source]]  
name = “pypi”  
url = “[Simple index](https://pypi.org/simple)”  
verify\_ssl = true

[dev-packages]  
check-manifest = “\>=0.25”

[packages]  
invenio-app-rdm = {extras = [“postgresql”, “elasticsearch7”], version = “~=9.1.0”}  
uwsgi = “\>=2.0”  
uwsgitop = “\>=0.11”  
uwsgi-tools = “\>=1.1.1”  
jsonref = “==0.3.0”

[requires]  
python\_version = “3.8”

[pipenv]  
allow\_prereleases = false

But still I get the same error, did I do it wrongly?

---

<div class="post-metadata">

**Author:** ![nitarocc](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/n/9e8a1a/32.png) [@nitarocc](https://invenio-talk.web.cern.ch/u/nitarocc)\
**Post date:** [31 October 2022 14:34 UTC](https://invenio-talk.web.cern.ch/t/installation-starting-issues/179/28 "2022-10-31T14:34:22Z")

</div>

Hello,  
we have just released `v0.3.2`, the issue should be fixed by now. You can remove the `jsonref` line.

---

<div class="post-metadata">

**Author:** ![abidfakhrealam](https://invenio-talk.web.cern.ch/user_avatar/invenio-talk.web.cern.ch/abidfakhrealam/32/285_2.png) [@abidfakhrealam](https://invenio-talk.web.cern.ch/u/abidfakhrealam)\
**Post date:** [30 July 2024 11:35 UTC](https://invenio-talk.web.cern.ch/t/installation-starting-issues/179/29 "2024-07-30T11:35:28Z")

</div>

Is there any best documentation to install Invenio-ILS in ubuntu 24.04 AWS ec2 instance?

---

<div class="post-metadata">

**Author:** ![jaromero](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/j/a6a055/32.png) [@jaromero](https://invenio-talk.web.cern.ch/u/jaromero)\
**Post date:** [30 July 2024 14:28 UTC](https://invenio-talk.web.cern.ch/t/installation-starting-issues/179/30 "2024-07-30T14:28:31Z")

</div>

> [@abidfakhrealam](#):
>
> AWS ec2 instance

Hi!  
Unfortunately we don’t have extensive documentation about deploying on IaaS platforms, However, you can find some useful information about the necessary services in our official documentation [here](https://invenioils.docs.cern.ch/deploy/deployment/#services). I hope this helps you get started! Let us know if you have any further questions.

[Previous page](https://invenio-talk.web.cern.ch/t/installation-starting-issues/179.md?page=1)
