Git Product home page Git Product logo

Comments (7)

jlesage avatar jlesage commented on August 18, 2024

Which component is giving this error ?

from docker-baseimage-gui.

Loader23 avatar Loader23 commented on August 18, 2024

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.

jlesage avatar jlesage commented on August 18, 2024

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.

Loader23 avatar Loader23 commented on August 18, 2024

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.

jlesage avatar jlesage commented on August 18, 2024

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.

Loader23 avatar Loader23 commented on August 18, 2024

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.

jlesage avatar jlesage commented on August 18, 2024

You are welcome!

from docker-baseimage-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.