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

Icons are gone since the last 2-3 upgrades #71

Open
jcn50 opened this issue Jun 3, 2024 · 3 comments · Fixed by #73
Open

Icons are gone since the last 2-3 upgrades #71

jcn50 opened this issue Jun 3, 2024 · 3 comments · Fixed by #73

Comments

@jcn50
Copy link

jcn50 commented Jun 3, 2024

All my icons are gone since the last 2-3 upgrades ago~ the URLs to the images pointed to:
https://{$DOMAIN}/storage/icons/{$ID}.svg
The files are located in:
/var/www/2fauth/storage/app/public/icons/{$ID}.svg
But they don't display!

Trying to assign a new icon using the "Try my luck" button does not work either and result in a broken image (although the file is created in /var/www/2fauth/storage/app/public/icons/).

2FAuth Installed version: 5.2.0~ynh1
YunoHost v11.2.12 (stable)

@jcn50
Copy link
Author

jcn50 commented Jun 6, 2024

It took me a while to figure out what was wrong~~~ and the ultimate fix is to run this command:

 ln -s /var/www/2fauth/storage/app/public /var/www/2fauth/public/storage

@CodeShakingSheep CodeShakingSheep mentioned this issue Jun 9, 2024
2 tasks
@CodeShakingSheep
Copy link
Member

I had the same issue and could restore my icons from a backup. Also, I just opened a PR to prevent the icons from being deleted during updates again. #73

@jcn50
Copy link
Author

jcn50 commented Jun 9, 2024

@CodeShakingSheep In my case the icons were not deleted (thankfully!)~. Thanks for maintaining the code! Note: you can see how people believing in evolution are wrong, if the code doesn't get updated, you can wait billions of years it will remain like this! Ha! The code has a CREATOR!)

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

Successfully merging a pull request may close this issue.

2 participants