#56 ✓resolved
Daniel Clem

I decide to reinstall my Linux OS, but now Piggy won't start

Reported by Daniel Clem | September 6th, 2013 @ 11:45 PM

Hello, I'm back :-)

I had Ubuntu, now I am trying Elementary OS with some different setup with my files.

I have my root directory, my Home folder, and all my main personal files (Pictures, Videos, Documents, and Piggy's Database) all on separate partitions on my Hard Drive. I did this so that if I reinstall later to try another OS. I won't have to erase all my personal files, I can just install and only need to format my root directory, and if I want to get rid of app settings, I can formate my Home folder and still not loose my personal files. If it helps I've attached a screen shot of how my partitions are set up.

The partition called "data" is where all my files and the Piggydb is kept. I'll also attach the error Log piggy gave me. But could the files being on a separate partition be impossible to work? I wanted that to make it less likely they will be lost. Also I copied all the Piggydb database directly from my previous install. How can I be positive that it will be able to use it as if it was never changed or moved? I've attached a copy of my "application.properties document so that should show where it is I'm keeping all my database files. All the files neccessary for running Piggydb (applications properties, piggydb.standalone.jar) are still in my Home folder like in the last install.

I'm still running a very old version, hahaha, if we can get this working. I'd like to try and upgrade to the Supporters version. I paid for it a long time ago as a donation. But never tried it cause I was afraid of loosing all my database or other problems.

Thank you for any help you can give, and God Bless you!!

Comments and changes to this ticket

  • marubinotto

    marubinotto September 9th, 2013 @ 05:31 AM

    Hi Daniel,

    How have you been?

    It seems that the elementary OS does not support 'system tray', which the standalone package requires.


    So you need to use the all-in-one package to run piggydb on the elementary OS.


    To use the features of the supporters edition with the all-in-one package, just copy piggydb-standalone/webapp/WEB-INF/lib/piggydb-css-1.0.jar into your extracted war.

    Best regards,

  • Daniel Clem

    Daniel Clem September 9th, 2013 @ 06:22 AM

    Ah I wasn't sure if you would be the one to reply, Glad to talk again :-) I've been good, phone problems but hopefully will work them out tomorrow. Tired of low quality hardware in phones these days!! How are things at your new job? I'm happy to see your still able to keep your Project here going and growing strong.

    I had no idea that Elementary did away with the system tray. Its weird cause some apps like VLC or others put icons in the panel at the top, even if it has no tray. So why is it treating piggy differently? Possibly a problem with Java not knowing about the change.

    I have the All in one package now and its extracted into my HOME folder. So all the run.sh and other files are inside the piggydb folder in the /home/user folder. I've got it running and can see it in my browser now Wahooo. :-D!!!

    So how can I make it read my saved database (my previous stand alone one) that is located in " /media/data/Seafile/Seafile/Piggydb " I think. I'm not exactly sure what folder or files the server looks for when its reading the database info.

    I'm sorry its so complicated. If I had just done a backup it probably would be so much easier. :-(

    Thank you for getting back with me, plus remembering me, unusual for someone who talk with so many new people everyday!

    God Bless

  • marubinotto

    marubinotto September 9th, 2013 @ 09:55 AM

    I'm glad to hear you are well :-) My new job has been great so far, not too busy so that I can continue to develop the project.

    As explained in the following document, you can configure the all-in-one package by modifying run.bat or run.sh:


    In your case, you need to replace "-Dpiggydb.database.prefix=file:~/piggydb" with "-Dpiggydb.database.prefix=file:/media/data/Seafile/Seafile/Piggydb"

    Best regards,

  • marubinotto

    marubinotto March 25th, 2014 @ 10:06 AM

    • State changed from “new” to “resolved”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Piggydb is a Web notebook application that provides you with a platform to build your knowledge personally or collaboratively.

Shared Ticket Bins

People watching this ticket