mkucej / i-librarian-free

I, Librarian - open-source version of a PDF managing SaaS.
https://i-librarian.net
GNU General Public License v3.0
244 stars 28 forks source link

Error 500 when exporting #58

Closed luisjure closed 3 years ago

luisjure commented 3 years ago

Hi, I'm using I, Librarian on Arch Linux (currently 5.9.1 with PHP 8.0.7), and offline export is not working for me, I get this error:

Oops! Call to undefined function Librarian\Http\Client\json_encode().

I don't know if it's a bug in I, Librarian, or something wrong in my installation. On Software details, everything is green.

Thanks for your attention.

mkucej commented 3 years ago

Thank you for reporting this. It will be fixed in the next version.

luisjure commented 3 years ago

That's wonderful, thank you.

A related question: I intend to format my HD to reinstall a Linux distribution anew. Is it viable to simply compress the whole librarian directory under www and then uncompress it in the new system? Will that work?

mkucej commented 3 years ago

Yes. All new files are stored in data directory, which must be writable by web server. You should include data in your daily backups.