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
Issues with installing Archivematica 1.8 RPMs/Debs on Fresh Servers #810
Comments
Those are the scripts I'm using for testing: https://gist.github.com/scollazo/4bd044ced115a09370274e157cc5536a#file-centos-1-8-sh Some urls/paths have changed, and those changes are not reflected on the docs for now. I'll review the docs to sync them with this scripts. |
Tried a fresh install on a new batch of EC2 instances. Here are my results: CentOS 7Installation went through without any obvious issues. In the post-install instructions, however, step 1 gives the wrong port number (8000 instead of 8001) and step 3 doesn't give the dashboard port (81). Ubuntu 16.04At step 8 in the instructions, the bit where you're supposed to give the archivematica user a password of "demo" is a bit confusing, since the package script dialog doesn't prompt you to create a password for a user "archivematica," but rather emphasizes "archivematica-mcp-server":
At step 11, the fits service fails to start and the restart command for gearman fails (missing a 'service').
In the post-install portion of the instructions, the port number is inconsistent between CentOS 7 and Ubuntu 16.04. 8001 doesn't work for Ubuntu and 8000 won't work for CentOS. I also noticed that the CentOS instructions tell you which ports these services are listening on immediately after the step that you perform to install them while the Ubuntu instructions don't, and it might be nice to make the instructions more consistent between platforms on that front. Finally, I noticed that the nginx config for the dashboard that you create a symlink to in step 9 doesn't actually exist, so it's not possible to get to the dashboard in step 3 of the post-install. |
The problems with xenial install are very strange, I can't reproduce them. Can you post the output of "dpkg -l | grep archivematica"? |
Hi jpellman, I agree that the ports used by the dashboard and the Storage Service should be clarified at the document. As you well say, also the command to restart gearmand in case of problems should be changed in ubuntu 16 to the systemd version. But, I can't reproduce the nginx dashboard config file and startup of the fits service issues. Can you check that the Please add to what scollazo has asked you, the output of "dpkg -l | grep fits" |
Here is the output of the two dpkg commands:
The issue seems to be due to me copying and pasting the code from the instructions directly into terminal. The first command was executed / databases were set up / etc but the second two apt commands weren't executed (possibly due to the 2 MySQL setup screens / being piped elsewhere). If I copy and paste each of those commands individually it seems to work. I also tried consolidating all the apt commands onto one line with:
But that didn't seem to want to work either and gave me the same output from dpkg (I ran this after I had already pasted in the code from the install instructions though and archivematica-mcp-server was already installed, so maybe that could have affected this). I'm going to check and see if I can get through the steps after step 8 now. |
I was now able to get up to step 3 of the post-install instructions in Ubuntu. When I tried to create a new user and log in on the dashboard, however, I was presented with an internal server error. The following was logged to /var/log/archivematica/dashboard/dashboard.log when that happened:
|
Seems like the dashboard database has not been populated. Can you try with "dpkg-reconfigure archivematica-dashboard"? |
Hi @scollazo, I ran
I also came across this when I ran
|
This comes from #792 New packages up to version ~columbia13 have the fix for this issue, but you'll need to recreate the database. So, in resume: sudo apt-get update sudo apt-get upgrade This should bring the updated packages into the system. And then, recreate the database with: dpkg-reconfigure archivematica-mcp-server (choose drop and create the db) dpkg-reconfigure archivematica-dashboard |
Hi @scollazo , I tried doing a fresh install, but I'm still running into the issue with the slug field. Is it possible that I was using the wrong repo or the updated package hasn't bee uploaded to the repo used in the docs yet? |
As an aside, I've never actually seen the "NIfTI" acronym expanded before- it took a second before I recognized it in its full form. There are also derivative file formats such as "GIfTI" that don't really expand to anything as far as I know- the naming for these is made by analogy or through backronyming in the case of "CIfTI". |
Hi @jpellman , there was a bug indeed with ubuntu xenial packages, that has been fixed in artefactual-labs/am-packbuild@3c654c5 You should be able to proceed now with the xenial install without issues. I recorded this asciicast in case you have doubts with some step: |
Hi @scollazo , The installation for Ubuntu works now and nginx does not experience an internal server error. However, I've noticed that when I rebooted the Ubuntu VM I was testing on fits did not start up:
I tried rebooting a CentOS VM after installation and was unable to replicate the issue. I believe this might be do to a difference in the version of fits-nailgun used between the two packages (nailgun-server-debian.jar iirc for Ubuntu and nailgun-server-0.9.2-SNAPSHOT.jar for CentOS 7). Another issue that I ran into occurred on a CentOS VM as well. At one point during an installation, I accidentally misentered the storage service URL in the dashboard. This produced the following error in the web interface:
I attempted to update the storage service URL without luck. The contents of /var/log/archivematica/dashboard/dashboard.log displayed a number of errors similar to the following:
|
I'll try to recreate the issue with fits, and to recreate the one in centos. |
@scollazo @jhsimpson is this issue closed? |
Since there were two separate issues in my last comment, I've separated out the fits issue into #868 for further tracking as per last meeting's CUL action item. |
Hi, This might have gotten lost amidst all of the other issues here, but (as per an earlier remark in this thread) one of the problems I ran into involved the post-install instructions on CentOS:
It'll be easier to track if this is in the docs repo so I'll open a separate issue there. [edit] Issue opened at https://github.com/artefactual/archivematica-docs/issues/92 |
Using the documentation located here, I encountered the following issues with the CentOS and Ubuntu packages posted to last meeting's agenda:
CentOS 7
At step 3 of the instructions in the documentation, I got the following error:
This was just due to a difference in the URL in the documentation vs the URL from last meeting. I updated the yum repo to use the correct URL and received the following:
So I was unable to proceed past step 3 in the instructions since the storage service wasn't available. I did try the steps afterwards just to see how far I could get without the storage service and got up to the following (step 5):
Ubuntu 16.04
I got up to step 3 on Ubuntu. When I ran
apt-get update
I received the following:Again there was a slight gap between the URLs from our last meeting and the documentation. When I switched the URL to use what was in our meeting notes I was met with:
This looks like it might just be due to how the repo is structured, since the current release has
dist
and architecture-specific subdirs.The text was updated successfully, but these errors were encountered: