Troubleshooting Common Errors

This page provides information for how to troubleshoot common problems and errors.

Starting with Status Code "000" on Imports

The issue occurs when the script import-onecx.sh is executed (importing OneCX data)

status code 000 import onecx.sh
Figure 1. Status code 000 on initial imports
Solution
  • Check if the hosts files is up-to-date. See Setup hosts instructions.

Failed Services on Start up

The problem occurs when some services cannot be started successfully even after several attempts and timeouts.

incomplete onecx start
Figure 2. Message: Failed Services on Start up
Solution
* Start again

Missing Menu in Browser

The problem occurs sometimes after succesful starting the services

missing menu on start
Figure 3. Message: Missing Menu in Browser
Solution
* Remove Browser Cache & Cookies
* Refresh browser

Bad gateway in Browser

The problem occurs sometimes after succesful starting the services

bad gateway on mfe start
Figure 4. Message: Bad gateway in Browser
Solution
* Start again
* Refresh browser

Error response from daemon: Failed to set up container networking

The problem occurs when during start up there are collisions between Docker networks.

docker deamon failed to setup container networking
Figure 5. Message: Failed to set up networking
Solution
  • Remove all Docker networks with

    docker network prune
  • Start again

Cannot successful pull the latest version onecx-local-env

The issue occurs if the repository is updated with git pull (get latest version of onecx-local-env)

untracked files on pull.sh
Figure 6. Message: Untracked local files on pulling
traefik active created by root.sh
Figure 7. The directory init_data/traefik/active was created by root
Solution
  • Remove the active directory of Traefik manually by execution of

    • sudo rm -rf init_data/traefik/active

  • Reset the local repo (all other changes will be lost)

    • git reset --hard origin/main