Storage Service password reset

274 views
Skip to first unread message

Lance Couture

unread,
Jan 20, 2015, 8:41:03 PM1/20/15
to archiv...@googlegroups.com
Hello,

We are currently testing archivematica for Compute Canada and for reasons I wont get into at this time, we had to reinstall all of the packages for archivematica.

Upon reinstall, the client web site was returned to default, clearing all users/passes. However, this did not happen for the storage service interface.


All I get now are user/pass mismatches.


How can I either reset the storage service, or reset the user passes? The documentation only covers the main interface.


Thanks in advance

- Lance

Justin Simpson

unread,
Jan 20, 2015, 9:02:02 PM1/20/15
to archiv...@googlegroups.com
Hi Lance,

The storage service is a separate django application from the archivematica dashboard, and has its own database, and its own set of users.

You can manage users for the storage service by using django admin commands.  Here is a quick set of steps, I am not testing as I am typing, so let me know if this doesn't work:

source /var/archivematica/.storage-service
source /usr/share/python/archivematica-storage-service/bin/activate
cd /usr/lib/archivematica/storage-service
python manage.py changepassword

The first line sets up some environment variables needed (like django_settings_module)
The second line activates the virtualenv used by the storage service
The third line gets you into the directory that the storage service code is installed to.
The fourth line issues one of the django admin commands (full docs here https://docs.djangoproject.com/en/1.5/ref/django-admin/ )

You could do manage.py createsuperuser instead, to create a new user.




Justin Simpson
Director of Archivematica Technical Services
www.artefactual.com
604-527-2056

--
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 post to this group, send email to archiv...@googlegroups.com.
Visit this group at http://groups.google.com/group/archivematica.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages