Foxx test app not showing up in dashboard

34 views
Skip to first unread message

tho...@additivelabs.com

unread,
Nov 29, 2014, 11:48:21 PM11/29/14
to aran...@googlegroups.com
Hi guys,

Today I decided to test some Foxx app ideas I had in mind and followed the Foxx tutorials to create a new app and register it through the --javascript.dev-app-path flag.
To my surprise, the app didn't show up under the 'Applications' tab in aardvark. I had it working before I switched to 2.3 so I was puzzled and tried many things to understand what I was doing wrong. I understood that the app showed up if it was deployed in the _system DB, but didn't if I used any other DB!

After an hour or so, I tried to test the app's HTTP endpoint even though it wasn't showing in the the dashboard... and the endpoint responded. So I guess I ran in an aardvark display bug.
If you confirm it is a bug indeed, I will file an issue on GitHub.

Cheers

tho...@additivelabs.com

unread,
Nov 30, 2014, 1:47:59 AM11/30/14
to aran...@googlegroups.com
I've further noticed that the app does show in the dashboard after a first request on its endpoint...

Thomas

Lucas Dohmen

unread,
Dec 1, 2014, 3:55:57 AM12/1/14
to aran...@googlegroups.com
Hi Thomas,

I can’t confirm the bug, just tried it on both devel and 2.3 – the app is visible in the admin interface and the interactive documentation is working. It has to be something else. Can you take a look into your logs? Are any errors logged?

Best Wishes
Lucas

tho...@additivelabs.com

unread,
Dec 1, 2014, 4:34:56 AM12/1/14
to aran...@googlegroups.com
Hi Lucas,

Yeah I had a look at the logs but they didn't show anything related to that.

I've just re-tried it and the behavior is the same:
- start arangod with the --javascript.dev-app-path flag
- go to the web dashboard, switch to the DB where the dev app is deployed -> Applications is empty
- query the dev app through its endpoint
- go back to the web dashboard -> the app shows up in Applications

It's far from critical and is more of a display glitch (for me). Anyway, let me know if there's anything I can do on my side to investigate.

Thanks
Thomas

Jan Steemann

unread,
Dec 1, 2014, 5:18:24 AM12/1/14
to aran...@googlegroups.com
I think this is intentional.
Dev apps are only mounted when they are first accessed. Otherwise
arangodb would need to permanently monitor the file system for changes,
which it doesn't.

On 01.12.2014 10:34, tho...@additivelabs.com wrote:
> Hi Lucas,
>
> Yeah I had a look at the logs but they didn't show anything related to that.
>
> I've just re-tried it and the behavior is the same:
> - start arangod with the --javascript.dev-app-path flag
> - go to the web dashboard, switch to the DB where the dev app is
> deployed -> Applications is empty
> - query the dev app through its endpoint
> - go back to the web dashboard -> the app shows up in Applications
>
> It's far from critical and is more of a display glitch (for me). Anyway,
> let me know if there's anything I can do on my side to investigate.
>
> Thanks
> Thomas
>
> On Monday, December 1, 2014 4:55:57 PM UTC+8, Lucas Dohmen wrote:
>
> Hi Thomas,
>
> I can’t confirm the bug, just tried it on both devel and 2.3 – the
> app is visible in the admin interface and the interactive
> documentation is working. It has to be something else. Can you take
> a look into your logs? Are any errors logged?
>
> Best Wishes
> Lucas
>
>> On 30 Nov 2014, at 05:48, tho...@additivelabs.com <javascript:> wrote:
>>
>> Hi guys,
>>
>> Today I decided to test some Foxx app ideas I had in mind and
>> followed the Foxx tutorials to create a new app and register it
>> through the --javascript.dev-app-path flag.
>> To my surprise, the app didn't show up under the 'Applications'
>> tab in aardvark. I had it working before I switched to 2.3 so I
>> was puzzled and tried many things to understand what I was doing
>> wrong. I understood that the app showed up if it was deployed in
>> the _system DB, but didn't if I used any other DB!
>>
>> After an hour or so, I tried to test the app's HTTP endpoint even
>> though it wasn't showing in the the dashboard... and the endpoint
>> responded. So I guess I ran in an aardvark display bug.
>> If you confirm it is a bug indeed, I will file an issue on GitHub.
>>
>> Cheers
>
>> I've further noticed that the app /does/ show in the dashboard
>> after a first request on its endpoint...
>>
>> Thomas
>
> --
> You received this message because you are subscribed to the Google
> Groups "ArangoDB" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to arangodb+u...@googlegroups.com
> <mailto:arangodb+u...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

tho...@additivelabs.com

unread,
Dec 1, 2014, 5:22:34 AM12/1/14
to aran...@googlegroups.com
OK that totally makes sense, although it can be confusing if someone's following the Foxx recipe and trying to deploy on a DB that is not _system (interestingly, apps deployed in _system do show up in the dashboard even after a first access!).

Thomas

tho...@additivelabs.com

unread,
Dec 3, 2014, 2:24:28 AM12/3/14
to aran...@googlegroups.com
Sorry I meant, apps deployed in _system do show up in the dashboard even before a first access...
Reply all
Reply to author
Forward
0 new messages