[Support] Djoss - Firefox


Djoss

Recommended Posts

Hello,

 

I cannot start the container anymore, can you help?

 

[cont-init   ] 10-vnc-password.sh: /etc/cont-init.d/10-vnc-password.sh: line 26: /opt/tigervnc/bin/vncpasswd: not found
[cont-init   ] 10-vnc-password.sh: terminated with error 127.

 

 

Spoiler
[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] APP_VERSION: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_VERSION: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-cjk-font.sh: executing...
[cont-init   ] 10-cjk-font.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: creating VNC password file from environment variable...
[cont-init   ] 10-vnc-password.sh: /etc/cont-init.d/10-vnc-password.sh: line 26: /opt/tigervnc/bin/vncpasswd: not found
[cont-init   ] 10-vnc-password.sh: terminated with error 127.

** Press ANY KEY to close this window ** 

 

 

Link to comment
2 hours ago, 3dee said:

Hello,

 

I cannot start the container anymore, can you help?

 

[cont-init   ] 10-vnc-password.sh: /etc/cont-init.d/10-vnc-password.sh: line 26: /opt/tigervnc/bin/vncpasswd: not found
[cont-init   ] 10-vnc-password.sh: terminated with error 127.

 

 

  Hide contents
[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] APP_VERSION: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_VERSION: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-cjk-font.sh: executing...
[cont-init   ] 10-cjk-font.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: creating VNC password file from environment variable...
[cont-init   ] 10-vnc-password.sh: /etc/cont-init.d/10-vnc-password.sh: line 26: /opt/tigervnc/bin/vncpasswd: not found
[cont-init   ] 10-vnc-password.sh: terminated with error 127.

** Press ANY KEY to close this window ** 

 

 

 

I'm fixing this.

Link to comment
  • 2 weeks later...

Just upgraded to the new version v22.10.4 and the container is unable to start. 

Container logs show:

[logmonitor  ] Monitoring log file: /config/log/firefox/error.log

And viewing that I see this:

Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm

It was ok using the "latest" branch up until this update, but going back to the previous tag oddly still fails to boot. No changes on my side other than the update to the container but happy to test any suggestions. Thanks.

Link to comment
3 minutes ago, Jake L. said:

Just upgraded to the new version v22.10.4 and the container is unable to start. 

Container logs show:

[logmonitor  ] Monitoring log file: /config/log/firefox/error.log

And viewing that I see this:

Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm

It was ok using the "latest" branch up until this update, but going back to the previous tag oddly still fails to boot. No changes on my side other than the update to the container but happy to test any suggestions. Thanks.

 

Please provide the full container log by running the following command:

 

docker logs Firefox

 

Link to comment

Thanks for the reply. Here's everything from docker logs Firefox after trying to start it again. It's not set to any tag so should be pulling the latest. 

 

[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] APP_VERSION: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env    ] DOCKER_IMAGE_VERSION: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-cjk-font.sh: executing...
[cont-init   ] 10-cjk-font.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-jwm.sh: executing...
[cont-init   ] 10-jwm.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 55-check-snd.sh: executing...
[cont-init   ] 55-check-snd.sh: sound not supported: device /dev/snd not exposed to the container.
[cont-init   ] 55-check-snd.sh: terminated successfully.
[cont-init   ] 55-firefox.sh: executing...
[cont-init   ] 55-firefox.sh: terminated successfully.
[cont-init   ] 56-firefox-set-prefs-from-env.sh: executing...
[cont-init   ] 56-firefox-set-prefs-from-env.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           Firefox                                       │
    │ Application Version:   101.0.1-r0                                    │
    │ Docker Image Version:  22.10.4                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'jwm'...
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] all services loaded.
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[xvnc        ] Xvnc TigerVNC 1.12.0 - built Oct 23 2022 14:15:52
[xvnc        ] Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)
[xvnc        ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc        ] Underlying X server release 12013000, The X.Org Foundation
[xvnc        ] Tue Oct 25 19:15:57 2022
[xvnc        ]  vncext:      VNC extension running!
[xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc        ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc        ]  vncext:      created VNC server for screen 0
[supervisor  ] starting service 'jwm'...
[supervisor  ] starting service 'nginx'...
[nginx       ] Listening for HTTP connections on port 5800.
[supervisor  ] starting service 'app'...
[app         ] Mozilla Firefox 101.0.1
[supervisor  ] starting service 'logmonitor'...
[logmonitor  ] Monitoring log file: /config/log/firefox/error.log
[logmonitor  ] Monitoring status file: /tmp/.firefox_shm_check
[logmonitor  ] Monitoring status file: /tmp/.firefox_membarrier_check
[supervisor  ] all services started.
[supervisor  ] service 'app' exited (with status 0).
[supervisor  ] service 'app' exited, shutting down...
[supervisor  ] stopping service 'logmonitor'...
[supervisor  ] service 'logmonitor' exited (got signal SIGTERM).
[supervisor  ] stopping service 'nginx'...
[supervisor  ] service 'nginx' exited (with status 0).
[supervisor  ] stopping service 'jwm'...
[supervisor  ] service 'jwm' exited (with status 0).
[supervisor  ] stopping service 'xvnc'...
[xvnc        ] Tue Oct 25 19:16:00 2022
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)
[supervisor  ] service 'xvnc' exited (with status 0).
[finish      ] executing container finish scripts...
[finish      ] all container finish scripts executed.

 

