Re: [dspace-tech] Localhost

2020-10-09 Thread Tony Brian Albers
Hi,

Maya, HAProxy is an open-source High-Availability Load Balancer.

In short, this means that a HAProxy can handle incoming connections and 
then spread them out across i.e. multiple webservers behind it.

HTH

/tony

On 10/09/20 09:59 AM, Maya Zbitneva wrote:
> Good day!
> 
> Thank you for the answer. Could you explain me please : What does It 
> mean "HAProxy"? I understand just word "Proxy" and do not understand 
> "HAProxy".
> 
> With respect.
> 
> четверг, 8 октября 2020 г. в 13:13:48 UTC+4, Paul Münch:
> 
> Hello,
> 
> yes, at our institution we do that. Connections to other components
> like database or web server are enabled by HAProxy.
> 
> Kind regards,
> 
> Paul Münch
> 
> Am 03.10.20 um 16:28 schrieb Maya Zbitneva:
>> Good day!
>>
>> Tell me please. Can DSpace 6.3 be running in full functionality
>> under localhost?
>>
>> With Respect,
>> System administrator,
>> Zbitneva Maya
>> -- 
>> All messages to this mailing list should adhere to the DuraSpace
>> Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
>> ---
>> You received this message because you are subscribed to the Google
>> Groups "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to dspace-tech...@googlegroups.com.
>> To view this discussion on the web visit
>> 
>> https://groups.google.com/d/msgid/dspace-tech/5815cc8f-eb47-485b-802b-14c81aeb04c4n%40googlegroups.com
>> 
>> .
> 
> -- 
> Philipps-Universität Marburg | UB
> Digitale Dienste | Deutschhausstraße 9 | D228
> Tel.+49 06421 28-24624   
> --
> 
> -- 
> All messages to this mailing list should adhere to the DuraSpace Code of 
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google 
> Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to dspace-tech+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/1f6a1dd1-b30b-457c-82c3-74c23d4c6e52n%40googlegroups.com
>  
> .


-- 
Tony Albers - Systems Architect - IT Development Royal Danish Library, 
Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/34ae5003-b696-94d0-531d-f30dd8c15934%40kb.dk.


Re: [dspace-tech] Backup issues due to assetstore size

2020-08-12 Thread Tony Brian Albers
I hope I'm not being annoying, please bear with me. 

I'd like to explain how parallelism actually works in some(not all)
backup systems. See my answers below if you're interested. 

On Wed, 2020-08-12 at 09:14 -0400, Mark H. Wood wrote:
> 
> 
> If the bottleneck is network, higher parallelism doesn't help.

Right, it won't.

>   If
> the bottleneck is CPU or memory, higher parallelism doesn't help.

Yes, but that really depends on whether the CPU/MEM is actually used
properly.

>   If
> the bottleneck is disk, higher parallelism only helps if those ten
> volumes are on separate physical disks.

Not necessarily. In general backup software scans the file system
looking for changes etc. before actually starting to stream data to the
backup storage. Often the scan and the save stream are handled by
single-threaded processes who traverses the file and folder structure,
and in this case where we have a large number of files, this will take
a large amount of time even though the disk might not be struggling at
all. But it will still be seen as a disk bottleneck.
By employing several scanning and streaming processes on the same file
system/disk, we can actually speed things up a lot. 

For instance, EMC NetWorker version > 8.1 actually can do parallel save
streams in one backup job on the same file system. I've used this a
number of times in situations like this and it helps a lot.


>   (Where do you buy 10GB disks
> these days?)  Same for the storage controller(s).  That left me to
> consider the backup system itself, where the slowest thing in the
> entire process, by far, is the tape drive(s).

If they use tape drives and write directly to them, that might be true.
It's hard to utilize a tape drive's performance by saving directly to
it from a client. However, for sequential reads/writes tape is often
extremely fast and can easily outperform a RAID-5 storage system of the
same capacity. LTO-8 for example has a compressed write speed of
900MB/sec.
So if you have a fast temporary storage area on the backup system, you
can stream to that from the client and let the backup system dump it to
tape and save huge amounts of time. 

> 
> The problem *could* be the local disks.  I'd want to prove that
> first.

It actually could. And that's probably a good place to start since it's
quite easy to check.

/tony
(who is actually a certified EMC NetWorker Specialist - Implementation
Engineer) 

> 
> -- 
> Mark H. Wood
> Lead Technology Analyst
> 
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749
> www.ulib.iupui.edu
> 
-- 
Tony Albers - Systems Architect - IT Development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/ada0a42220c81cfbd244fe6741e93225d5f76e35.camel%40kb.dk.


Re: [dspace-tech] Backup issues due to assetstore size

2020-08-11 Thread Tony Brian Albers
On Tue, 2020-08-11 at 11:07 -0400, Mark H. Wood wrote:
> On Tue, Aug 11, 2020 at 01:34:48PM +, Michael White wrote:
> > Our DSpace instance has been steadily growing over the years and
> > now has over 18,000 records, all with one or more full text files
> > attached (taking up around 106GB of disk space). We are on DSpace
> > 6.2 and currently only have one assetstore configured.
> > 
> > Whilst we have no issues with dspace operation/performance, my
> > System and Network colleagues are reporting problems when their
> > scheduled backup jobs of the DSpace server are trying to run as
> > they are timing out, which they suspect is due to the large number
> > of files on the server.
> > 
> > To resolve this, they have asked me about the possibility of
> > splitting the current dspace filesystem in to a number of smaller
> > filesystems (which they can then back up in parallel, reducing the
> > overall time to back up the dspace server).
> > 
> > To that end they have asked about the possibility of splitting the
> > assetstore in to a number of filesystems and creating softlinks to
> > these from the assetstore - e.g. adding 9 new filesystems for
> > clusters of 10 assetstore subdirectories - i.e.:
> > 
> > .../dspace/assetstore/10 -> .../assetstores10-19/10
> > .../dspace/assetstore/11 -> .../assetstores10-19/11
> > .../dspace/assetstore/12 -> .../assetstores10-19/12
> >  ...
> > .../dspace/assetstore/20 -> ../assetstores20-29/20
> > 
> > Has anyone ever done anything like this? Any reasons why that
> > wouldn't work?

