mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #566] Cannot run on Ubuntu22.4 #249
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#249
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 @JamesUmmec on GitHub (Jun 18, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/566
Originally assigned to: @LucasXu0, @appflowy on GitHub.
When running on Ubuntu22.4 (linux x86_64), the window stay blank and cannot show anything.
Here are cli output when running this app:
@jpastolfo commented on GitHub (Jul 15, 2022):
I ran into the same situation and found that a problem with packaging in 22.04 causes the issue. A more detailed discussion can be found here.
Just use:
Works fine for me (for now)!
@annieappflowy commented on GitHub (Jul 18, 2022):
@JamesUmmec are you still having the issue?
@JamesUmmec commented on GitHub (Jul 19, 2022):
Sorry, I'm now using arch rather than ubuntu. 😂
@annieappflowy commented on GitHub (Jul 19, 2022):
Ah ok, if you are no longer having issues with running AppFlowy on your device, please close this issue. Thanks
@willlogs commented on GitHub (Jul 19, 2022):
Would it be helpful if I work on a snap package of AppFlowy?
@tliebig commented on GitHub (Jul 19, 2022):
The problem persists - I have the very same error on my Fedora 36 after extracting the tar file, moving the AppFlowy directory to /opt/ and trying to start as a regular user instead of admin. The error message reads the same as above, but in german.
@manV commented on GitHub (Jul 21, 2022):
I also have same issue on Fedora 36.
@FinnRG commented on GitHub (Jul 21, 2022):
@tliebig @manV Please search the issue tracker before posting new questions. You need to install another library for Fedora 36. you can find instructions here: https://github.com/AppFlowy-IO/AppFlowy/issues/112#issuecomment-1133666925
@FilBot3 commented on GitHub (Jul 21, 2022):
I had the same problem on Fedora 36 Silverblue. However, installing
sudo rpm-ostree install openssl-develdid not solve the issue.On Ubuntu, you'd have to find the libraries that provide the libssl-dev packages, I believe.
This dependency should be called out on the README for now, or somewhere else. Otherwise, if this can be packaged as a Flatpak, I think you'd reach a larger, much more accepting audience. Obsidian is nice, but it's closed source, Joplin is nice, but everything is in one bucket.
@FilBot3 commented on GitHub (Jul 21, 2022):
Should be solved here: Issue https://github.com/AppFlowy-IO/AppFlowy/issues/112 but the version of OpenSSL I have installed is supposedly much newer?
@annieappflowy commented on GitHub (Jul 22, 2022):
@FilBot3 thanks for your input. We decide to work on supporting Flatpak. Please follow this thread for the update: https://github.com/AppFlowy-IO/AppFlowy/issues/175
RE: update the dependency, can you clarify what dependencies for which system?
We're open to documentation contributions. Maybe you can directly edit it and submit a PR. It can probably goes here: https://github.com/AppFlowy-IO/AppFlowy-Docs/blob/main/essential-documentation/install-appflowy/installation-methods/mac-windows-linux-packages/installing-on-linux.md
@MikeWallaceDev commented on GitHub (Jul 23, 2022):
I will check this out. We problably need to add to the documentation.
Note to self: also look at #112
@Ch4ni commented on GitHub (Aug 1, 2022):
confirmed on Pop!_OS 22.04 LTS (ostensibly, Ubuntu 22.04)
fixed with
sudo apt install libssl1.1(because the lib is in the official repos)@Ch4ni commented on GitHub (Aug 1, 2022):
for fedora you should be able to resolve your issue with
sudo dnf install openssl1.1IIRC (it's been a few months since I looked,dnf search ssl1.1should give you some ideas, if not try thednf searchagain withlibssl1.1andopenssl)@juliendf commented on GitHub (Aug 10, 2022):
libssl1.1_1.1.1l-1ubuntu1.6_amd64.deb is 404
Works with :
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
@IcedQuinn commented on GitHub (Dec 25, 2022):
This problem also happens on Void.
@oopschen commented on GitHub (Jan 18, 2023):
Happened on Gentoo.
System Info
Linux raylaptop 5.15.80-gentoo #14 SMP Sun Jan 8 19:56:27 CST 2023 x86_64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz GenuineIntel GNU/LinuxOpenSSL Info
OpenSSL 1.1.1s 1 Nov 2022When maually link libssl.so to libssl.so.3, same to libcrypto.so.3, error is:
~ [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libdart_ffi.so': /usr/lib64/libcrypto.so.3: versionOPENSSL_3.0.0' not found (requiredby /opt/appflowy-bin/lib/libdart_ffi.so)
#0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:12)
#1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:23)
#2 _open (package:flowy_sdk/ffi.dart:27)
#3 _dart_ffi_lib (package:flowy_sdk/ffi.dart:10)
#4 _set_stream_port (package:flowy_sdk/ffi.dart)
#5 set_stream_port (package:flowy_sdk/ffi.dart)
#6 FlowySDK.init (package:flowy_sdk/flowy_sdk.dart:32)
#7 InitRustSDKTask.initialize. (package:app_flowy/startup/tasks/rust_sdk.dart:24)
#8 InitRustSDKTask.initialize. (package:app_flowy/startup/tasks/rust_sdk.dart:23)
#9 _rootRunUnary (dart:async/zone.dart:1434)
#10 AppLauncher.launch (package:app_flowy/startup/startup.dart:124)
#11 FlowyRunner.run (package:app_flowy/startup/startup.dart:64)
#12 main (package:app_flowy/main.dart:25)
`
@ghost commented on GitHub (Feb 24, 2023):
Hi
I have the same problem on Ubuntu. The window stays blank. I tried all the things written in this chat, but nothing works. I am not an experienced user, so if there is a solution to this issue, I would be really grateful if somebody could break it down to single steps to follow. Thanks! Hopefully, I can use Appflowy soon!
@LucasXu0 commented on GitHub (Feb 24, 2023):
Hey, @PaulLafargue. There's a workaround for Ubuntu users.
https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/environment-setup/building-on-linux
@ghost commented on GitHub (Feb 25, 2023):
Hey @LucasXu0
Thanks for your help. I tried that, but when I open AppFlowy, the page still remains blank. How can I provide you with more information about my problem?
@prashant235913 commented on GitHub (Mar 22, 2023):
is this issue open...I want to give it a try
@LucasXu0 commented on GitHub (Mar 23, 2023):
Hey, @PaulLafargue. Yes. I think we need to embed the libssl into the package to solve this problem.
@ghost commented on GitHub (Mar 23, 2023):
Hey, @LucasXu0 . Well, I didn't open AppFlowy for some weeks after I couldn't solve the problem. But when I opened it some days ago, it suddenly worked. I have no idea why.
@VxDlH commented on GitHub (Jun 21, 2023):
Hi, guys,
I was wondering why you don't use a newer version of OpenSSL. The openssl 1.1.1 version is coming to the end of its life (see https://en.wikipedia.org/wiki/OpenSSL) and that's why it's no longer installed by default on new versions of linux distributions.
@WaseekSenju commented on GitHub (May 12, 2024):
I am having this problem as well. I followed the instructions. But for some reason even after installing the
libssl1.1_1.1.1didn't help.Operating System
Ubuntu 22.04.4 LTS
I am getting this output in the debug console:
OPENSSL