Package Details: etebase-server 0.11.0-2

Git Clone URL: https://aur.archlinux.org/etebase-server.git (read-only, click to copy)
Package Base: etebase-server
Description: A self-hostable Etebase (EteSync 2.0) server
Upstream URL: https://github.com/etesync/server
Keywords: encryption etesync pim sync
Licenses: AGPL3
Submitter: tasn
Maintainer: tasn (daftaupe, xiretza)
Last Packager: xiretza
Votes: 4
Popularity: 0.000001
First Submitted: 2020-10-18 15:40 (UTC)
Last Updated: 2023-05-06 19:30 (UTC)

Latest Comments

1 2 3 Next › Last »

Terrance commented on 2024-04-28 20:21 (UTC)

Building an upgraded package seems to try and read the production secret during the collectstatic task in package():

==> Starting package()...
Traceback (most recent call last):
  File "/home/user/.cache/yay/etebase-server/src/server-0.11.0/etebase_server/utils.py", line 22, in get_secret_from_file
    with open(path, "r") as f:
         ^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/var/lib/etebase-server/secret.txt'

I worked around this by creating a settings override file to provide a dummy secret for that step:

echo 'SECRET_KEY = ""' >etebase_server_settings.py
DJANGO_STATIC_ROOT="$pkgdir/usr/share/webapps/$pkgname/static" ./manage.py collectstatic
rm etebase_server_settings.py

eliran commented on 2024-04-20 13:41 (UTC)

upgrades of python break the location of the module needed by this, perhaps consider supplying virtualenv ?

tasn commented on 2023-11-05 23:28 (UTC)

Can you open a PR against this repo then? (the package)

FirstAirBender commented on 2023-10-02 15:43 (UTC)

This is not something I can make a PR for, as it has nothing to do with the functionality of the server.

This is more of something that goes into an etebase-server.install script:

post_install() {
  sudo -u etebase etebase-server createsuperuser --username admin --noinput
  echo -e "\n**You must set a password for the superuser (admin), or create your own before starting the server"
  echo -e "==> sudo -u etebase etebase-server changepassword admin || sudo -u etebase etebase-server createsuperuser --username admin <==\n"
  echo -e "\nFinally, update the CSRF_TRUSTED_ORIGINS in /usr/lib/python3.11/site-packages/etebase_server/settings.py to point to the full url where your etebase server is located"
}

tasn commented on 2023-08-13 15:20 (UTC)

@FirstAirBender, mind opening a PR? https://github.com/etesync/server/

FirstAirBender commented on 2023-07-17 08:33 (UTC) (edited on 2023-07-17 08:34 (UTC) by FirstAirBender)

Missing a few essentials like creating the superuser (with sudo -u etebase etebase-server createsuperuser), and setting the CSRF_TRUSTED_ORIGINS variable (in etebase_server/settings.py) because arch is using django 4

tasn commented on 2022-05-12 19:38 (UTC)

Yeah, makes sense. :P

jplatte commented on 2022-05-12 18:29 (UTC)

No, it doesn't seem like it. Otherwise I would have just installed that.

tasn commented on 2022-05-11 22:04 (UTC)

Is there a package for django-lts?

jplatte commented on 2022-05-10 20:49 (UTC)

I saw the latest comments before installing, but assumed that this package would actually pull a corresponding django LTS dependency. Unfortunately that doesn't seem to be the case. I certainly don't want to downgrade to what was in the official repos before 4.0 and close myself off from security upgrades for something that runs on a publically-accessible server. Looks like I will have to dig into virtualenv :(