Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Storage Service inaccessible in Archivematica Dashboard - Archivematica 1.15.1 Manually Installation on Ubuntu 22.04 #1680

Open
5 tasks
TruongNguyen-USDA opened this issue Apr 25, 2024 · 1 comment

Comments

@TruongNguyen-USDA
Copy link

TruongNguyen-USDA commented Apr 25, 2024

Expected behaviour

Current behaviour

  • Follow the above manual installation steps, the archivematica-storage-service won't run due to database authentication error!

  • Created a new database user (archivematica1:demo1 ) for archivematica-storage-service and updated the storage service configuration as below:

    • sudo vi /etc/default/archivematica-storage-service
    • SS_DB_URL=mysql://archivematica1:demo1@localhost:3306/SS
  • The archivematica-storage-service is now running with a database user (archivematica1:demo1 ) but is inaccessible from the dashboard. The curl command does not show anything $ curl -I http://localhost:8000

image

Steps to reproduce

  • Please see the steps in the above section "Current behaviour"
  • Storage Service, Archivematica dashboard and the rest of other services are installed on the same server.

Your environment (version of Archivematica, operating system, other relevant details)

  • Archivematica 1.15.1
  • Ubuntu 22.04

For Artefactual use:

Before you close this issue, you must check off the following:

  • All pull requests related to this issue are properly linked
  • All pull requests related to this issue have been merged
  • A testing plan for this issue has been implemented and passed (testing plan information should be included in the issue body or comments)
  • Documentation regarding this issue has been written and merged (if applicable)
  • Details about this issue have been added to the release notes (if applicable)
@TruongNguyen-USDA TruongNguyen-USDA changed the title Problem: Archivematica 1.15.1 Manually Installation on Ubuntu Problem: Archivematica 1.15.1 Manually Installation on Ubuntu 22.04 - Storage Service inaccessible in Archivematica Dashboard Apr 25, 2024
@TruongNguyen-USDA TruongNguyen-USDA changed the title Problem: Archivematica 1.15.1 Manually Installation on Ubuntu 22.04 - Storage Service inaccessible in Archivematica Dashboard Problem: Storage Service inaccessible in Archivematica Dashboard - Archivematica 1.15.1 Manually Installation on Ubuntu 22.04 Apr 25, 2024
@replaceafill
Copy link
Member

the archivematica-storage-service won't run due to database authentication error!

Do you have an idea why this might have happened? I wonder if it'd be some step missing in the installation docs for DEB packages.

FWIW, we test that procedure regularly with no problem from its source script https://github.com/artefactual/archivematica-docs/blob/8607dad2f3c017ce344d7640072b44b35748350c/admin-manual/installation-setup/installation/scripts/am-jammy-deb.sh like this:

  • Set a new Ubuntu 22.04 VM in OVH
  • SSH into the VM and install git
  • Clone the archivematica-docs repository
  • Make that script executable
  • Run the script

The installation docs page is produced taking bits of the script, but maybe we're missing a step somewhere.

The curl command does not show anything $ curl -I http://localhost:8000/

If this means the archivematica-storage-service service didn't start correctly, you might find the reason in the /var/log/archivematica/storage-service/ logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants