Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing Bookmarks: Failed. Error 500 #92

Closed
roughnecks opened this issue Oct 15, 2023 · 7 comments
Closed

Importing Bookmarks: Failed. Error 500 #92

roughnecks opened this issue Oct 15, 2023 · 7 comments

Comments

@roughnecks
Copy link

Hi,

I tried importing bookmarks from Firefox and Chrome exports.. both failed with the error in subject.

If you can tell how to check for more detailed error messages I would appreciate - or if you have a solution, that is :)

I can see some of them were imported, but like 10 out of 100?

@fr0tt
Copy link
Owner

fr0tt commented Oct 16, 2023

Hi again,

I guess bookmark no 11 then probably causes the error.
You can try to change in your .env file the variables to APP_ENV=local and APP_DEBUG=true and
check if /var/www/storage/logs/laravel.log contains anything valuable (or upload the content of this file here)

@roughnecks
Copy link
Author

If I change to APP_ENV=local, will I be able to access the app outside of localhost? Asking because I have installed Benotes on a VPS and connect from home (I don't have a GUI on the VPS to run a browser..)

@fr0tt
Copy link
Owner

fr0tt commented Oct 16, 2023

It has nothing to do with the infrastructure you're using.
Keep in mind to change the variables back to their original values after testing.

@roughnecks
Copy link
Author

OK, I looked at the log and found out this:

[2023-10-16 10:38:02] local.ERROR: Unable to init from given url (https://discordapp.comundefined//discord.com/assets/652f40427e1f5186ad54836074898279.png). {"userId":1,"exception":"[o
bject] (Intervention\\Image\\Exception\\NotReadableException(code: 0): Unable to init from given url (https://discordapp.comundefined//discord.com/assets/652f40427e1f5186ad548360748982
79.png). at /home/notes/benotes/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php:85)
[stacktrace]

so I deleted my discord bookmark and it almost worked.. "almost" because this time it gave me a 504 IIRC but the laravel.log shows nothing new and my bookmarks seems to be all there (cannot be 100% sure tho)

@fr0tt
Copy link
Owner

fr0tt commented Oct 16, 2023

I'm curious, did your Discord bookmark originally look like this or was there no "undefined" in it before ?

Seems the task took longer then your PHP configuration allows (max_execution_time).

@roughnecks
Copy link
Author

roughnecks commented Oct 16, 2023 via email

@roughnecks
Copy link
Author

I edited my previous comment with the actual bookmark, sorry but replying from email messed up!

fr0tt added a commit that referenced this issue Oct 27, 2023
fr0tt added a commit that referenced this issue Oct 27, 2023
@fr0tt fr0tt closed this as completed Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants