fusionpbx-docker icon indicating copy to clipboard operation
fusionpbx-docker copied to clipboard

GUI broken after container rebuild

Open zultron opened this issue 8 years ago • 1 comments

I'm using this project as a base to install FusionPBX in CoreOS. The Docker Hub images work great. (I really appreciate you doing all the hard work for me.)

If the container is rebuilt, the GUI breaks. The top nav bar contains just the FusionPBX icon but no menus, and 95% of the dashboard is missing.

The problem stems from changes in FusionPBX since your Docker Hub images were built at rev. 120b37361e27. Sadly, I'm pretty clueless with php, and too lazy to bisect the 800 commits in between, so I resorted to checking out the known-working revision in my fork. If this problem rings a bell, I'd love to hear about it.

Thanks again. The changes I'm attempting are to pull all stateful filesystem directories into one place and to set the DB password from the start-freeswitch.sh script. With the latter change, there's no need to manually run the extra password setup command; if that looks interesting, let me know and I'll sumbit a PR. Thanks again!

zultron avatar Dec 05 '16 05:12 zultron

Hi, unfortunately I do not know much about docker at all so any help would be appreciated.

To get around the problem with no menus etc, could you try visiting:

https://yourip/core/upgrade/index.php

And select the options from db downwards one at a time and run them.

I need to update that image, the problem I see immediately is that FusionPBX has now switched back to running under a single user, www-data, for freeswitch and the web server. This is not how this docker image was built so I need to redo it from scratch.

After reading what docker was really designed for it seemed to me that docker was not the right method to employ if you wanted long term things and instead I turned my attention to LXC.

The long term aim is to build a scalable cluster with each of the services broken down into separate containers, eg postgres, nginx, freeswitch etc, sharing a common configuration using NFS for example.

We now have a forum at http://www.fusionpbxforums.com if you want to give us a shout in there anytime.

PBXForums avatar Dec 05 '16 09:12 PBXForums