Not really. However one should consider using mountpoints in the
assetstore itself instead. That would make it easier to administrate.


> 
> I see no obvious reason why it wouldn't work.
> 
> "They" must think that the backup storage device is the bottleneck,
> if
> they believe that parallel backups will improve throughput. 

Ehm, not following you here, Mark. 
What I think they want to achieve is a higher client parallelism. This
means that instead of one save stream running on one file system they
can have several savestreams running, one on each filesystem. If they
had backup storage performance issues that would not make sense.
So, going for higher parallelism by having several smaller file systems
makes sense.


>  I would
> do some exploring to see if this is true, before doing a lot of work
> to redistribute all those files.  Is there another lurking
> bottleneck,
> nearly as narrow, currently covered by the one they are working on?

Excellent point, can the DSpace server handle the extra network
traffic. Can the network?

> 
> Each of those ten volumes will continue to grow, but at 1/10 the
> current rate, so this puts the problem off for some time but doesn't
> solve it in the long run.  That will give you some time to ponder
> whether there is a smarter way to back up your repository.
> 
> > I can, of course, add another assetstore alongside the existing
> > one, but my understanding is that this would only be used going
> > forwards, and so wouldn't address the large number of files in the
> > current assetstore - unless there is a way to then distribute the
> > existing assetstore across a number of smaller assetstores?
> 
> Your understanding is correct:  all new submissions go into the
> "current assetstore".
> 
> There is a "BitStore migration tool" which moves *all* content from
> one
> assetstore to another:
>   
> https://wiki.lyrasis.org/display/DSDOC6x/Storage+Layer#StorageLayer-MigrateBitStores
> 
> That isn't quite what you want, but it might serve as a model for a
> tool to split up an assetstore.
> 
> If you do go this route, you might look at changing the way you do
> backup.  The materials in the "old" assetstores are probably subject
> to very infrequent deletions but are otherwise static storage -- all
> new and replacement content goes into the "current" assetstore.  You
> might devise a very different backup schedule for the old assetstores
> vs. current.

I totally agree. For mostly static content you could do a full backup
once or twice a year combined with incremental and cumulative
incremental backups.

I'd suggest something like this:

.../dspace/assetstore/10  --mountpoint, filesystem10
.../dspace/assetstore/11  --mountpoint, filesystem11
.../dspace/assetstore/12  --mountpoint, filesystem12
 ...
.../dspace/assetstore/20  --mountpoint, filesystem20

That would do for the few houndreds of gigabytes you have. If you had >
10x that, I'd probably go for something like ZFS with replication and
snapshot backup

Good luck,

/tony

> 
> -- 
> Mark H. Wood
> Lead Technology Analyst
> 
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749
> www.ulib.iupui.edu
> 
-- 
Tony Albers - Systems Architect - IT Development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142

-- 
All messages to this 

Re: [dspace-tech] ip address

2019-12-11 Thread Tony Brian Albers
On Thu, 2019-12-12 at 09:34 +0300, Mickiyas Kinfemichael wrote:
> Hey,I'm wondering if you can help with changing localhost:8080 tomy
> ip address so that anyone can access the resources i provide i went
> to dspace folder and to the dspace config file and changed the local
> host to my ip address but i'm still using the local host how can i
> fix this?

You probably need to change your tomcat settings, they're usually in
~tomcat/conf/server.xml  but it depends on your platform etc.

/tony

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/67ff63de62d2de999c7a1c3a42755d9982dc0708.camel%40kb.dk.


Re: [dspace-tech] Database connectivity Issue

2019-06-17 Thread Tony Brian Albers
What does getenforce say? This might be SELinux doing its job ;)

Check /var/log/audit/audit.log for stuff related to tomcat/catalina,
pgsql etc. 

Check the pgsql logs, they usually have some pointer as to where it
goes wrong. Also check the tomcat logs.

And an important thing:

The password stated in dspace.cfg or local.cfg must be entered as
follows:

db.password = un@b0mb3R?

make sure the spaces are there and be careful that your password
doesn't contain = or localized characters (german umlaut etc.)

also try to connect to pgsql directly from the CLI as the dspace user
like so:

[dspace@rigel config]$ psql -U dspace -W -d dspace
Password for user dspace: 
psql (9.5.14)
Type "help" for help.

dspace=>> \l
  List of databases
   Name|  Owner   | Encoding |   Collate   |Ctype|   Access
privileges   
---+--+--+-+-+-
--
 dspace| dspace   | UTF8 | C   | C   | 
 postgres  | postgres | UTF8 | en_GB.UTF-8 | en_GB.UTF-8 | 
 template0 | postgres | UTF8 | en_GB.UTF-8 | en_GB.UTF-8 |
=c/postgres  +
   |  |  | | |
postgres=CTc/postgres
 template1 | postgres | UTF8 | en_GB.UTF-8 | en_GB.UTF-8 |
=c/postgres  +
   |  |  | | |
postgres=CTc/postgres
(4 rows)

