Repository navigation
Conversation
|
Version 12.0.7 is a full non-beta release, so this is ready for testing. |
|
|
seahub is broken due to a gcc error |
|
As a hack for avoiding the broken |
I'm not running into this (even rebased onto 2f6a15c), could you send a log please? |
for |
This is for an older |
|
that makes sense |
I don't understand what you're asking |
|
nvm sorry i didn't saw that, approving this PR |
|
has merge conflits |
|
Merge conflicts should be fixed. Given that integration tests are passing, I'd say this is ready for user testing. |
|
Now working fine on my own seafile instance. |
|
Failing CI is from a GitHub 429, doesn't seem to be actually caused by this PR. |
|
Drafted pending PR: haiwen/seafile-server#753 diff --git a/server/seafile-session.c b/server/seafile-session.c
index 7cc59fb..06f0821 100644
--- a/server/seafile-session.c
+++ b/server/seafile-session.c
@@ -116,6 +116,8 @@ load_config (SeafileSession *session, const char *config_file_path)
const char *private_key = NULL;
const char *site_root = NULL;
const char *log_to_stdout = NULL;
+ const char *seahub_host = NULL;
+ const char *seahub_proto = NULL;
config = g_key_file_new ();
if (!g_key_file_load_from_file (config, config_file_path,
@@ -148,6 +150,8 @@ load_config (SeafileSession *session, const char *config_file_path)
private_key = g_getenv("JWT_PRIVATE_KEY");
site_root = g_getenv("SITE_ROOT");
log_to_stdout = g_getenv("SEAFILE_LOG_TO_STDOUT");
+ seahub_host = g_getenv("SEAFILE_SERVER_HOSTNAME");
+ seahub_proto = g_getenv("SEAFILE_SERVER_PROTOCOL");
if (!private_key) {
seaf_warning ("Failed to read JWT_PRIVATE_KEY.\n");
@@ -164,7 +168,7 @@ load_config (SeafileSession *session, const char *config_file_path)
if (!site_root || g_strcmp0 (site_root, "") == 0) {
site_root = "/";
}
- session->seahub_url = g_strdup_printf("http://127.0.0.1:8000%sapi/v2.1/internal", site_root);
+ session->seahub_url = g_strdup_printf("%s://%s%sapi/v2.1/internal", seahub_proto, seahub_host, site_root);
session->seahub_conn_pool = connection_pool_new ();
if (g_strcmp0 (log_to_stdout, "true") == 0) {
|
|
As of major version 13: https://manual.seafile.com/13.0/upgrade/upgrade_notes_for_13.0.x/#important-release-changes
I will be moving my own installation to a docker-based setup, as keeping this module working has not been worth the effort. @schmittlauch unless you wish to keep maintaining this module yourself, I will soon file a PR to have it removed, as well as the seafile-server and seahub derivations. |
https://manual.seafile.com/12.0/upgrade/upgrade_notes_for_12.0.x/
Fixes #373705 and #373703
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.