New Installation 1.13.1

582 views
Skip to first unread message

Tatiana Canelhas

unread,
Oct 31, 2021, 9:02:03 PM10/31/21
to archivematica
Hi group.

Can´t install storage service in a new installation in Ubuntu 18 following the website steps.
Some problem about mySQL.

Can you tell what is happening?

Thanks,
Tatiana Canelhas

Monica Wood

unread,
Oct 31, 2021, 9:06:27 PM10/31/21
to archiv...@googlegroups.com

Hi Tatiana,

 

I’m not sure if you meant to attach a screenshot or something, but we will need a lot more information to be able to help you.

 

You could start with the error it is showing you and what install instructions you are using to install.

 

Cheers,

Monica Wood

 

www.medeopolis.com.au

--
You received this message because you are subscribed to the Google Groups "archivematica" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archivematic...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/archivematica/cfcf4f7f-a314-469e-abda-510f39af13bdn%40googlegroups.com.

Jeanderson Silva

unread,
Nov 5, 2021, 4:34:29 PM11/5/21
to archivematica
Hi, same problem here.

Operating System: Ubuntu 18.04.6 LTS

While installing archivematica-storage-service package, the following error raises:

configuring django database and static files
Traceback (most recent call last):
  File "/usr/share/archivematica/virtualenvs/archivematica-storage-service/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 26, in <module>
    import MySQLdb as Database
  File "/usr/share/archivematica/virtualenvs/archivematica-storage-service/lib/python3.6/site-packages/MySQLdb/__init__.py", line 18, in <module>
    from . import _mysql
ImportError: libmysqlclient.so.20: cannot open shared object file: No such file or directory

Then, followed by others python exceptions. If install python-mysql package before storage-service, the problem changes to mysql connection timeout. 

370136847

unread,
Nov 5, 2021, 4:34:38 PM11/5/21
to Jeanderson Silva
您好!您的邮件我已收到!谢谢!

Guilherme Campos

unread,
Nov 5, 2021, 6:30:04 PM11/5/21
to archivematica
Hello, 
I had the same issue while trying to install the storage service after 0.18.1 update.
The .deb install package is broken after they made the storage service using a mysql database as default database.

Here is what i've done to get past it: 

1 - you first need a local mysql installl 

sudo apt-get install -y mysql-server-5.7 libmysqlclient-dev

2 - You must create the SS database and a user called archivematica and password demo:

        #note o sudo obrigatório aqui
        sudo mysql -u root

        CREATE DATABASE SS CHARACTER SET utf8 COLLATE utf8_general_ci;

        create user archivematica@'%' identified by 'demo';
        GRANT ALL PRIVILEGES ON SS.* TO 'archivematica'@'%';
        flush privileges;
        quit;

3 - continue installing the storage service and the other packages as intended.

sudo apt-get install -y archivematica-storage-service
best regards, 
Guilherme Campos


Em sexta-feira, 5 de novembro de 2021 às 17:34:38 UTC-3, 3701...@qq.com escreveu:
您好!您的邮件我已收到!谢谢!

Guilherme Campos

unread,
Nov 5, 2021, 6:35:33 PM11/5/21
to archivematica
ssjean: In your specific case the problem is you're lacking  libmysqlclient-dev, but you'll need the mysql db installed as well.

sudo apt-get install -y mysql-server-5.7 libmysqlclient-dev




370136847

unread,
Nov 5, 2021, 6:35:41 PM11/5/21
to Guilherme Campos
您好!您的邮件我已收到!谢谢!

Jeanderson Silva

unread,
Nov 5, 2021, 8:45:45 PM11/5/21
to archivematica
Hello, Guilherme.

I followed your steps and finally managed to complete the installation.
Thank you!

370136847

unread,
Nov 5, 2021, 8:45:56 PM11/5/21
to Jeanderson Silva
您好!您的邮件我已收到!谢谢!

Tatiana Canelhas

unread,
Mar 24, 2022, 6:03:18 PM3/24/22
to archivematica
Hi guys (artefactual),

are you planning on adding this code to the storage-service script?

Thanks,
Tatiana Canelhas

On Friday, November 5, 2021 at 9:45:56 PM UTC-3 3701...@qq.com wrote:
您好!您的邮件我已收到!谢谢!

Sarah Romkey

unread,
Mar 25, 2022, 8:12:08 AM3/25/22
to archiv...@googlegroups.com
HI Tatiana, sorry, I don't follow- which code?

Sarah Romkey, MAS,MLIS
Archivematica Program Manager
@archivematica / @accesstomemory




--
You received this message because you are subscribed to the Google Groups "archivematica" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archivematic...@googlegroups.com.

Tatiana Canelhas

unread,
Apr 7, 2022, 6:44:38 PM4/7/22
to archivematica
Sorry Sarah, 

This part which  Guilherme Campos did a workaround, because the script of installing storage service is not working.

Here:

"Hello, 
I had the same issue while trying to install the storage service after 0.18.1 update.
The .deb install package is broken after they made the storage service using a mysql database as default database.

Here is what i've done to get past it: 

1 - you first need a local mysql installl 

sudo apt-get install -y mysql-server-5.7 libmysqlclient-dev

2 - You must create the SS database and a user called archivematica and password demo:

        #note o sudo obrigatório aqui
        sudo mysql -u root

        CREATE DATABASE SS CHARACTER SET utf8 COLLATE utf8_general_ci;

        create user archivematica@'%' identified by 'demo';
        GRANT ALL PRIVILEGES ON SS.* TO 'archivematica'@'%';
        flush privileges;
        quit;

3 - continue installing the storage service and the other packages as intended.

sudo apt-get install -y archivematica-storage-service
best regards, 
Guilherme Campos"

Sarah Romkey

unread,
Apr 11, 2022, 10:12:55 AM4/11/22
to archiv...@googlegroups.com
Hi Tatiana,

This looks like more of a packaging/installation issue to me but in general, if you'd like to make the case for Archivematica's code to be altered in some way the thing to do is file an issue in the Issues repo: https://github.com/archivematica/Issues and then open a pull request in the appropriate code repo.

Cheers,

Sarah

Sarah Romkey, MAS,MLIS
Archivematica Program Manager
@archivematica / @accesstomemory



Reply all
Reply to author
Forward
0 new messages