dspace=>

HTH

/tony

On Mon, 2019-06-17 at 09:35 -0400, Keith Jones wrote:
> Hi,
> I checked the dspace.cfg file and the information is correct.
> 
> I've run this:
> 
> -bash-4.2$ ../bin/dspace database test
> 
> Attempting to connect to database using these configurations:
>  - URL: jdbc:postgresql://localhost:5432/dspace
>  - Driver: org.postgresql.Driver
>  - Username: dspace
>  - Password: [hidden]
>  - Schema:
> 
> Testing connection...
> Connected successfully!
> 
> On Mon, Jun 17, 2019 at 9:26 AM Ayuka Phanuel  > wrote:
> > 
> > Confirm your database credentials (name, url, password, username)
> > added to your local.cfg or dspace.cfg
> > 
> > 
> > 
> > On Mon, Jun 17, 2019 at 4:21 PM Keith Jones 
> > wrote:
> > > 
> > > Hi All,
> > > 
> > > I'm trying to move an installation of Dspace 5.3 to a new Centos
> > > 7
> > > server. I've installed all the software required and have
> > > everything
> > > running. I'm able to compile the Dspace software, which goes
> > > without a
> > > problem. I test the database connection and it works fine. When I
> > > deploy the xmlui into the webapps area of Tomcat, I'm getting the
> > > following error:
> > > 
> > > SEVERE: Exception sending context destroyed event to listener
> > > instance
> > > of class org.dspace.app.util.DS
> > > paceContextListener
> > > java.lang.IllegalStateException: The connection attempt failed.
> > > at
> > > org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseMa
> > > nager.java:655)
> > > at
> > > org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseMa
> > > nager.java:629)
> > > at org.dspace.core.Context.init(Context.java:121)
> > > at org.dspace.core.Context.(Context.java:95)
> > > at
> > > org.dspace.app.util.AbstractDSpaceWebapp.deregister(AbstractDSpac
> > > eWebapp.java:97)
> > > at
> > > org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpace
> > > ContextListener.java:146)
> > > at
> > > org.apache.catalina.core.StandardContext.listenerStop(StandardCon
> > > text.java:5165)
> > > at
> > > org.apache.catalina.core.StandardContext.stopInternal(StandardCon
> > > text.java:5829)
> > > at
> > > org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:22
> > > 1)
> > > at
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:1
> > > 49)
> > > at
> > > org.apache.catalina.core.ContainerBase.addChildInternal(Container
> > > Base.java:899)
> > > at
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.jav
> > > a:875)
> > > at
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
> > > 652)
> > > at
> > > org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig
> > > .java:1260)
> > > at
> > > org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostCo
> > > nfig.java:2002)
> > > at
> > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.jav
> > > a:511)
> > > at
> > > java.util.concurrent.FutureTask.run(FutureTask.java:266)
> > > at
> > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecu
> > > tor.java:1149)
> > > at
> > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExec
> > > utor.java:624)
> > > at java.lang.Thread.run(Thread.java:748)
> > > Caused by: org.postgresql.util.PSQLException: The connection
> > > attempt failed.
> > > at
> > > org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(C
> > > 

[dspace-tech] Google groups issue accessing dspace-tech

2019-05-14 Thread Tony Brian Albers
Is anyone else having issues searchin/vieweing dspace-tech through
google groups?

If I search for something, I get:

"This group either doesn't exist, or you don't have permission to
access it. If you're sure this group exists, contact the Owner of the
group and ask them to give you access.
Reload"

Which is odd since I can receive and send mails using this account that
I'm sending from now.

/tony


-- 
Tony Albers - Systems Architect - IT Development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1557827739.1778.13.camel%40kb.dk.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Oracle JDK 8 with new license

2019-05-09 Thread Tony Brian Albers
On Thu, 2019-05-09 at 10:39 -0300, Vinicius Assef wrote:
> Hey guys, we use Oracle JDK 8 with DSpace 6.
> 
> Our installation script downloads it from Oracle servers, but the
> latest versions (8u211 and 8u212) have a new license and direct
> public downloads are not allowed anymore.
> 
> I'd like to know how is your experience with OpenJDK 8 and DSpace 6.
> Any problems with anybody?
> 
> Thanks in advance.
> 
> --
> Vinicius Assef
> 

We've used OpenJDK with DS6 for a couple of years now, no issues.

/tony

-- 
Tony Albers - Systems Architect - IT Development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1557413570.6839.9.camel%40kb.dk.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] WORM submissions?

2018-11-05 Thread Tony Brian Albers
Thanks Claudia, I remembered that.

Our challenge is that sometimes the owner/administrator of a collection
should not be able to delete things.

/tony

On Mon, 2018-11-05 at 12:57 +0100, Claudia Jürgen wrote:
> Hello Tony,
> 
> this is the default behavior. A Submitter can only edit items in his
> personal workspace.
> Once he submitted them and they are in the workflow and/or accepted
> he
> can not edit the items anymore.
> 
> Hope this helps
> 
> Claudia Jürgen
> 
> 
> Am 02.11.2018 um 10:45 schrieb Tony Brian Albers:
> > No, not about actual living beings, but Write Once Read Many.
> > 
> > Is it possible to make a collection only accept deposits and not
> > let
> > the owner delete what he/she has deposited?
> > 
> > TIA
> > 
> > /tony
> > 
> > --
> > Tony Albers
> > Systems Architect
> > Systems Director, National Cultural Heritage Cluster
> > Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
> > Tel: +45 2566 2383 / +45 8946 2316
> > 
> 
> --
> Claudia Juergen
> Eldorado
> 
> Technische Universität Dortmund
> Universitätsbibliothek
> Vogelpothsweg 76
> 44227 Dortmund
> 
> Tel.: +49 231-755 40 43
> Fax: +49 231-755 40 32
> claudia.juer...@tu-dortmund.de
> www.ub.tu-dortmund.de
> 
> Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich.
> Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht
> der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte
> den Absender und vernichten Sie diese Mail. Vielen Dank.
> Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
> ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
> Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung
> eines solchen Schriftstücks per Telefax erfolgen.
> 
> Important note: The information included in this e-mail is
> confidential. It is solely intended for the recipient. If you are not
> the intended recipient of this e-mail please contact the sender and
> delete this message. Thank you. Without prejudice of e-mail
> correspondence, our statements are only legally binding when they are
> made in the conventional written form (with personal signature) or
> when such documents are sent by fax.
> 

