Refresh app screenshot

For Installatron Sales: sales@installatron.com
interfaSys
Posts: 78
Joined: Thu Jan 05, 2012 10:56 am

Refresh app screenshot

Postby interfaSys » Thu Jan 23, 2014 3:41 pm

I couldn't find an easy way in the GUI to refresh the apps' screenshots and those it would be nice to be able to do it by clicking on a button.

Is it possible to refresh those from the cli already?
Olivier
interfaSys
Web, mobile, hosting product and service development experts

Phil
Staff
Posts: 486
Joined: Tue Jun 19, 2007 6:06 am

Re: Refresh app screenshot

Postby Phil » Fri Jan 31, 2014 9:16 am

Hello,

App screenshots should automatically update as new versions of the app become available.

Which app are you referring to in this case? Do the screenshots not match what you see at http://installatron.com/apps for the app?

Thank you,
Phil
Phillip Stier
Installatron Co-Founder

interfaSys
Posts: 78
Joined: Thu Jan 05, 2012 10:56 am

Re: Refresh app screenshot

Postby interfaSys » Fri Jan 31, 2014 10:23 am

Hello Phil,

I'm talking about the large screenshots of the homepage of installed apps. You call them "Preview images"
These are generated at installation time it seems and never get updated.

Cheers,

Olivier
Olivier
interfaSys
Web, mobile, hosting product and service development experts

Phil
Staff
Posts: 486
Joined: Tue Jun 19, 2007 6:06 am

Re: Refresh app screenshot

Postby Phil » Fri Jan 31, 2014 11:57 am

Hello,

Ah, I see what you mean. Those screenshots are updated at random every couple weeks. You can force a refresh by deleting the corresponding ip_ file from the Installatron images directory (/usr/local/directadmin/plugins/installatron/images on DIrectAdmin).

We're working on a getting a "refresh" button added to the UI. It's a little more complex than just adding a button as it needs to have some kind of built-in timer to prevent abuse.

Thanks,
Phil
Phillip Stier
Installatron Co-Founder

interfaSys
Posts: 78
Joined: Thu Jan 05, 2012 10:56 am

Re: Refresh app screenshot

Postby interfaSys » Fri Jan 31, 2014 12:15 pm

Hello Phil,

Thanks for the tip.
So, I just did a test by removing the ip_ files and in return I got the apps' default logo, not a screenshot of the homepage of the app.
Is there a config switch somewhere which changes the behaviour?

And I agree about preventing abuse. That's why I was thinking that it could maybe be available first via the cli. Admins could use a cron.

Cheers,

Olivier
Olivier
interfaSys
Web, mobile, hosting product and service development experts

Josh
Staff
Posts: 131
Joined: Wed Jul 07, 2010 3:53 pm
Location: USA

Re: Refresh app screenshot

Postby Josh » Sat Feb 01, 2014 12:58 am

Hey,

Phil forgot to mention after removing the file you need to run this command:

Code: Select all

/usr/local/installatron/installatron --send-update-report


It's possible to target a specific user as well:

Code: Select all

/usr/local/installatron/installatron --send-update-report --user abc


Best regards,
Josh

interfaSys
Posts: 78
Joined: Thu Jan 05, 2012 10:56 am

Re: Refresh app screenshot

Postby interfaSys » Sat Feb 01, 2014 6:39 am

Hello Josh,

Thanks for the commands :)
It's great that it's possible to do per user, so that when a new theme is installed, the preview can get refreshed for that user only.

One thing I've noticed though is that some apps (owncloud, joomla) don't get previews. Any particular reason for this behaviour?

Cheers,

Olivier
Olivier
interfaSys
Web, mobile, hosting product and service development experts


Return to “Suggestions and Feedback”

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests