YunoHost-Apps / shaarli_ynh

Shaarli package for YunoHost
GNU General Public License v3.0
20 stars 13 forks source link

Can't import firefox bookmarks #31

Closed cloo closed 5 years ago

cloo commented 6 years ago

The bookmarks.html file is 1047kb, but I still get nginx error: 413 Request Entity Too Large Using 0.9.0 on Yunohost installation.

I have reported this (and one minor issue) to Shaarli devs, but looks like the problem is related to yunohost.

maitrey0da commented 6 years ago

I notice this bug too

lapineige commented 6 years ago

Which version of the package do you use @cloo and @maitrey0da ? The latest one ? (It was updated 10 days ago)

maitrey0da commented 6 years ago

The version of Shaarli is v0.9.0.

I didn't find more information like a version of built. I don't know how to force an update.

Thanks.

lapineige commented 6 years ago

Please update to the latest version first.

As we have no upgrade script right now, you need to export your links (go in the "Tools" part, then "Export your data"). Then you can upgrade, from Yunohost admin UI (somewhere in Tools > Upgrade, if I remember well) or use yunohost app upgrade shaarli. Then you can import your link from the backup.

And try again with Firefox bookmarks (I don't expect it to be working, but just in case).

maitrey0da commented 6 years ago

I tried :

# yunohost app upgrade shaarli
Warning: Upgrading app shaarli...
Success! shaarli is already up to date
Error: No app to upgrade
lapineige commented 6 years ago

What's yunohost app info shaarli output ?

maitrey0da commented 6 years ago

Hum.

# yunohost app info shaarli
description: The personal, minimalist, super-fast, no-database delicious clone
license: free
name: Shaarli
version: 0.8.3

The footer displays v0.9.0 ...

lapineige commented 6 years ago

Let's try yunohost app upgrade shaarli -u https://github.com/YunoHost-Apps/shaarli_ynh

maitrey0da commented 6 years ago

Thanks. The upgrade works, but the bug continue. I have a timeout with a tiny import file (755 Ko)

lapineige commented 6 years ago

The upgrade works, but the bug continue. I have a timeout with a tiny import file (755 Ko)

As expected :) (enjoy the new version ;)

I just checked, I can import a 1Mo file on my Shaarli.

I'm wondering if it's not an issue with the php config...

Let's try something: download this file https://pastebin.com/wC123YWh, name it bookmark.html. Then try to import it. What happens ?

maitrey0da commented 6 years ago

Hello,

Sorry for the delay. It's work with your file. I also think this a php issue.

lapineige commented 6 years ago

Ok so the import is working, but there is an issue with larger files or with your file.

I'll try to get / create a larger file to test it.

maitrey0da commented 6 years ago

Hello, Did you try to create larger file ? I can push my bookmark file if you want.

anmol26s commented 5 years ago

Is this issue still there?