-- 
-- 
Tony Albers
Systems Architect
Systems Director, National Cultural Heritage Cluster
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] WORM submissions?

2018-11-05 Thread Tony Brian Albers
On Fri, 2018-11-02 at 11:56 +0100, Michael Plate wrote:
> Hi Tony,
> 
> 
> Am 02.11.18 um 10:45 schrieb Tony Brian Albers:
> > No, not about actual living beings, but Write Once Read Many.
> > 
> > Is it possible to make a collection only accept deposits and not
> > let
> > the owner delete what he/she has deposited?
> 
> […]
> 
> it is possible, if I understand you correct.
> We use a LDAP-based group wich can only submit to one collection and
> there is no read access by default.
> 
> I think it was this way, but you have to fiddle around a bit...
> - create a collection
>  after that, assign roles - you should have a COLLECTION_XXX_SUBMIT
> and
>  COLLECTION_XXX_DEFAULT_READ group after
> - add some steps for the people to work with the workflow
> - use Access Control / Authorizations and add a new policy "ADD" for
> the
>   group or users who should submit
> - set DEFAULT_ITEM_READ and DEFAULT_BITSTREAM_READ to the people
> doing
>   the workflow
> - remove READ for Anonymous
> 
> after submission and workflow you have to move the item to the target
> collection, check "Inherit policies" and move it.
> 
> I hope this is the right way, I struggled a bit with it.
> 
> 


Thanks Michael,

That looks doable, but pretty inconvenient -I'll have a closer look.

/tony
-- 
-- 
Tony Albers
Systems Architect
Systems Director, National Cultural Heritage Cluster
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] WORM submissions?

2018-11-02 Thread Tony Brian Albers
No, not about actual living beings, but Write Once Read Many.

Is it possible to make a collection only accept deposits and not let
the owner delete what he/she has deposited?

TIA

/tony

-- 
Tony Albers
Systems Architect
Systems Director, National Cultural Heritage Cluster
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] cli way of changing dc.identifier.uri for all items?

2018-01-11 Thread Tony Brian Albers
Darn, I think I was celebrating too soon.

In our dspace/log, cocoon.log files have increased from around 
150mbytes/day to 3,5gigs/day.

Errors are like these:

  2018-01-11 13:45:46,947 INFO  org.apache.cocoon.i18n.XMLResourceBundle 
  - Bundle 
 
not loaded: Source URI not found

2018-01-11 13:45:46,828 ERROR cocoon.handled  - Unable to locate sitemap
 at  - 
file:///data/dspace/webapps/ROOT/sitemap.xmap:595
:56
 at  - 
file:///data/dspace/webapps/ROOT/sitemap.xmap:594:50


What we have done is:

changed hostname in dspace's local.cfg
changed dc.identifier.uri in postgres as per below.

Any ideas?

/tony

On 01/09/2018 11:15 AM, Tony Brian Albers wrote:
> Hi Tom,
> 
> That worked like a charm.
> 
> Thanks!
> 
> /tony
> 
> On 01/09/2018 10:24 AM, Tom Desair wrote:
>> Hi Tony,
>>
>> I usually do this with a SQL query (for DSpace 5 or 6, on PostgreSQL):
>>
>>  update metadatavalue
>>  set text_value = regexp_replace(text_value, 'http://*my-old.url.org
>>  <http://my-old.url.org>*', 'https://*my-new.url.org
>>  <http://my-new.url.org>*') where metadata_field_id IN (select
>>  metadata_field_id from metadatafieldregistry where element =
>>  'identifier' and qualifier = 'uri');
>>
>> After the update you need to reindex the discovery search index and the
>> oai index:
>>
>>* bin/dspace index-discovery -f
>>* bin/dspace oai import -c
>>
>> Best regards,
>>
>> Tom
>>
>> logo Tom Desair
>> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
>> Gaston Geenslaan 14, Leuven 3001, Belgium
>> www.atmire.com
>> <http://atmire.com/website/?q=services_source=emailfooter_medium=email_campaign=tomdesair>
>>
>>
>> 2018-01-09 9:29 GMT+01:00 Tony Brian Albers <t...@kb.dk <mailto:t...@kb.dk>>:
>>
>>  Thanks Christian, but it doesn't work.
>>
>>  When I change the dc.identifier.uri field and import, it just says: "
>>  There were no changes detected"
>>
>>  Really odd.
>>
>>  Any suggestions?
>>
>>  /tony
>>
>>
>>  On 01/08/2018 11:01 AM, Christian Scheible wrote:
>>  > Hi Tony,
>>  >
>>      > yes there is. Just export, edit and import again.
>>  > See : 
>> https://wiki.duraspace.org/display/DSDOC6x/Batch+Metadata+Editing
>>  <https://wiki.duraspace.org/display/DSDOC6x/Batch+Metadata+Editing>
>>  > for details.
>>  >
>>  > Kind Regards
>>  > Christian
>>  >
>>  > Am 08.01.2018 um 10:58 schrieb Tony Brian Albers:
>>  >> Hi Guys,
>>  >>
>>  >> We've had to change domain name on one of our installations, is 
>> there a
>>  >> way using the command-line to change the metadata for all items? I'd
>>  >> like to change the dc.identifier.uri
>>  >>
>>  >> TIA,
>>  >>
>>  >> /tony
>>  >
>>  >
>>
>>
>>  --
>>  Tony Albers
>>  Systems administrator, IT-development
>>  Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
>>  Tel: +45 2566 2383 <tel:%2B45%202566%202383> / +45 8946 2316
>>  <tel:%2B45%208946%202316>
>>
>>  --
>>  You received this message because you are subscribed to the Google
>>  Groups "DSpace Technical Support" group.
>>  To unsubscribe from this group and stop receiving emails from it,
>>  send an email to dspace-tech+unsubscr...@googlegroups.com
>>  <mailto:dspace-tech%2bunsubscr...@googlegroups.com>.
>>  To post to this group, send email to dspace-tech@googlegroups.com
>>  <mailto:dspace-tech@googlegroups.com>.
>>  Visit this group at https://groups.google.com/group/dspace-tech
>>  <https://groups.google.com/group/dspace-tech>.
>>  For more options, visit https://groups.google.com/d/optout
>>  <https://groups.google.com/d/optout>.
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to dspace-tech+unsubscr...@googlegroups.com
>> <mailto:dspace-tech+unsubscr...@googlegroups.com>.
>> To post to this group, send email to dspace-tech@googlegroups.com
>> <mailto:dspace-tech@googlegroups.com>.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 


-- 
Tony Albers
Systems administrator, IT-development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] cli way of changing dc.identifier.uri for all items?

2018-01-09 Thread Tony Brian Albers
Hi Tom,

That worked like a charm.

Thanks!

/tony

On 01/09/2018 10:24 AM, Tom Desair wrote:
> Hi Tony,
> 
> I usually do this with a SQL query (for DSpace 5 or 6, on PostgreSQL):
> 
> update metadatavalue
> set text_value = regexp_replace(text_value, 'http://*my-old.url.org
> <http://my-old.url.org>*', 'https://*my-new.url.org
> <http://my-new.url.org>*') where metadata_field_id IN (select
> metadata_field_id from metadatafieldregistry where element =
> 'identifier' and qualifier = 'uri');
> 
> After the update you need to reindex the discovery search index and the 
> oai index:
> 
>   * bin/dspace index-discovery -f
>   * bin/dspace oai import -c
> 
> Best regards,
> 
> Tom
> 
> logo  Tom Desair
> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
> Gaston Geenslaan 14, Leuven 3001, Belgium
> www.atmire.com 
> <http://atmire.com/website/?q=services_source=emailfooter_medium=email_campaign=tomdesair>
> 
> 
> 2018-01-09 9:29 GMT+01:00 Tony Brian Albers <t...@kb.dk <mailto:t...@kb.dk>>:
> 
> Thanks Christian, but it doesn't work.
> 
> When I change the dc.identifier.uri field and import, it just says: "
> There were no changes detected"
> 
> Really odd.
> 
> Any suggestions?
> 
> /tony
> 
> 
> On 01/08/2018 11:01 AM, Christian Scheible wrote:
> > Hi Tony,
> >
> > yes there is. Just export, edit and import again.
> > See : https://wiki.duraspace.org/display/DSDOC6x/Batch+Metadata+Editing
>     <https://wiki.duraspace.org/display/DSDOC6x/Batch+Metadata+Editing>
> > for details.
> >
> > Kind Regards
> > Christian
> >
> > Am 08.01.2018 um 10:58 schrieb Tony Brian Albers:
> >> Hi Guys,
> >>
> >> We've had to change domain name on one of our installations, is there a
> >> way using the command-line to change the metadata for all items? I'd
> >> like to change the dc.identifier.uri
> >>
> >> TIA,
> >>
> >> /tony
> >
> >
> 
> 
> --
> Tony Albers
> Systems administrator, IT-development
> Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
> Tel: +45 2566 2383 <tel:%2B45%202566%202383> / +45 8946 2316
> <tel:%2B45%208946%202316>
> 
> --
> You received this message because you are subscribed to the Google
> Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to dspace-tech+unsubscr...@googlegroups.com
> <mailto:dspace-tech%2bunsubscr...@googlegroups.com>.
> To post to this group, send email to dspace-tech@googlegroups.com
> <mailto:dspace-tech@googlegroups.com>.
> Visit this group at https://groups.google.com/group/dspace-tech
> <https://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> You received this message because you are subscribed to the Google 
> Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to dspace-tech+unsubscr...@googlegroups.com 
> <mailto:dspace-tech+unsubscr...@googlegroups.com>.
> To post to this group, send email to dspace-tech@googlegroups.com 
> <mailto:dspace-tech@googlegroups.com>.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.


-- 
Tony Albers
Systems administrator, IT-development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] cli way of changing dc.identifier.uri for all items?

2018-01-09 Thread Tony Brian Albers
Thanks Christian, but it doesn't work.

When I change the dc.identifier.uri field and import, it just says: "
There were no changes detected"

Really odd.

Any suggestions?

/tony


