Betrio ERP for craftsmen and a probably simple App Store question

Hi everyone,

I’m André, a carpenter from Germany and the developer of Betrio, a small ERP app for Nextcloud.

Betrio actually started just for our own company. We’ve been using it for quite a while now for customers, projects, work reports, working times, materials and documents.

A while ago I thought: why not make it public? So I went through all the App Store stuff, got it signed and finally got Betrio into the Nextcloud App Store. :slightly_smiling_face:

And now I’m stuck on… a picture. :sweat_smile:

On the Nextcloud App Store website the Betrio logo is there and looks fine. But inside Nextcloud Apps, Betrio still has the generic gear icon.

I’ve tried quite a few things already.

First I checked img/app.svg. It’s there, valid, monochrome and referenced in info.xml:

<icon>app.svg</icon>

I can also open the file directly through Nextcloud – HTTP 200.

Still the gear. :gear:

Then I found the local App Store cache in:

appdata_.../appstore/apps.json

Cleared/refreshed that too.

Still the gear.

Next try was 1.9.32 with:

store/logo.png

and small-thumbnail on the first screenshot.

Nope. :grinning_face_with_smiling_eyes:

With 1.9.33 I tried again with a separate:

store/storebg.png

and put that as the first <screenshot> in info.xml, before the normal screenshots.

New release, signed, published…

:gear: :sweat_smile:

That’s still the current setup in 1.9.34.

At this point I’m pretty sure I’m missing something really simple. But after reading through the documentation and trying all of this, I honestly don’t know where else to look.

So maybe someone here can save me from fighting with this little gear for another evening. :joy:

What does Nextcloud actually use for the image on the app tile under Nextcloud Apps?

And where am I going wrong?

Thanks for any help!

André

Hello,

I fear this is a local caching issue on your machine:

grafik

I just cloned your app and enabled it. Nothing more.

Hint: Open Web console, disable caching and look for the correct logo download and see if the browser actually gets the correct logo from the browser. This might narrow down the issue on your machine.

Cheers
Chris

Thanks Chris!

I think I explained my problem badly. :sweat_smile:

The app icon itself is actually working fine once Betrio is installed and enabled in Nextcloud. So app.svg seems to be OK.

What I’m fighting with is the preview image/screenshot in the App Store itself.

That’s the image I’ve tried to get working with store/logo.png, small-thumbnail and now store/storebg.png as the first screenshot in info.xml.

So your test actually helped. At least now I know I can stop blaming app.svg. :grinning_face_with_smiling_eyes:

Sorry for the confusion and thanks for taking the time to clone and test it! :slightly_smiling_face:

André

Generally, this looks fine.

One comment from my experience of the past: The appstore (or the NC server) was not too happy with the XML file not in the correct ordering. I think your screenshots are semantically correctly located but might fail to parse. So, my advice is to be super-strict regarding the ordering in the XML file. I put a Github Action for it in my app to fetch such issues.

$ xmllint --schema /tmp/info.xsd appinfo/info.xml > /dev/null
appinfo/info.xml:56: Schemas validity error : Element 'screenshot': This element is not expected. Expected is one of ( description, version ).
appinfo/info.xml fails to validate

Maybe this will help. It will not hurt for sure :wink:

Hi

Thanks for your app. It looks pretty.I’vem just installed it but don’t know how to choose English for display; all are your languages

I think you will have a language option to choose. I’m Vietnamese, but I think English is amust-havee for everyone.

Please think about that

Tks