How would I manually reset fedora -

134 views
Skip to first unread message

Stephen Hovey

unread,
Apr 5, 2016, 7:44:52 AM4/5/16
to islandora
I want to start fresh since my attempted install has not gone well.  Objects did not delete when the librarian was working on this.. and there were many additions and deletions.  I would like to just wipe the desk, but I do not know what I would need to do to just clean everything out of fedora.  Googling hasn't flushed up anything either.

Jared Whiklo

unread,
Apr 5, 2016, 9:28:28 AM4/5/16
to isla...@googlegroups.com
You'll need to delete the files located in your "objectStore" and
"datastreamStore"

You can find the locations for these inside your Fedora configuration.

Mine is /usr/local/fedora/server/config/spring/akubra-llstore.xml

Here is my objectStore bean
-----
<bean name="fsObjectStore" class="org.akubraproject.fs.FSBlobStore"
singleton="true">
<constructor-arg value="urn:example.org:fsObjectStore" />
<!-- <constructor-arg value="/usr/local/fedora/data/objectStore"/> -->
<constructor-arg value="/local/dam/productionDAM/objectStore" />
</bean>
-----

So my objectStore is in "/local/dam/productionDAM/objectStore" which you
can empty.

The datastreamStore looks similar
-----
<bean name="fsDatastreamStore" class="org.akubraproject.fs.FSBlobStore"
singleton="true">
<constructor-arg value="urn:example.org:fsDatastreamStore" />
<!-- <constructor-arg
value="/usr/local/fedora/data/datastreamStore"/> -->
<constructor-arg value="/local/dam/productionDAM/datastreamStore" />
</bean>
-----

Again, this is a directory on the filesystem you can erase and restart
Tomcat.

You will also need to rebuild the index, so the MySQL tables no longer
hold reference to the now deleted data.

cheers,
jared
> --
> For more information about using this group, please read our Listserv
> Guidelines: http://islandora.ca/content/welcome-islandora-listserv
> ---
> You received this message because you are subscribed to the Google
> Groups "islandora" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to islandora+...@googlegroups.com
> <mailto:islandora+...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/islandora.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/islandora/933c2ed7-a499-4253-a750-7e0bf22c0690%40googlegroups.com
> <https://groups.google.com/d/msgid/islandora/933c2ed7-a499-4253-a750-7e0bf22c0690%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

--
Jared Whiklo
jwh...@gmail.com
--------------------------------------------------
You know you're from Winnipeg when...You design you kid's Halloween
costume to fit over a snowsuit.
0xCE1D1756.asc
signature.asc
Reply all
Reply to author
Forward
0 new messages