On 01/08/2018 11:01 AM, Christian Scheible wrote:
> Hi Tony,
> 
> yes there is. Just export, edit and import again.
> See : https://wiki.duraspace.org/display/DSDOC6x/Batch+Metadata+Editing 
> for details.
> 
> Kind Regards
> Christian
> 
> Am 08.01.2018 um 10:58 schrieb Tony Brian Albers:
>> Hi Guys,
>>
>> We've had to change domain name on one of our installations, is there a
>> way using the command-line to change the metadata for all items? I'd
>> like to change the dc.identifier.uri
>>
>> TIA,
>>
>> /tony
> 
> 


-- 
Tony Albers
Systems administrator, IT-development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] cli way of changing dc.identifier.uri for all items?

2018-01-08 Thread Tony Brian Albers

Hi Guys,

We've had to change domain name on one of our installations, is there a 
way using the command-line to change the metadata for all items? I'd 
like to change the dc.identifier.uri

TIA,

/tony
-- 
Tony Albers
Systems administrator, IT-development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: issues with dspace recovery

2017-12-18 Thread Tony Brian Albers
On 12/19/2017 08:48 AM, admin dspace wrote:
> |REATE EXTENSION
> ERROR: must be the owner of the plpgsql extension
> ERROR: right denied to create the "pgcrypto"extension
> ASTUCE :Mustbe superuser to create thisextension.
> ERROR: the extension «pgcrypto »doesn't exist|

This says that you need to make sure you have the right database setup, 
AFAIR there's something about how to set up pgsql in the documentation.

/tony
-- 
Tony Albers
Systems administrator, IT-development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Tomcat Cert Process for Dspace

2017-10-08 Thread Tony Brian Albers
On 10/06/2017 04:28 PM, Dayne Ellanna wrote:
> Tony,
> 
> For the proxy, you are routing to 8877, in my case that would be 8443 
> correct?
> 
> Thanks,
> Dayne
> 

Nope, you should point to whatever port your tomcat is running on, which 
I suppose is http://myserver.domain:8080/xmlui  -> 8080
Disregard that tomcat is not running https, that's what you're going to 
use httpd(apache) for.

Sorry for the late reply, I was off on weekend when you wrote me back :)

/tony


> On Thu, Oct 5, 2017 at 10:39 PM, Dayne Ellanna  > wrote:
> 
> I am having the worst time getting tomcat to do https for dspace.  I
> followed the instructions on the dspace site but cannot make heads
> or tails of the instructions as I am definitely not a certificate
> expert.  The instructions use generic names and don't explain where
> root ca's come from or generating certificate requests and from what
> do I generate these.  Can someone give me very specific instructions
> about how to set up the https on tomcat to run dspace.  So far I
> have gotten dspace to run successfully as
> http://myserver.domain:8080/xmlui
> .  As per instructions on the
> dspace site I have tried to create the RSA key, and we use incommon
> for our certs which I can obtain, but have not been able to figure
> out the beginning to end process for this.  I tried using curl to
> test but no success.  I really need a succinct explanation of all
> the pieces, where to get them or how to generate them in order to
> run the ssl.  HELP!
> 
> Thanks,
> Dayne
> 
> -- 
> You received this message because you are subscribed to a topic in
> the Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dspace-tech/6ZTVNgGfBcQ/unsubscribe 
> .
> To unsubscribe from this group and all its topics, send an email to
> dspace-tech+unsubscr...@googlegroups.com
> .
> To post to this group, send email to dspace-tech@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/dspace-tech
> .
> For more options, visit https://groups.google.com/d/optout
> .
> 
> 
> -- 
> You received this message because you are subscribed to the Google 
> Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to dspace-tech+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to dspace-tech@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.


-- 
Tony Albers
Systems administrator, IT-development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Tomcat Cert Process for Dspace

2017-10-06 Thread Tony Brian Albers
On 10/06/2017 08:39 AM, Dayne Ellanna wrote:
> I am having the worst time getting tomcat to do https for dspace.  I 
> followed the instructions on the dspace site but cannot make heads or 
> tails of the instructions as I am definitely not a certificate expert.  
> The instructions use generic names and don't explain where root ca's 
> come from or generating certificate requests and from what do I generate 
> these.  Can someone give me very specific instructions about how to set 
> up the https on tomcat to run dspace.  So far I have gotten dspace to 
> run successfully as http://myserver.domain:8080/xmlui.  As per 
> instructions on the dspace site I have tried to create the RSA key, and 
> we use incommon for our certs which I can obtain, but have not been able 
> to figure out the beginning to end process for this.  I tried using curl 
> to test but no success.  I really need a succinct explanation of all the 
> pieces, where to get them or how to generate them in order to run the 
> ssl.  HELP!
> 
> Thanks,
> Dayne
> 

Dayne,

We proxy tomcat behind apache httpd to solve this exact issue. Our 
tomcat listens on port 8877.
If you want to try that, in short what you will need is to install httpd 
and set it up to run ssl. Then you can define a ssl-enabled virtualhost 
in apache that proxies your tomcat. Here is our httpd conf file for the 
virtualhost, I've added my comments in ### (with sensitive bits changed, 
but still in the right places):



# Default host when using NameVirtualHost

### ^ this creates a httpd server listening on port 80.
ServerAdmin helpd...@mydomain.edu
DocumentRoot /var/www/html
ServerName dspace-devel.mydomain.edu
ServerAlias dspace-devel

ErrorLog logs/dspace-devel.mydomain.edu-http-error_log
CustomLog logs/dspace-devel.mydomain.edu-http-access_log combined

