Menu Items appear locally but not in deployment

30 views
Skip to first unread message

Dillonsw

unread,
Aug 20, 2024, 8:41:03 AM8/20/24
to OpenWISP
I have added some menu items to openwisp-utils, previously this was working perfectly fine but now suddenly it seems like when I try and deploy these changes using ansible the menu items do not appear, however if I run openwisp-utils as a standalone django application locally I can indeed see them.

Federico Capoano

unread,
Aug 20, 2024, 11:48:44 AM8/20/24
to open...@googlegroups.com
What does your playbook look like?
Are Django settings being updated if you change the extra settings variables?

Federico

On Tue, 20 Aug 2024 at 08:41, Dillonsw <dillonw...@gmail.com> wrote:
I have added some menu items to openwisp-utils, previously this was working perfectly fine but now suddenly it seems like when I try and deploy these changes using ansible the menu items do not appear, however if I run openwisp-utils as a standalone django application locally I can indeed see them.

--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/3a17ce41-3bc6-4eb3-9da6-ff2c21b053dbn%40googlegroups.com.

Clément Beaujoin

unread,
Aug 27, 2024, 7:54:42 AM8/27/24
to OpenWISP
It seems that the issue is due to the new vesion of openwisp-utils that has been released.

As in pip.yml deployement script "state" is set at latest it overides your custom openwisp-utils by the latest version.

Dillonsw

unread,
Aug 30, 2024, 5:20:15 PM8/30/24
to OpenWISP
Detailed - currently I have added a new menu group in the sidebar menu in openwisp-utils using register_menu_group, this has worked both locally and in deployments using ansible playbook. This approach has been working for a few months for me now, however all of a sudden the changes that I have made are only visible locally and not after I do my deployment. I am pointing towards me own instance of openwisp-utils, and like I mentioned I can see the changes locally if I run openwisp-utils as a standalone django application, but I cannot see the changes in the deployed version. Any ideas? I have tried deleting my roles/ and collections/ folders in case of caching issues, but still nothing
Reply all
Reply to author
Forward
0 new messages