Comments (7)
Which component is giving this error ?
from docker-baseimage-gui.
Is this what you are looking for?:
[app ] [778:1106/072547.484384:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[app ] LaunchProcess: failed to execvp:
[app ] xdg-settings
[supervisor ] service 'app' exited (got signal SIGILL).
[supervisor ] restarting service 'app'.
[supervisor ] starting service 'app'...
from docker-baseimage-gui.
Ok so the issue is with Joplin itself ?
Also, is the issue really when changing from ubuntu-18.04 to ubuntu-18.04-v4 ? Or it's just the update to the latest Joplin version that cause the problem ?
from docker-baseimage-gui.
The dockerfile always downloads the latest Joplin version. I forgot to mention that I had to add libfuse2 dependency, but thats for both versions - 18.04 and 18.04-v2.
But the issue really occurs when changing from 18.04 to 18.04-v4. Joplin does not start anymore with the new Image.
Here is the working dockerfile:
FROM jlesage/baseimage-gui:ubuntu-18.04
RUN apt-get update && apt-get install -y wget libnss3 libgtk-3-0 libxss1 libasound2 libgbm1 libfuse2
RUN useradd --shell /sbin/nologin --home /app --uid 1000 -G users appuser
RUN mkdir /app && chown appuser -Rfv /app
USER appuser
RUN echo $USER
WORKDIR /app
RUN wget -O - https://raw.githubusercontent.com/laurent22/joplin/dev/Joplin_install_and_update.sh >/app/install-joplin.sh && chmod +x /app/install-joplin.sh
RUN TERM=xterm /app/install-joplin.sh --allow-root --force
RUN /app/.joplin/Joplin.AppImage --appimage-extract
ENV APPDIR=/app/squashfs-root
ADD startapp.sh /startapp.sh
USER root
ADD https://raw.githubusercontent.com/laurent22/joplin/dev/Assets/LinuxIcons/256x256.png /app/joplin-logo.png
RUN APP_ICON_URL=file:///app/joplin-logo.png && install_app_icon.sh "$APP_ICON_URL"
ENV APP_NAME="Joplin"
And the Startapp.sh, just for completion.
#!/bin/sh
cd /app
USER=appuser
HOME="/app"
exec /app/squashfs-root/AppRun --no-sandbox
Now changing 18.04 to 18.04-v4 will cause the error above.
from docker-baseimage-gui.
Maybe you need to install additional packages with v4 ?
I would check what packages are installed when using 18.04 and then compare with 18.04-v4.
from docker-baseimage-gui.
I finally found something :-)
There are many who had the same Problem with Cypres and WSL for Windows. There I found the dependencies for Cypres
apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb
I just added these and and now its also working with 18.04-v4. I will now further check what dependency really is needed. But at least I got something to work with so Iam closing this Issue.
Thanks alot for your Support and pushing me in the right direction :-)
from docker-baseimage-gui.
You are welcome!
from docker-baseimage-gui.
Related Issues (20)
- Alpine mirrors support HOT 3
- Maximize Windows Does not Work Sometimes HOT 1
- Set remote resizing as default HOT 3
- add license? HOT 2
- Request for VLC media player
- 32bit or i386 version. HOT 3
- Zram? HOT 9
- Openbox not launching / no error shown HOT 2
- [Feature Request] Add image based on debian-slim HOT 2
- Add a link to your dockerhub into readme HOT 1
- QR Code HOT 2
- Ubuntu release peculiarities. HOT 4
- Add specific user for app HOT 3
- "Failed to connect" HOT 10
- Question: maximise only main window HOT 2
- Change the time until the SIGKILL signal. HOT 2
- Persistent Data Storage Issue with Ratioghost Docker Container HOT 2
- Xvnc service fails to start HOT 1
- custom drive mapping. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-baseimage-gui.