ProxyPass / http://127.0.0.1:8877/  retry=10 connectiontimeout=5
### ^ this tells httpd to redirect it's / to localhost port 8877
timeout=300
ProxyPassReverse /  http://127.0.0.1:8877/  retry=10
### ^ this tells httpd that tomcat's url's should be rewritten to look 
###   like they're coming from httpd.
ProxyPreserveHost On
### ^ this tells httpd to keep the Host: information from the client and 
### pass it on to tomcat.




### ^ this creates a httpd server that listens on port 443.
ServerAdmin helpd...@mydomain.edu
DocumentRoot /var/www/html
ServerName dspace-devel.mydomain.edu
ServerAlias dspace-devel

ErrorLog logs/dspace-devel.mydomain.edu-https-error_log
CustomLog logs/dspace-devel.mydomain.edu-https-access_log combinedssl

Include conf.d/ssl.include
Include conf.d/ssl.include.star
### ^ these point to a file which specifies where the ssl certificates 
###   live on the host.

ProxyPass / http://127.0.0.1:8877/  retry=10 connectiontimeout=5
### ^ this tells httpd to redirect it's / to localhost port 8877
timeout=300
ProxyPassReverse /  http://127.0.0.1:8877/  retry=10
### ^ this tells httpd that tomcat's url's should be rewritten to look 
###   like they're coming from httpd.
ProxyPreserveHost On
### ^ this tells httpd to keep the Host: information from the client and 
### pass it on to tomcat.






So much for the virtualhost/proxy setup.

To get httpd to use ssl, you will need to have mod_ssl installed, a 
ssl.conf file telling httpd how to use ssl and include files(mentioned 
above) with information about your certificates.



Here's our ssl.conf file:

Listen 443 https
SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog
SSLSessionCache shmcb:/run/httpd/sslcache(512000)
SSLSessionCacheTimeout  300
SSLRandomSeed startup file:/dev/urandom  256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
SSLStaplingCacheshmcb:/run/httpd/ocsp(128000)
# The default 'combined' format extended with SSL protocol and cipher 
logging
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" 
\"%{SSL_PROTOCOL}x\" \"%{SSL_CIPHER}x\"" combinedssl



This is our ssl.include file:

SSLEngine on
# modern configuration, tweak to your needs
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite 
ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256
SSLHonorCipherOrder on
SSLCompression  off
# OCSP Stapling, only in httpd 2.3.3 and later
SSLUseStapling  on
SSLStaplingResponderTimeout 5
SSLStaplingReturnResponderErrors off



And this is our ssl.include.star file:

SSLCertificateFile /etc/pki/tls/certs/star.mydomain.edu.crt
SSLCertificateChainFile /etc/pki/tls/certs/star.mydomain.edu.chain.crt
SSLCertificateKeyFile /etc/pki/tls/private/star.mydomain.edu.key






I hope this helps a bit. We're running CentOS so YMMV.

/tony


-- 
Tony Albers
Systems administrator, IT-development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, 

Re: [dspace-tech] Getting /solr/search/select was not found

2016-12-21 Thread Tony Brian Albers
Found it.

the port number was missing for solr in local.cfg

Merry Christmas :D

/tony

On 12/21/2016 11:23 AM, Tony Brian Albers wrote:
> Hi guys,
>
> I've set up a vanille DS 6.0 install, and when I try to use "browse by
> authors" I get the following error:
>
> Expected mime type application/octet-stream but got text/html.  HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">  404 Not
> Found  Not Found The requested URL
> /solr/search/select was not found on this server. 
>
>
> I'm unable to figure out where this is going wrong, tomcat runs
> everything on port 8080, and in catalina.out it says that solr has been
> deployed successfully.
>
> Any help is appreciated.
>
> TIA
>
> /tony
>

-- 
Best regards,

Tony Albers
Systems administrator, IT-development
State and University Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Getting /solr/search/select was not found

2016-12-21 Thread Tony Brian Albers
Hi guys,

I've set up a vanille DS 6.0 install, and when I try to use "browse by 
authors" I get the following error:

Expected mime type application/octet-stream but got text/html.   404 Not 
Found  Not Found The requested URL 
/solr/search/select was not found on this server. 


I'm unable to figure out where this is going wrong, tomcat runs 
everything on port 8080, and in catalina.out it says that solr has been 
deployed successfully.

Any help is appreciated.

TIA

/tony
-- 
Best regards,

Tony Albers
Systems administrator, IT-development
State and University Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Shibboleth AND local users

2016-11-02 Thread Tony Brian Albers
Hi Terry,

Thanks, I think that will do. I had no idea it would give them the 
possibility to select which method to use.

/tony

