No admin menu in 1.2.0

37 views
Skip to first unread message

jill

unread,
Jan 16, 2012, 2:15:17 PM1/16/12
to ICA-AtoM Users
I've just finished upgrading to ICA-AtoM 1.2.0, and when I login with
an administrative account, there is no admin menu showing up. If I
look at my profile, it says I am in the administrator group, and I can
create a new user from there, but I can't see the existing users. I
had another user report that a contributor (or maybe editor, or editor
and contributor, not sure) was not able to import anything. That's
way I was trying to look at user account. Is this different in 1.2.0?

Also, I just tried Import->XML, and was told I didn't have permission
to access that page, and this is while logged in as an
administrator.

I appreciate any suggestions. Thank you.

jill

unread,
Jan 16, 2012, 2:25:36 PM1/16/12
to ICA-AtoM Users
FYI... while running the search index process, the server ran into an
out of memory condition (error in the log is: "Cannot allocate memory:
fork: Unable to fork new process"), so I'm not sure the search
indexing completed. Could this affect user accounts/access?

Jesús García Crespo

unread,
Jan 16, 2012, 3:26:51 PM1/16/12
to ica-ato...@googlegroups.com
Hi Jill,

On Mon, Jan 16, 2012 at 11:15 AM, jill <jillden...@gmail.com> wrote:
I've just finished upgrading to ICA-AtoM 1.2.0, and when I login with
an administrative account, there is no admin menu showing up.

That's weird. The migration script could be failing updating the menu nodes under some circumstances. You could go to the menu list page directly, this is the path: /index.php/;menu/list - How do your menu nodes look like? This is the current state in 1.2: http://goo.gl/6gzxH
 
If I look at my profile, it says I am in the administrator group, and I can
create a new user from there, but I can't see the existing users.

This is a different issue. 
 
I had another user report that a contributor (or maybe editor, or editor
and contributor, not sure) was not able to import anything.  That's
way I was trying to look at user account.  Is this different in 1.2.0?

Why not? The menu node could not be found? Did the application crash during the process? I hope you can give me some more details on this issue.
 
Also, I just tried Import->XML, and was told I didn't have permissionto access that page, and this is while logged in as an
administrator.

Ok, this is bad enough, :-). Can you send me a SQL dump of your 1.2 database? I'd like to take a look here.

