AB
Al Bersch
Tue, May 21, 2013 10:32 PM
Hi again,
So, we competed the build successfully and started the server, but we aren't able to log in as admin@core.collectionspace.org. When you enter the default username and password ( admin@core.collectionspace.org. and Administrator) and click the login button, it brings you back to the login screen. We went looking for user and password, and found that the database for cspace is not installed. The tables we can see are postgres template0 and postgres template1. Is there a db install we missed? Thanks again!
Al and Becky
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
Hi again,
So, we competed the build successfully and started the server, but we aren't able to log in as admin@core.collectionspace.org. When you enter the default username and password ( admin@core.collectionspace.org. and Administrator) and click the login button, it brings you back to the login screen. We went looking for user and password, and found that the database for cspace is not installed. The tables we can see are postgres template0 and postgres template1. Is there a db install we missed? Thanks again!
Al and Becky
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
AB
Al Bersch
Tue, May 21, 2013 10:58 PM
Hi again,
Ok, whoops , so we realized we forgot to run:
ant undeploy deploy create_db import
But now when we try to run it we get the message:
buildfile: build.xml does not exist.
we are in /tmp as root.
thanks so much,
Al
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
----- Original Message -----
From: "Al Bersch" abersch@museumca.org
To: "talk" talk@lists.collectionspace.org
Cc: "Richard Millet" richard.millet@berkeley.edu
Sent: Tuesday, May 21, 2013 3:32:31 PM
Subject: Cspace installed,
Hi again,
So, we competed the build successfully and started the server, but we aren't able to log in as admin@core.collectionspace.org. When you enter the default username and password ( admin@core.collectionspace.org. and Administrator) and click the login button, it brings you back to the login screen. We went looking for user and password, and found that the database for cspace is not installed. The tables we can see are postgres template0 and postgres template1. Is there a db install we missed? Thanks again!
Al and Becky
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
Hi again,
Ok, whoops , so we realized we forgot to run:
ant undeploy deploy create_db import
But now when we try to run it we get the message:
buildfile: build.xml does not exist.
we are in /tmp as root.
thanks so much,
Al
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
----- Original Message -----
From: "Al Bersch" <abersch@museumca.org>
To: "talk" <talk@lists.collectionspace.org>
Cc: "Richard Millet" <richard.millet@berkeley.edu>
Sent: Tuesday, May 21, 2013 3:32:31 PM
Subject: Cspace installed,
Hi again,
So, we competed the build successfully and started the server, but we aren't able to log in as admin@core.collectionspace.org. When you enter the default username and password ( admin@core.collectionspace.org. and Administrator) and click the login button, it brings you back to the login screen. We went looking for user and password, and found that the database for cspace is not installed. The tables we can see are postgres template0 and postgres template1. Is there a db install we missed? Thanks again!
Al and Becky
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
AR
Aron Roberts
Tue, May 21, 2013 11:01 PM
Hi Al and Becky,
Thanks for this update - yes, you identified that next step.
Depending on where you downloaded the Services source code, you may
need to change into the relevant directory containing that source
code.
You want to be in the same directory from which you ran 'mvn clean
install -DskipTests=true'. You'll find that build.xml file in that
directory, and from there, you can run 'ant undeploy deploy create_db
import'
One more thing: it's a good idea to first stop CollectionSpace, before
running the above, then you can restart it. To stop them:
http://wiki.collectionspace.org/display/DOC/Shutting+Down+CollectionSpace+Servers
Aron
On Tue, May 21, 2013 at 3:58 PM, Al Bersch abersch@museumca.org wrote:
Hi again,
Ok, whoops, so we realized we forgot to run:
ant undeploy deploy create_db import
But now when we try to run it we get the message:
buildfile: build.xml does not exist.
we are in /tmp as root.
thanks so much,
Al
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
From: "Al Bersch" abersch@museumca.org
To: "talk" talk@lists.collectionspace.org
Cc: "Richard Millet" richard.millet@berkeley.edu
Sent: Tuesday, May 21, 2013 3:32:31 PM
Subject: Cspace installed,
Hi again,
So, we competed the build successfully and started the server, but we aren't
able to log in as admin@core.collectionspace.org. When you enter the default
username and password (admin@core.collectionspace.org. and Administrator)
and click the login button, it brings you back to the login screen. We went
looking for user and password, and found that the database for cspace is not
installed. The tables we can see are postgres template0 and postgres
template1. Is there a db install we missed? Thanks again!
Al and Becky
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
Hi Al and Becky,
Thanks for this update - yes, you identified that next step.
Depending on where you downloaded the Services source code, you may
need to change into the relevant directory containing that source
code.
You want to be in the same directory from which you ran 'mvn clean
install -DskipTests=true'. You'll find that build.xml file in that
directory, and from there, you can run 'ant undeploy deploy create_db
import'
One more thing: it's a good idea to first stop CollectionSpace, before
running the above, then you can restart it. To stop them:
http://wiki.collectionspace.org/display/DOC/Shutting+Down+CollectionSpace+Servers
Aron
On Tue, May 21, 2013 at 3:58 PM, Al Bersch <abersch@museumca.org> wrote:
> Hi again,
>
> Ok, whoops, so we realized we forgot to run:
>
> ant undeploy deploy create_db import
>
> But now when we try to run it we get the message:
>
> buildfile: build.xml does not exist.
>
> we are in /tmp as root.
>
> thanks so much,
>
> Al
>
> Al Bersch
> Digital Project Coordinator
> Oakland Museum of California
> 1000 Oak Street, Oakland, CA 94607
> abersch@museumca.org
> 510-318-8468
> ________________________________
> From: "Al Bersch" <abersch@museumca.org>
> To: "talk" <talk@lists.collectionspace.org>
> Cc: "Richard Millet" <richard.millet@berkeley.edu>
> Sent: Tuesday, May 21, 2013 3:32:31 PM
> Subject: Cspace installed,
>
>
> Hi again,
>
> So, we competed the build successfully and started the server, but we aren't
> able to log in as admin@core.collectionspace.org. When you enter the default
> username and password (admin@core.collectionspace.org. and Administrator)
> and click the login button, it brings you back to the login screen. We went
> looking for user and password, and found that the database for cspace is not
> installed. The tables we can see are postgres template0 and postgres
> template1. Is there a db install we missed? Thanks again!
>
> Al and Becky
>
> Al Bersch
> Digital Project Coordinator
> Oakland Museum of California
> 1000 Oak Street, Oakland, CA 94607
> abersch@museumca.org
> 510-318-8468
>
>
> _______________________________________________
> Talk mailing list
> Talk@lists.collectionspace.org
> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
>
AB
Al Bersch
Tue, May 21, 2013 11:13 PM
Thanks Aron,
We ran find / -name build.xml and all that was returned were two builds under apache tomcat. We were in the tmp directory where we ran mvn clean install, but the installer cleaned itself up and the original directory (collectionspace -services) was cleaned up and removed by the installer and no longer exists. Would it be ok if we re-ran
wget https://github.com/collectionspace/services/archive/v3.2.2.tar.gz
and pulled the build.xml out of it?
Thanks again,
Al
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
----- Original Message -----
From: "Aron Roberts" aron@socrates.berkeley.edu
To: "Al Bersch" abersch@museumca.org
Cc: "talk" talk@lists.collectionspace.org
Sent: Tuesday, May 21, 2013 4:01:39 PM
Subject: Re: [Talk] Cspace installed,
Hi Al and Becky,
Thanks for this update - yes, you identified that next step.
Depending on where you downloaded the Services source code, you may
need to change into the relevant directory containing that source
code.
You want to be in the same directory from which you ran 'mvn clean
install -DskipTests=true'. You'll find that build.xml file in that
directory, and from there, you can run 'ant undeploy deploy create_db
import'
One more thing: it's a good idea to first stop CollectionSpace, before
running the above, then you can restart it. To stop them:
http://wiki.collectionspace.org/display/DOC/Shutting+Down+CollectionSpace+Servers
Aron
On Tue, May 21, 2013 at 3:58 PM, Al Bersch abersch@museumca.org wrote:
Hi again,
Ok, whoops, so we realized we forgot to run:
ant undeploy deploy create_db import
But now when we try to run it we get the message:
buildfile: build.xml does not exist.
we are in /tmp as root.
thanks so much,
Al
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
From: "Al Bersch" abersch@museumca.org
To: "talk" talk@lists.collectionspace.org
Cc: "Richard Millet" richard.millet@berkeley.edu
Sent: Tuesday, May 21, 2013 3:32:31 PM
Subject: Cspace installed,
Hi again,
So, we competed the build successfully and started the server, but we aren't
able to log in as admin@core.collectionspace.org. When you enter the default
username and password (admin@core.collectionspace.org. and Administrator)
and click the login button, it brings you back to the login screen. We went
looking for user and password, and found that the database for cspace is not
installed. The tables we can see are postgres template0 and postgres
template1. Is there a db install we missed? Thanks again!
Al and Becky
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
Thanks Aron,
We ran find / -name build.xml and all that was returned were two builds under apache tomcat. We were in the tmp directory where we ran mvn clean install, but the installer cleaned itself up and the original directory (collectionspace -services) was cleaned up and removed by the installer and no longer exists. Would it be ok if we re-ran
wget https://github.com/collectionspace/services/archive/v3.2.2.tar.gz
and pulled the build.xml out of it?
Thanks again,
Al
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
----- Original Message -----
From: "Aron Roberts" <aron@socrates.berkeley.edu>
To: "Al Bersch" <abersch@museumca.org>
Cc: "talk" <talk@lists.collectionspace.org>
Sent: Tuesday, May 21, 2013 4:01:39 PM
Subject: Re: [Talk] Cspace installed,
Hi Al and Becky,
Thanks for this update - yes, you identified that next step.
Depending on where you downloaded the Services source code, you may
need to change into the relevant directory containing that source
code.
You want to be in the same directory from which you ran 'mvn clean
install -DskipTests=true'. You'll find that build.xml file in that
directory, and from there, you can run 'ant undeploy deploy create_db
import'
One more thing: it's a good idea to first stop CollectionSpace, before
running the above, then you can restart it. To stop them:
http://wiki.collectionspace.org/display/DOC/Shutting+Down+CollectionSpace+Servers
Aron
On Tue, May 21, 2013 at 3:58 PM, Al Bersch <abersch@museumca.org> wrote:
> Hi again,
>
> Ok, whoops, so we realized we forgot to run:
>
> ant undeploy deploy create_db import
>
> But now when we try to run it we get the message:
>
> buildfile: build.xml does not exist.
>
> we are in /tmp as root.
>
> thanks so much,
>
> Al
>
> Al Bersch
> Digital Project Coordinator
> Oakland Museum of California
> 1000 Oak Street, Oakland, CA 94607
> abersch@museumca.org
> 510-318-8468
> ________________________________
> From: "Al Bersch" <abersch@museumca.org>
> To: "talk" <talk@lists.collectionspace.org>
> Cc: "Richard Millet" <richard.millet@berkeley.edu>
> Sent: Tuesday, May 21, 2013 3:32:31 PM
> Subject: Cspace installed,
>
>
> Hi again,
>
> So, we competed the build successfully and started the server, but we aren't
> able to log in as admin@core.collectionspace.org. When you enter the default
> username and password (admin@core.collectionspace.org. and Administrator)
> and click the login button, it brings you back to the login screen. We went
> looking for user and password, and found that the database for cspace is not
> installed. The tables we can see are postgres template0 and postgres
> template1. Is there a db install we missed? Thanks again!
>
> Al and Becky
>
> Al Bersch
> Digital Project Coordinator
> Oakland Museum of California
> 1000 Oak Street, Oakland, CA 94607
> abersch@museumca.org
> 510-318-8468
>
>
> _______________________________________________
> Talk mailing list
> Talk@lists.collectionspace.org
> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
>
JM
Jesse Martinez
Tue, May 21, 2013 11:15 PM
And just a friendly tip: the /tmp directory will probably get cleaned out
if the server ever gets rebooted. (Most, if not all, Linux-type OSs will do
this.) It may be a good idea to move the services code to a non-destructive
location, like a user directory. Something like "mv /tmp/services
/home/root/" should work if you're working as the root user. (I'd recommend
a restricted and dedicated user account for a production server, though,
but using root should be OK for testing and development.)
On Tue, May 21, 2013 at 7:01 PM, Aron Roberts aron@socrates.berkeley.eduwrote:
Hi Al and Becky,
Thanks for this update - yes, you identified that next step.
Depending on where you downloaded the Services source code, you may
need to change into the relevant directory containing that source
code.
You want to be in the same directory from which you ran 'mvn clean
install -DskipTests=true'. You'll find that build.xml file in that
directory, and from there, you can run 'ant undeploy deploy create_db
import'
One more thing: it's a good idea to first stop CollectionSpace, before
running the above, then you can restart it. To stop them:
http://wiki.collectionspace.org/display/DOC/Shutting+Down+CollectionSpace+Servers
Aron
On Tue, May 21, 2013 at 3:58 PM, Al Bersch abersch@museumca.org wrote:
Hi again,
Ok, whoops, so we realized we forgot to run:
ant undeploy deploy create_db import
But now when we try to run it we get the message:
buildfile: build.xml does not exist.
we are in /tmp as root.
thanks so much,
Al
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
From: "Al Bersch" abersch@museumca.org
To: "talk" talk@lists.collectionspace.org
Cc: "Richard Millet" richard.millet@berkeley.edu
Sent: Tuesday, May 21, 2013 3:32:31 PM
Subject: Cspace installed,
Hi again,
So, we competed the build successfully and started the server, but we
and click the login button, it brings you back to the login screen. We
looking for user and password, and found that the database for cspace is
installed. The tables we can see are postgres template0 and postgres
template1. Is there a db install we missed? Thanks again!
Al and Becky
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
Talk mailing list
Talk@lists.collectionspace.org
And just a friendly tip: the /tmp directory will probably get cleaned out
if the server ever gets rebooted. (Most, if not all, Linux-type OSs will do
this.) It may be a good idea to move the services code to a non-destructive
location, like a user directory. Something like "mv /tmp/services
/home/root/" should work if you're working as the root user. (I'd recommend
a restricted and dedicated user account for a production server, though,
but using root should be OK for testing and development.)
On Tue, May 21, 2013 at 7:01 PM, Aron Roberts <aron@socrates.berkeley.edu>wrote:
> Hi Al and Becky,
>
> Thanks for this update - yes, you identified that next step.
>
> Depending on where you downloaded the Services source code, you may
> need to change into the relevant directory containing that source
> code.
>
> You want to be in the same directory from which you ran 'mvn clean
> install -DskipTests=true'. You'll find that build.xml file in that
> directory, and from there, you can run 'ant undeploy deploy create_db
> import'
>
> One more thing: it's a good idea to first stop CollectionSpace, before
> running the above, then you can restart it. To stop them:
>
>
> http://wiki.collectionspace.org/display/DOC/Shutting+Down+CollectionSpace+Servers
>
> Aron
>
> On Tue, May 21, 2013 at 3:58 PM, Al Bersch <abersch@museumca.org> wrote:
> > Hi again,
> >
> > Ok, whoops, so we realized we forgot to run:
> >
> > ant undeploy deploy create_db import
> >
> > But now when we try to run it we get the message:
> >
> > buildfile: build.xml does not exist.
> >
> > we are in /tmp as root.
> >
> > thanks so much,
> >
> > Al
> >
> > Al Bersch
> > Digital Project Coordinator
> > Oakland Museum of California
> > 1000 Oak Street, Oakland, CA 94607
> > abersch@museumca.org
> > 510-318-8468
> > ________________________________
> > From: "Al Bersch" <abersch@museumca.org>
> > To: "talk" <talk@lists.collectionspace.org>
> > Cc: "Richard Millet" <richard.millet@berkeley.edu>
> > Sent: Tuesday, May 21, 2013 3:32:31 PM
> > Subject: Cspace installed,
> >
> >
> > Hi again,
> >
> > So, we competed the build successfully and started the server, but we
> aren't
> > able to log in as admin@core.collectionspace.org. When you enter the
> default
> > username and password (admin@core.collectionspace.org. and
> Administrator)
> > and click the login button, it brings you back to the login screen. We
> went
> > looking for user and password, and found that the database for cspace is
> not
> > installed. The tables we can see are postgres template0 and postgres
> > template1. Is there a db install we missed? Thanks again!
> >
> > Al and Becky
> >
> > Al Bersch
> > Digital Project Coordinator
> > Oakland Museum of California
> > 1000 Oak Street, Oakland, CA 94607
> > abersch@museumca.org
> > 510-318-8468
> >
> >
> > _______________________________________________
> > Talk mailing list
> > Talk@lists.collectionspace.org
> >
> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
> >
>
> _______________________________________________
> Talk mailing list
> Talk@lists.collectionspace.org
>
> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
>
AR
Aron Roberts
Tue, May 21, 2013 11:19 PM
Yes, absolutely. And you don't need to 'pull' build.xml out of it;
after running
tar zxvf v3.2.2.tar.gz
to extract the 'v3.2.2' directory from that archive file ("tarball"),
and changing to that directory:
cd v3.2.2
You can then run those 'missing' commands straightaway:
ant undeploy deploy create_db import
Aron
P.S. Thanks, Jesse Martinez, for your helpful follow-up as well!
On Tue, May 21, 2013 at 4:13 PM, Al Bersch abersch@museumca.org wrote:
Thanks Aron,
We ran find / -name build.xml and all that was returned were two builds
under apache tomcat. We were in the tmp directory where we ran mvn clean
install, but the installer cleaned itself up and the original directory
(collectionspace -services) was cleaned up and removed by the installer and
no longer exists. Would it be ok if we re-ran
wget https://github.com/collectionspace/services/archive/v3.2.2.tar.gz
and pulled the build.xml out of it?
Thanks again,
Al
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
From: "Aron Roberts" aron@socrates.berkeley.edu
To: "Al Bersch" abersch@museumca.org
Cc: "talk" talk@lists.collectionspace.org
Sent: Tuesday, May 21, 2013 4:01:39 PM
Subject: Re: [Talk] Cspace installed,
Hi Al and Becky,
Thanks for this update - yes, you identified that next step.
Depending on where you downloaded the Services source code, you may
need to change into the relevant directory containing that source
code.
You want to be in the same directory from which you ran 'mvn clean
install -DskipTests=true'. You'll find that build.xml file in that
directory, and from there, you can run 'ant undeploy deploy create_db
import'
One more thing: it's a good idea to first stop CollectionSpace, before
running the above, then you can restart it. To stop them:
http://wiki.collectionspace.org/display/DOC/Shutting+Down+CollectionSpace+Servers
Aron
On Tue, May 21, 2013 at 3:58 PM, Al Bersch abersch@museumca.org wrote:
Hi again,
Ok, whoops, so we realized we forgot to run:
ant undeploy deploy create_db import
But now when we try to run it we get the message:
buildfile: build.xml does not exist.
we are in /tmp as root.
thanks so much,
Al
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
From: "Al Bersch" abersch@museumca.org
To: "talk" talk@lists.collectionspace.org
Cc: "Richard Millet" richard.millet@berkeley.edu
Sent: Tuesday, May 21, 2013 3:32:31 PM
Subject: Cspace installed,
Hi again,
So, we competed the build successfully and started the server, but we
aren't
able to log in as admin@core.collectionspace.org. When you enter the
default
username and password (admin@core.collectionspace.org. and Administrator)
and click the login button, it brings you back to the login screen. We
went
looking for user and password, and found that the database for cspace is
not
installed. The tables we can see are postgres template0 and postgres
template1. Is there a db install we missed? Thanks again!
Al and Becky
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
> Would it be ok if we re-ran
>
> wget https://github.com/collectionspace/services/archive/v3.2.2.tar.gz
Yes, absolutely. And you don't need to 'pull' build.xml out of it;
after running
tar zxvf v3.2.2.tar.gz
to extract the 'v3.2.2' directory from that archive file ("tarball"),
and changing to that directory:
cd v3.2.2
You can then run those 'missing' commands straightaway:
ant undeploy deploy create_db import
Aron
P.S. Thanks, Jesse Martinez, for your helpful follow-up as well!
On Tue, May 21, 2013 at 4:13 PM, Al Bersch <abersch@museumca.org> wrote:
> Thanks Aron,
>
> We ran find / -name build.xml and all that was returned were two builds
> under apache tomcat. We were in the tmp directory where we ran mvn clean
> install, but the installer cleaned itself up and the original directory
> (collectionspace -services) was cleaned up and removed by the installer and
> no longer exists. Would it be ok if we re-ran
>
> wget https://github.com/collectionspace/services/archive/v3.2.2.tar.gz
>
> and pulled the build.xml out of it?
>
> Thanks again,
>
>
> Al
>
>
> Al Bersch
> Digital Project Coordinator
> Oakland Museum of California
> 1000 Oak Street, Oakland, CA 94607
> abersch@museumca.org
> 510-318-8468
> ________________________________
> From: "Aron Roberts" <aron@socrates.berkeley.edu>
> To: "Al Bersch" <abersch@museumca.org>
> Cc: "talk" <talk@lists.collectionspace.org>
> Sent: Tuesday, May 21, 2013 4:01:39 PM
> Subject: Re: [Talk] Cspace installed,
>
>
> Hi Al and Becky,
>
> Thanks for this update - yes, you identified that next step.
>
> Depending on where you downloaded the Services source code, you may
> need to change into the relevant directory containing that source
> code.
>
> You want to be in the same directory from which you ran 'mvn clean
> install -DskipTests=true'. You'll find that build.xml file in that
> directory, and from there, you can run 'ant undeploy deploy create_db
> import'
>
> One more thing: it's a good idea to first stop CollectionSpace, before
> running the above, then you can restart it. To stop them:
>
> http://wiki.collectionspace.org/display/DOC/Shutting+Down+CollectionSpace+Servers
>
> Aron
>
> On Tue, May 21, 2013 at 3:58 PM, Al Bersch <abersch@museumca.org> wrote:
>> Hi again,
>>
>> Ok, whoops, so we realized we forgot to run:
>>
>> ant undeploy deploy create_db import
>>
>> But now when we try to run it we get the message:
>>
>> buildfile: build.xml does not exist.
>>
>> we are in /tmp as root.
>>
>> thanks so much,
>>
>> Al
>>
>> Al Bersch
>> Digital Project Coordinator
>> Oakland Museum of California
>> 1000 Oak Street, Oakland, CA 94607
>> abersch@museumca.org
>> 510-318-8468
>> ________________________________
>> From: "Al Bersch" <abersch@museumca.org>
>> To: "talk" <talk@lists.collectionspace.org>
>> Cc: "Richard Millet" <richard.millet@berkeley.edu>
>> Sent: Tuesday, May 21, 2013 3:32:31 PM
>> Subject: Cspace installed,
>>
>>
>> Hi again,
>>
>> So, we competed the build successfully and started the server, but we
>> aren't
>> able to log in as admin@core.collectionspace.org. When you enter the
>> default
>> username and password (admin@core.collectionspace.org. and Administrator)
>> and click the login button, it brings you back to the login screen. We
>> went
>> looking for user and password, and found that the database for cspace is
>> not
>> installed. The tables we can see are postgres template0 and postgres
>> template1. Is there a db install we missed? Thanks again!
>>
>> Al and Becky
>>
>> Al Bersch
>> Digital Project Coordinator
>> Oakland Museum of California
>> 1000 Oak Street, Oakland, CA 94607
>> abersch@museumca.org
>> 510-318-8468
>>
>>
>> _______________________________________________
>> Talk mailing list
>> Talk@lists.collectionspace.org
>>
>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
>>
>
AB
Al Bersch
Tue, May 21, 2013 11:32 PM
Yes, absolutely. And you don't need to 'pull' build.xml out of it;
after running
tar zxvf v3.2.2.tar.gz
to extract the 'v3.2.2' directory from that archive file ("tarball"),
and changing to that directory:
cd v3.2.2
You can then run those 'missing' commands straightaway:
ant undeploy deploy create_db import
Aron
P.S. Thanks, Jesse Martinez, for your helpful follow-up as well!
On Tue, May 21, 2013 at 4:13 PM, Al Bersch abersch@museumca.org wrote:
Thanks Aron,
We ran find / -name build.xml and all that was returned were two builds
under apache tomcat. We were in the tmp directory where we ran mvn clean
install, but the installer cleaned itself up and the original directory
(collectionspace -services) was cleaned up and removed by the installer and
no longer exists. Would it be ok if we re-ran
wget https://github.com/collectionspace/services/archive/v3.2.2.tar.gz
and pulled the build.xml out of it?
Thanks again,
Al
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
From: "Aron Roberts" aron@socrates.berkeley.edu
To: "Al Bersch" abersch@museumca.org
Cc: "talk" talk@lists.collectionspace.org
Sent: Tuesday, May 21, 2013 4:01:39 PM
Subject: Re: [Talk] Cspace installed,
Hi Al and Becky,
Thanks for this update - yes, you identified that next step.
Depending on where you downloaded the Services source code, you may
need to change into the relevant directory containing that source
code.
You want to be in the same directory from which you ran 'mvn clean
install -DskipTests=true'. You'll find that build.xml file in that
directory, and from there, you can run 'ant undeploy deploy create_db
import'
One more thing: it's a good idea to first stop CollectionSpace, before
running the above, then you can restart it. To stop them:
http://wiki.collectionspace.org/display/DOC/Shutting+Down+CollectionSpace+Servers
Aron
On Tue, May 21, 2013 at 3:58 PM, Al Bersch abersch@museumca.org wrote:
Hi again,
Ok, whoops, so we realized we forgot to run:
ant undeploy deploy create_db import
But now when we try to run it we get the message:
buildfile: build.xml does not exist.
we are in /tmp as root.
thanks so much,
Al
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
From: "Al Bersch" abersch@museumca.org
To: "talk" talk@lists.collectionspace.org
Cc: "Richard Millet" richard.millet@berkeley.edu
Sent: Tuesday, May 21, 2013 3:32:31 PM
Subject: Cspace installed,
Hi again,
So, we competed the build successfully and started the server, but we
aren't
able to log in as admin@core.collectionspace.org. When you enter the
default
username and password (admin@core.collectionspace.org. and Administrator)
and click the login button, it brings you back to the login screen. We
went
looking for user and password, and found that the database for cspace is
not
installed. The tables we can see are postgres template0 and postgres
template1. Is there a db install we missed? Thanks again!
Al and Becky
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
Thanks so much! We are in.
many thanks,
Al and Becky
Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
----- Original Message -----
From: "Aron Roberts" <aron@socrates.berkeley.edu>
To: "Al Bersch" <abersch@museumca.org>
Cc: "talk" <talk@lists.collectionspace.org>
Sent: Tuesday, May 21, 2013 4:19:43 PM
Subject: Re: [Talk] Cspace installed,
> Would it be ok if we re-ran
>
> wget https://github.com/collectionspace/services/archive/v3.2.2.tar.gz
Yes, absolutely. And you don't need to 'pull' build.xml out of it;
after running
tar zxvf v3.2.2.tar.gz
to extract the 'v3.2.2' directory from that archive file ("tarball"),
and changing to that directory:
cd v3.2.2
You can then run those 'missing' commands straightaway:
ant undeploy deploy create_db import
Aron
P.S. Thanks, Jesse Martinez, for your helpful follow-up as well!
On Tue, May 21, 2013 at 4:13 PM, Al Bersch <abersch@museumca.org> wrote:
> Thanks Aron,
>
> We ran find / -name build.xml and all that was returned were two builds
> under apache tomcat. We were in the tmp directory where we ran mvn clean
> install, but the installer cleaned itself up and the original directory
> (collectionspace -services) was cleaned up and removed by the installer and
> no longer exists. Would it be ok if we re-ran
>
> wget https://github.com/collectionspace/services/archive/v3.2.2.tar.gz
>
> and pulled the build.xml out of it?
>
> Thanks again,
>
>
> Al
>
>
> Al Bersch
> Digital Project Coordinator
> Oakland Museum of California
> 1000 Oak Street, Oakland, CA 94607
> abersch@museumca.org
> 510-318-8468
> ________________________________
> From: "Aron Roberts" <aron@socrates.berkeley.edu>
> To: "Al Bersch" <abersch@museumca.org>
> Cc: "talk" <talk@lists.collectionspace.org>
> Sent: Tuesday, May 21, 2013 4:01:39 PM
> Subject: Re: [Talk] Cspace installed,
>
>
> Hi Al and Becky,
>
> Thanks for this update - yes, you identified that next step.
>
> Depending on where you downloaded the Services source code, you may
> need to change into the relevant directory containing that source
> code.
>
> You want to be in the same directory from which you ran 'mvn clean
> install -DskipTests=true'. You'll find that build.xml file in that
> directory, and from there, you can run 'ant undeploy deploy create_db
> import'
>
> One more thing: it's a good idea to first stop CollectionSpace, before
> running the above, then you can restart it. To stop them:
>
> http://wiki.collectionspace.org/display/DOC/Shutting+Down+CollectionSpace+Servers
>
> Aron
>
> On Tue, May 21, 2013 at 3:58 PM, Al Bersch <abersch@museumca.org> wrote:
>> Hi again,
>>
>> Ok, whoops, so we realized we forgot to run:
>>
>> ant undeploy deploy create_db import
>>
>> But now when we try to run it we get the message:
>>
>> buildfile: build.xml does not exist.
>>
>> we are in /tmp as root.
>>
>> thanks so much,
>>
>> Al
>>
>> Al Bersch
>> Digital Project Coordinator
>> Oakland Museum of California
>> 1000 Oak Street, Oakland, CA 94607
>> abersch@museumca.org
>> 510-318-8468
>> ________________________________
>> From: "Al Bersch" <abersch@museumca.org>
>> To: "talk" <talk@lists.collectionspace.org>
>> Cc: "Richard Millet" <richard.millet@berkeley.edu>
>> Sent: Tuesday, May 21, 2013 3:32:31 PM
>> Subject: Cspace installed,
>>
>>
>> Hi again,
>>
>> So, we competed the build successfully and started the server, but we
>> aren't
>> able to log in as admin@core.collectionspace.org. When you enter the
>> default
>> username and password (admin@core.collectionspace.org. and Administrator)
>> and click the login button, it brings you back to the login screen. We
>> went
>> looking for user and password, and found that the database for cspace is
>> not
>> installed. The tables we can see are postgres template0 and postgres
>> template1. Is there a db install we missed? Thanks again!
>>
>> Al and Becky
>>
>> Al Bersch
>> Digital Project Coordinator
>> Oakland Museum of California
>> 1000 Oak Street, Oakland, CA 94607
>> abersch@museumca.org
>> 510-318-8468
>>
>>
>> _______________________________________________
>> Talk mailing list
>> Talk@lists.collectionspace.org
>>
>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
>>
>