On 11/01/2016 04:45 PM, Terry Brady wrote:
> You can enable multiple authentication methods (such as Password and
> Shibboleth) for
> DSpace: https://wiki.duraspace.org/display/DSDOC6x/Authentication+Plugins
>
> When a user clicks the login link, they will need to select the method
> that will be used.
>
> If this sounds like it will solve your problem, you can enable both
> methods in your local.cfg file for DSpace 6.
>
> # IP-based authentication/authorization. See
> authentication-ip.cfg for default configuration.
>
> #plugin.sequence.org.dspace.authenticate.AuthenticationMethod =
> org.dspace.authenticate.IPAuthentication
>
>
> # LDAP authentication/authorization. See authentication-ldap.cfg
> for default configuration.
>
> #plugin.sequence.org.dspace.authenticate.AuthenticationMethod =
> org.dspace.authenticate.LDAPAuthentication
>
>
> # Shibboleth authentication/authorization. See
> authentication-shibboleth.cfg for default configuration.
>
> plugin.sequence.org.dspace.authenticate.AuthenticationMethod =
> org.dspace.authenticate.ShibAuthentication
>
>
> # X.509 certificate authentication. See authentication-x509.cfg
> for default configuration.
>
> #plugin.sequence.org.dspace.authenticate.AuthenticationMethod =
> org.dspace.authenticate.X509Authentication
>
>
> # Authentication by Password (encrypted in DSpace's database).
> See authentication-password.cfg for default configuration.
>
> # Enabled by default in authentication.cfg
>
> plugin.sequence.org.dspace.authenticate.AuthenticationMethod =
> org.dspace.authenticate.PasswordAuthentication
>
>
>
> On Tue, Nov 1, 2016 at 6:14 AM, Tony Brian Albers
> <t...@statsbiblioteket.dk <mailto:t...@statsbiblioteket.dk>> wrote:
>
> Hello everyone,
>
> I'm looking into deploying DSpace 6.0 in a production setup here, and
> I'm wondering if I can use both Shibboleth and local users at the same
> time, since our shibboleth only contains regional users. Or will a
> failed shibboleth auth allow local user logins if local users are second
> in the plugin.sequence.org.dspace.authenticate.AuthenticationMethod ?
>
> I'm not able to find it in the documentation.
>
> Thanks,
>
> Tony
> --
> Best regards,
>
> Tony Albers
> Systems administrator, IT-development
> State and University Library, Victor Albecks Vej 1, 8000 Aarhus C,
> Denmark.
> Tel: +45 8946 2316 <tel:%2B45%208946%202316>
>
> --
> You received this message because you are subscribed to the Google
> Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to dspace-tech+unsubscr...@googlegroups.com
> <mailto:dspace-tech%2bunsubscr...@googlegroups.com>.
> To post to this group, send email to dspace-tech@googlegroups.com
> <mailto:dspace-tech@googlegroups.com>.
> Visit this group at https://groups.google.com/group/dspace-tech
> <https://groups.google.com/group/dspace-tech>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> http://georgetown-university-libraries.github.io/
> <https://www.library.georgetown.edu/lit/code>
> 425-298-5498 (Seattle, WA)

-- 
Best regards,

Tony Albers
Systems administrator, IT-development
State and University Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Re: db password question

2016-10-12 Thread Tony Brian Albers


On 10/06/2016 03:05 PM, Mark Wood wrote:
> In DSpace 6, local.cfg is read using Apache Commons Configuration, so
> see
> https://commons.apache.org/proper/commons-configuration/userguide/howto_properties.html.
> In short:  you could escape the '#' as '\#', and might need to if this
> were read using java.util.Properties, but it appears that that may not
> be necessary when using PropertiesConfiguration.  What happens when you
> use a plain '#'?

Thanks Mark,

Escaping the #'s with \'s did the trick.

/tony

-- 
Best regards,

Tony Albers
Systems administrator, IT-development
State and University Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] db password question

2016-10-06 Thread Tony Brian Albers
Hi guys,

Running DS6.0,

How do you specify a postgres password in local.cfg that contains #'s?

TIA

/tony
-- 
Best regards,

Tony Albers
Systems administrator, IT-development
State and University Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Quotas

2016-09-06 Thread Tony Brian Albers
Thanks Monika,

I guess we'll just have to monitor the filesystem then.

/tony


On Tue, 2016-09-06 at 12:51 +, Monika C. Mevenkamp wrote:
> see answers below
> —
> Monika Mevenkamp
> Digital Repository Infrastructure Developer
> Princeton University
> Phone: 609-258-4161
> Skype: mo-meven
> 
> > On Sep 6, 2016, at 8:47 AM, Tony Brian Albers <t...@statsbiblioteket.dk> 
> > wrote:
> 
> > 
> 
> > Hi guys and gals,
> 
> > 
> 
> > We're looking into deploying Dspace in a test environment, and I have a
> 
> > couple of questions some of you might know the answers to:
> 
> > 
> 
> > 1. Is it possible to limit the number of collections a single ePerson
> 
> > can have?
> 
> > 
> 
> YES 
> You can configure collections such that only a given set of users can 
> administer and submit
> 
> > 2. Is it possible to set a quota on the amount of data a given
> 
> > collection can contain? I.e. 20GB per collection?
> 
> > 
> 
> NO
> Files are stored on a file system. The size of the file system is the upper 
> limit for the total file size across all collections
> 
> > Thanks,
> 
> > 
> 
> > -- 
> 
> > Best regards,
> 
> > 
> 
> > Tony Albers
> 
> > Systems administrator, IT-development
> 
> > State and University Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
> 
> > Tel: +45 8946 2316
> 
> > 
> 
> > 
> 
> > 
> 
> > -- 
> 
> > You received this message because you are subscribed to the Google Groups 
> > "DSpace Technical Support" group.
> 
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to dspace-tech+unsubscr...@googlegroups.com.
> 
> > To post to this group, send email to dspace-tech@googlegroups.com.
> 
> > Visit this group at https://groups.google.com/group/dspace-tech.
> 
> > For more options, visit https://groups.google.com/d/optout.
> 
> 

-- 
Best regards,

Tony Albers
Systems administrator, IT-development
State and University Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 8946 2316



-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Quotas

2016-09-06 Thread Tony Brian Albers
Hi guys and gals,

We're looking into deploying Dspace in a test environment, and I have a
couple of questions some of you might know the answers to:

1. Is it possible to limit the number of collections a single ePerson
can have?

2. Is it possible to set a quota on the amount of data a given
collection can contain? I.e. 20GB per collection?

Thanks,

-- 
Best regards,

Tony Albers
Systems administrator, IT-development
State and University Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 8946 2316



-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.