FYI... while running the search index process, the server ran into an
out of memory condition (error in the log is: "Cannot allocate memory:
fork: Unable to fork new process"), so I'm not sure the search
indexing completed.  Could this affect user accounts/access?

Actually, the search index is very important for some parts of the application. I don't think this is producing the problems described issue, but you'll need the search index working if you want the application to work properly. If you are running out of memory you definitely need more memory or you can try to resume the process from the point where it failed. To resume it, follow these instrucitons: https://groups.google.com/group/ica-atom-users/msg/55159132fc7654bd?hl=en&

Regards,


--
Jesús García Crespo,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | +1.604.527.2056

jill

unread,
Jan 16, 2012, 3:39:05 PM1/16/12
to ICA-AtoM Users
Thank you for the quick response. I compare my meny nodes to those at
http://goo.gl/6gzxH, and there were 2 missing: browseRepositories and
browseFunctions. The rest are the same.

Even though I was using byobu, something about the way the server
crashed made it so I wasn't able to see the output at the point it
failed, so I wouldn't know where to resume the search index. I will
request more memory and then try again (I used memory_limit=-1, so I
assume that means the server just didn't have enough available).

I will send a sql dump to you directly. Thank you very much for your
help.

On Jan 16, 12:26 pm, Jesús García Crespo <je...@artefactual.com>
wrote:
> Hi Jill,
> To resume it, follow these instrucitons:https://groups.google.com/group/ica-atom-users/msg/55159132fc7654bd?h...

Jesús García Crespo

unread,
Jan 16, 2012, 3:50:52 PM1/16/12
to ica-ato...@googlegroups.com
Hi Jill,

On Mon, Jan 16, 2012 at 12:39 PM, jill <jillden...@gmail.com> wrote:
Thank you for the quick response.  I compare my meny nodes to those at
http://goo.gl/6gzxH, and there were 2 missing: browseRepositories and
browseFunctions.  The rest are the same.

That said, I can't understand with the admin menu isn't showing up. I hope to clarify this once I check your dump.
 
Even though I was using byobu, something about the way the server
crashed made it so I wasn't able to see the output at the point it
failed, so I wouldn't know where to resume the search index.  I will
request more memory and then try again (I used memory_limit=-1, so I
assume that means the server just didn't have enough available).

Please consider that PHP is not aware of the memory needed by the rest of the system, if there is no limit and PHP gets too much memory I guess that the system may become unstable. That's maybe why they system crashed unexpectedly. Set a reasonable memory limit so the operative system can still work. For example, if you have 4G available, set a limit of 3200M. But this is not related to the fact that you may need more memory to build the index. I would recommend to run an instance in Amazon for some hours... an index like yours it could take a few hours, but it is still interesting from my point of view.
 
I will send a sql dump to you directly.  Thank you very much for your help.

No worries. I will take a look at all the issues you described one by one.

jill

unread,
Jan 17, 2012, 9:33:47 AM1/17/12
to ICA-AtoM Users
I tried re-indexing the search with memory_limit=3200 and it completed
successfully. I still have no admin menu, but I am now able to go to
the Import page without getting a permission denied error. Thank you
for your help, and please let me know what you find about the admin
menu issue.

On Jan 16, 12:50 pm, Jesús García Crespo <je...@artefactual.com>
wrote:
> Hi Jill,

jill

unread,
Jan 17, 2012, 11:24:06 AM1/17/12
to ICA-AtoM Users
I just remembered to clear cache (php symfony cc) after running the
search index, and now my admin menu is back. All problems resolved.

Thanks again for your help with this.

Best to you.

jill

unread,
Jan 17, 2012, 11:32:42 AM1/17/12
to ICA-AtoM Users
One thing that may still be worth looking into: my menus list is still
missing browseRepositories and
browseFunctions.

On Jan 17, 6:33 am, jill <jilldenaeear...@gmail.com> wrote:

Jesús García Crespo

unread,
Jan 17, 2012, 11:54:56 AM1/17/12
to ica-ato...@googlegroups.com
Hi Jill,

On Tue, Jan 17, 2012 at 8:24 AM, jill <jillden...@gmail.com> wrote:
I just remembered to clear cache (php symfony cc) after running the
search index, and now my admin menu is back.  All problems resolved.

I am glad to know that! Let me know if you run into any other issues.

Regards.

Jesús García Crespo

unread,
Jan 17, 2012, 12:23:52 PM1/17/12
to jill, ica-ato...@googlegroups.com
Hi Jill,

Click on the Admin > Menus node, the menu list will show up. At the bottom you'll find the "Add new" button, you can use that form to add these nodes as described below:

Name: browseFunctions
Label: Functions
Path: function/browse

Name: browseRepositories
Label: Repositories
Path: repository/browse

Regards,

2012/1/17 jill <jillden...@gmail.com>
Not sure if you saw my next post:


One thing that may still be worth looking into: my menus list is
still
missing browseRepositories and
browseFunctions.

This is not at all urgent, but do let me know if you have thoughts
about how to get them added.  Can I just add them to the menu table?
Do you have the direct URLs for those so I can check if they work? 

jill

unread,
Jan 17, 2012, 10:13:23 PM1/17/12
to ICA-AtoM Users
Thank you. I've updated the menu. All is good now with our ICA-AtoM
1.2.0 installation, with very much appreciated help from you along the
way.

Best regards.

On Jan 17, 9:23 am, Jesús García Crespo <je...@artefactual.com> wrote:
> Hi Jill,
>
> Click on the Admin > Menus node, the menu list will show up. At the bottom
> you'll find the "Add new" button, you can use that form to add these nodes
> as described below:
>
> Name: browseFunctions
> Label: Functions
> Path: function/browse
>
> Name: browseRepositories
> Label: Repositories
> Path: repository/browse
>
> Regards,
>
> 2012/1/17 jill <jilldenaeear...@gmail.com>
Reply all
Reply to author
Forward
0 new messages