Every time I create anything ie. user, realm, nas, voucher etc. It shows as owner "orphaned". I didn't think too much of it as things seemed to be working. However, I've just noticed when trying to create a new realm, the new realm never shows up under 'realms' when creating a new nas device.
In fact the only realm that shows up as available to a new nas device is the residence Inn.
any ideas what is going on here?
Cheers
Paul
Last edit: fridaystreet 2013-11-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, it's been like it from the outset. From memory it happened when I used the appliance as well. I remember thinking at the time, that's weird but had other priorities at the time. I've created the items as the root user so I'm not sure what's going on. Should I not be using the root user?
When I get a chance I'll fire up the appliance again and double check if the issue shows up on there.
Cheers
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems to be happening on a completely fresh imported appliance using the radiusdesk beta 2_1 image on virtual box.
I go in to say realms for example. Create a realm as logged in user (ie root) and it just shows up as orphaned. So I logged in as admin_college to try creating it from there and something even stranger happened. I created a new realm and it said it had been create, but I couldn't see it as admin_college. I tried to create it again and it said realm already existed.
So I logged back in as root and the realms I created as admin_college where all there, but listed as orphaned.
Not sure what is going on, as I said this is vanilla fresh load up of the appliance. Does it happen for you?
Cheers
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Some additional info on this. When I create a voucher all the realms show up in the drop down box, but still the only realm I can see through the NAS interface is residence Inn.
Cheers
Paul
Sorry additional update: I think this may be related to the GUI in some way. When I create vouchers through my api wrapper using direct calls to the api, they show up in the gui with the owner as the user I connected to the api as. All well and good. However, when I create a voucher using the gui the owner shows as blank. Also I can delete the vouchers I created through api that have an owner, but the ones created through the gui showing no owner fail to delete.
Another update:
Dug a little further and I can see that everything I create through the gui shows up in the db in the relevant table with a user_id of 0. ie a voucher has user_id=0 in voucher table
Last edit: fridaystreet 2013-11-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Dirk,
Every time I create anything ie. user, realm, nas, voucher etc. It shows as owner "orphaned". I didn't think too much of it as things seemed to be working. However, I've just noticed when trying to create a new realm, the new realm never shows up under 'realms' when creating a new nas device.
In fact the only realm that shows up as available to a new nas device is the residence Inn.
any ideas what is going on here?
Cheers
Paul
Last edit: fridaystreet 2013-11-01
Hi Dirk,
Sorry to bump this, thought I'd add some screenshots in case that was helpful.
Is anyone else seeing the orphaned issue, If not maybe I need to rebuild or something :-(
orphaned items
http://screencast.com/t/s26vqkRT
realms not appearing in nas screens
http://screencast.com/t/DKgdMJmZKt
Hi Paul,
You did not perhaps accidentally deleted one of the existing Access Providers who were the owner of these entries that now says "orphaned"?
Another thing which could have happened is that the TreeBehaviour in CakePHP screwed up something in the hierarchy if the Access Provider tree.
Was there a time when it started happening and did you do something just prior to it that is memorable?
Hi Dirk,
No, it's been like it from the outset. From memory it happened when I used the appliance as well. I remember thinking at the time, that's weird but had other priorities at the time. I've created the items as the root user so I'm not sure what's going on. Should I not be using the root user?
When I get a chance I'll fire up the appliance again and double check if the issue shows up on there.
Cheers
Paul
Hi Paul,
You're also welcome to email me a DB dump so I can investigate further on my own development machine.
dirkvanderwalt at gmail.
Hi Dirk,
I'm just going to fire up a new instance of the appliance on my dev machine and compare. If I get stuck I'll send it through, much appreciated.
Paul
It seems to be happening on a completely fresh imported appliance using the radiusdesk beta 2_1 image on virtual box.
I go in to say realms for example. Create a realm as logged in user (ie root) and it just shows up as orphaned. So I logged in as admin_college to try creating it from there and something even stranger happened. I created a new realm and it said it had been create, but I couldn't see it as admin_college. I tried to create it again and it said realm already existed.
So I logged back in as root and the realms I created as admin_college where all there, but listed as orphaned.
Not sure what is going on, as I said this is vanilla fresh load up of the appliance. Does it happen for you?
Cheers
Paul
Hi Dirk,
Some additional info on this. When I create a voucher all the realms show up in the drop down box, but still the only realm I can see through the NAS interface is residence Inn.
Cheers
Paul
Sorry additional update: I think this may be related to the GUI in some way. When I create vouchers through my api wrapper using direct calls to the api, they show up in the gui with the owner as the user I connected to the api as. All well and good. However, when I create a voucher using the gui the owner shows as blank. Also I can delete the vouchers I created through api that have an owner, but the ones created through the gui showing no owner fail to delete.
Another update:
Dug a little further and I can see that everything I create through the gui shows up in the db in the relevant table with a user_id of 0. ie a voucher has user_id=0 in voucher table
Last edit: fridaystreet 2013-11-12