elrido / ZeroBin

This Project has been renamed and moved to
https://github.com/PrivateBin/PrivateBin
Other
85 stars 8 forks source link

Upgrade process from SebSauveg's original one ? #27

Closed Draky50110 closed 9 years ago

Draky50110 commented 9 years ago

Hello..

Is it safe to upgrade an already existing instance of SebSauvage's Zerobin ? What are the instructions ? Juste replace files ? Thus not deleteing already existing pastes ?

EDIT : just saw the base64version has to been set to 1.7 in ini config file. Any other thing to look at ?

elrido commented 9 years ago

Hi and thanks for writing us.

When implementing the changes the goal was to stay upgrade compatible to the original ZeroBin. Ideally you would have to just keep the data folder and as you mentioned configure the base64.js-lib to version 1.7.

But if you can wait for a bit, I will set up an install of seb's latest version, create a few pastes of all the different types and then I can test the upgrade myself (keeping a backup of the data folder, so I can retest it with later versions, maybe even add some unit tests for this).

I'll also take the opportunity to create a wiki page on the process for future reference and I'll update this issue with my results if possible this evening.

elrido commented 9 years ago

Thank you for your patience. ;-)

I found and resolved one small issue with legacy pastes that were flagged for syntax coloring in ec8851e.

There is now an upgrade guide in the wiki that should help avoid any issues during the upgrade.

@all: Feel free to extend or clarify it, if necessary.

For future reference: Here is a 0.19 Alpha data directory containing four pastes to test upgrades with.

Draky50110 commented 9 years ago

Cool :) Will wait for issue #28 to be corrected :p then will update. I have 3 Zerobin in production ;)

elrido commented 9 years ago

Thats cool to hear!

Maybe help me with the French translations in the mean time? ;-)

BTW: I plan to finish the file upload feature this weekend and would then publish the 0.21 release. It might be worth to wait on that if you are interested in that feature.

Draky50110 commented 9 years ago

Just made a pull request #29 for French translation ;) (corrections + new translations).

Will wait for your 0.21 release :)