Link to comment

Can you check the content of these log files:

 

tail -n 100 /mnt/user/appdata/Firefox/log/firefox/error.log
tail -n 100 /mnt/user/appdata/Firefox/log/firefox/output.log

 

My guess is that something went wrong with the Firefox profile.  So probably that doing this would help starting from scratch:

  • docker stop Firefox
  • mv /mnt/user/appdata/Firefox /mnt/user/appdata/Firefox.bk
  • docker start Firefox
Link to comment
12 hours ago, Jake L. said:

Thanks @Djoss those steps appear to have fixed it. Was there anything I did wrong, or is this just something that happens from time to time? 

 

If needed, output.log was empty and error.log just had this line repeated:

Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm

 

Not sure what happened.  Looks like the profile got corrupted somehow.  This is not something that should happen normally.

Link to comment
  • 1 month later...

For some reason the old issue of the Firefox container becoming un-responsive has flared up again. Multiple CPU cores/threads are pegged at 100%, but top only shows the usage in the attached pic. It's always the ``--setDefaultBrowser`` task that's using the most CPU. I'm still puzzled as to why it goes unresponsive though as total CPU load is still quite low. Any thoughts?

 

FirefoxUnresponsive.thumb.jpg.7903c0522835b4f81a7adda05b7018ac.jpg

Edited by AgentXXL
spelling
Link to comment
  • 4 weeks later...
On 12/11/2022 at 11:09 AM, AgentXXL said:

For some reason the old issue of the Firefox container becoming un-responsive has flared up again. Multiple CPU cores/threads are pegged at 100%, but top only shows the usage in the attached pic. It's always the ``--setDefaultBrowser`` task that's using the most CPU. I'm still puzzled as to why it goes unresponsive though as total CPU load is still quite low. Any thoughts?

 

FirefoxUnresponsive.thumb.jpg.7903c0522835b4f81a7adda05b7018ac.jpg

 

What "top" shows when run on unRAID itself (not inside the container) ?  Looks like something else than the container is using all the CPU ?

Link to comment
7 hours ago, Djoss said:

 

What "top" shows when run on unRAID itself (not inside the container) ?  Looks like something else than the container is using all the CPU ?

 

When this happens, top on unRAID itself reports Docker using the CPU. I've verified it's something specific to the Firefox container as I've had it happen when all other containers were stopped. I don't run any VMs on that system so the VM service isn't even enabled. I have let it run a few times and eventually the process 'setDefaultBrowser' completes in the container itself, and then my CPU utilization returns to normal.

 

I don't see it every day... it's quite random. At least I know that if I'm patient, the process will eventually complete what it's doing and things will return to usable in the Firefox container.

 

 

Edited by AgentXXL
punctuation
Link to comment
11 hours ago, Djoss said:

 

You mean the "dockerd" process ?

 

Next time it happens I will grab a screenshot of the unRAID results from top. I just remember it being something related to Docker. That's what prompted me to start disabling containers to narrow down which one(s) might be causing the issue. One by one I disabled them and the Firefox container was the last one running while the CPU utilization was extremely high. As soon as I stopped the Firefox container, CPU utilization returned to normal.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.