mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[GH-ISSUE #1909] [Bug] Blank (white) page on startup #751
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#751
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dieterbe on GitHub (Mar 2, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1909
Bug Description
Hi, i built appflowy from scratch on arch linux using the aur package
Upon startup, i just get a white page, seems similar to #65
How to Reproduce
build from source and run it
Expected Behavior
i see more than just blank
Operating System
Arch linux
AppFlowy Version(s)
i've been seeing this with main branch today, but also 10 days ago
Screenshots
Additional Context
No response
@annieappflowy commented on GitHub (Mar 2, 2023):
Hi @Dieterbe , plz take a look at this doc: https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/environment-setup/building-on-linux
Search libssl
@Dieterbe commented on GitHub (Mar 2, 2023):
Hi Annie,
so that doc mentions this error:
I do not see this error at runtime (or is this supposed to be a build-time error? my build seems to have completed successfully, maybe i missed such a message during build, but i imagine a failure like this would break a build)
and also, i do seem to have the required ssl library installed:
@LucasXu0 commented on GitHub (Mar 2, 2023):
Hey, @Dieterbe. Are there no errors complaining at runtime? I only know that AppFlowy will run into a blank page if the libssl is missing.
By the way, this is a runtime error.
@MithicSpirit commented on GitHub (Mar 2, 2023):
@Dieterbe can you try to run
ldd -v /opt/appflowy-git/lib/libdart_ffi.soand send the output here (ideally spoilered to prevent spam, or in a pastebin)? It should provide info on the necessary shared libraries.@Dieterbe commented on GitHub (Mar 3, 2023):
First of all, thanks to all of you for being so helpful, really appreciate it.
I confirm that there are no runtime errors or output of any kind when running the program,
until I close the window. At that point I do see this (may be a separate issue)
Output of the ldd command (and
ls -lwhile we're at it) is here:~ ❯❯❯ ldd -v /opt/appflowy-git/lib/libdart_ffi.so ldd: warning: you do not have execution permission for `/opt/appflowy-git/lib/libdart_ffi.so' linux-vdso.so.1 (0x00007ffe5f5c9000) libssl.so.3 => /usr/lib/libssl.so.3 (0x00007f4ee7d60000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007f4ee7800000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f4ee93ac000) libm.so.6 => /usr/lib/libm.so.6 (0x00007f4ee7c78000) libc.so.6 => /usr/lib/libc.so.6 (0x00007f4ee7619000) /usr/lib64/ld-linux-x86-64.so.2 (0x00007f4ee93f4000)~ ❯❯❯ ls -l /opt/appflowy-git/lib/libdart_ffi.so
-rw-r--r-- 1 root root 22455160 Mar 2 14:19 /opt/appflowy-git/lib/libdart_ffi.so
@Anvith00 commented on GitHub (Mar 3, 2023):
Greetings @Dieterbe , are you perhaps missing the keybinder-3 dependency?
If yes, you would have to install keybinder-3 in your distribution. Please try:
@MithicSpirit commented on GitHub (Mar 3, 2023):
I get the same GLib warning on my machine (where appflowy works fine), so that's not the issue I think.
As for libkeybinder it is already a dependency of the AUR package, so it should already be installed (also, on Arch, the package is named
libkeybinder3instead oflibkeybinder3-0).@Dieterbe are you on X.org or Wayland?
@MithicSpirit commented on GitHub (Mar 3, 2023):
Did some testing around in a Docker container and found out that the issue is a missing
xdg-user-dirsdependency (had to compare with theappflowy-binpackage to find out, so kudos to them). I've added this now, so @Dieterbe, if you could please try rebuilding now (or just installing that dependency manually) and seeing if it works, that would be appreciated.@lariane-guerra commented on GitHub (Mar 4, 2023):
I have a similar problem. I want to use the AppFlowy, i installed with POPos store, but i had a blank white screen on startup.
Can one help me?
@lariane-guerra commented on GitHub (Mar 4, 2023):
I try to install the libssl, but it dosent help for me
@Dieterbe commented on GitHub (Mar 4, 2023):
@Anvith00 I have libkeybinder3 installed (but not libkeybinder2)
I tried installing libkeybinder2 as well, but that did not fix the issue.
@MithicSpirit I run X.org (xorg-server 21.1.7), and your fix of installing xdg-user-dirs fixed it!! thank you !
So, we now have 2 options, I think:
A) change this issue into "appflowy does not gracefully handle absense of xdg-user-dirs, it should show an error or something"
B) there is no issue here, since everything works if the build instructions are followed. (although there is a typo in the instructions)
@MithicSpirit commented on GitHub (Mar 4, 2023):
@lariane-guerra try launching it from the terminal and look to see if there is any output. If there is any please post it here. Also, make sure that the executable
xdg-user-diris in your$PATH.If option A is easy to implement (which I suspect it is—just hardcode default directories relative to
$HOMEifxdg-user-dirsis not found) then I think that it would be the best solution. Otherwise, I think that a warning similar to the ssl one should be added to the instructions stating that thexdg-user-direxecutable is necessary (and mentioning the corresponding package on each relevant distro).@lariane-guerra commented on GitHub (Mar 4, 2023):
@MithicSpirit can you help me with this? I'm a new user in linux. I really dont know how can i open by terminal
@lariane-guerra commented on GitHub (Mar 4, 2023):
HIiiii, i remove the trash files, and re-install the app, now its working.
the only problem its the icon that dosent work.
@Anvith00 commented on GitHub (Mar 4, 2023):
This information will be handy. I shall update the docs based on this and a few more infos. Thank you very much 🙂.
@Anvith00 commented on GitHub (Mar 4, 2023):
@lariane-guerra I'm not exactly sure what steps you might have followed to install AppFlowy the second time. What I do know is that the AppFlowy you initially installed from Pop!_Shop was a flatpak release, which is outdated by a version, and has a blank screen since it cannot access openssl 1.1.1 in the sandbox.
Can you let us know how you installed AppFlowy the second time?
Was it by installing using a .deb installer, or, did you download and extract the tarball binaries?
@chenxuan520 commented on GitHub (Mar 5, 2023):
I opened it by unzipping the archive. The version is the latest, and there is a blank screen. The command line error is:Unhandled Exception:Invalid argument(s):Failed to load dynamic library 'libdart_ffi.so':libssl.so.1.1:cannot open shared object file:No such file or directory. My operating system is linuxmint 21. I found that the missing dynamic libraries are all in the lib directory, but I don't want to add them to the system lib directory. Is there any other way to solve this problem
@Anvith00 commented on GitHub (Mar 5, 2023):
@chenxuan520 You will require installing openssl1.1.1. You can do that on
aptusing:If
libssl1.1isn't present in your distributions package manager repository, do this instead:@czakuma commented on GitHub (Mar 22, 2023):
Hi, I am also seeing a blank white screen when opening AppFlowy when I downloaded the latest windows build. It happens with both the exe and .zip downloads. This is on windows 10.
@LucasXu0 commented on GitHub (Mar 23, 2023):
@czakuma Related to https://github.com/AppFlowy-IO/AppFlowy/issues/566#issuecomment-1479966477.
@Moilleadoir commented on GitHub (Apr 27, 2023):
So is the flatpak unofficial/unsupported then?
@annieappflowy commented on GitHub (Apr 27, 2023):
We officially support flatpak @Moilleadoir
Will take a look into the issue
@annieappflowy commented on GitHub (Jun 12, 2023):
Let us know if you still encounter the issue
@Zukureneno commented on GitHub (Jun 12, 2023):
This issue is still present on Flatpak