Eden DEB Package

5 views
Skip to first unread message

Dominic König

unread,
Nov 18, 2025, 6:37:25 AMNov 18
to eden...@googlegroups.com
Hello everyone--

I have created a DEB package of the current version 6.0 for installation on
Debian-13, and added it to the release.

To set up a production site:

Prerequisites:
- a vanilla Debian-13 server instance with internet access (e.g. on AWS EC2)
- a DNS A-entry for that server instance

To install Eden, login to the server, and make yourself root (sudo su -), then
download and install the package:

cd /tmp
wget https://github.com/sahana/eden/releases/download/6.0/sahana-eden_6.0-1_all.deb
apt-get update
apt-get install -f sahana-eden_6.0-1_all.deb

To configure Eden, you can use the edenctl script:

edenctl setup

Enter the instance details as prompted for, and eventually start the instance:

edenctl start

---

To remove the installation:

edenctl teardown
apt-get remove sahana-eden

---

Note that this is an alpha-version, far from perfect - there may still be some
quirks and missing options. The idea is to eventually make this the standard
distribution package as part of each release.

Edenctl, as the main sysadmin tool, will replace all the service scripts we
used to have in production instances. Currently it can set up, reset and tear
down an instance, as well as starting/stopping the site, and run the simple
compile and migrate cycles. No "pull" option as-yet.

I will publish the sources for building that package onto GitHub...that is,
once I have cleaned it up and converted it into a git repo, so maybe not today
;) don't hold your breath. I will also document it all on the wiki, as soon as
I find the time.

Also note that running web2py-2.27.1 on Trixie with Python-3.13 will produce
tons of syntax warnings (invalid escape sequences). This does not prevent it
from running as intended, but it looks ugly. But, as we're going to move to
web2py-3 anyway once we drop support for Debian-11, I'm not going to fix those
warnings now.

A good next step will be to also convert our GADM imports (=administrative
areas) into per-country DEB-packages, so that they can be distributed
alongside the Eden package. Those post-setup imports are essential for many
use-cases, so it would be almost pointless to set up an instance without at
least one of these.

In any case - if you want to trial this DEB-package, please do. Feedback is
welcome, but of course fixes and enhancements are even more welcome (as usual).

Best wishes,
Dominic
signature.asc

Dominic König

unread,
Nov 18, 2025, 6:19:10 PMNov 18
to eden...@googlegroups.com
Update:

I replaced the package in the release with two new DEB packages:
https://github.com/sahana/eden/releases/tag/6.0 (under Assets)

...one for Debian-12 Bookworm, and one for Debian-13 Trixie.

These new packages use shallow clones of web2py+eden rather than source dumps,
which makes them pull-updateable - although I still haven't managed to add the
pull option to edenctl. In any case, that makes these packages substantially
bigger (77MB instead of 29MB, still acceptable though).

I also published the build-environment:
https://github.com/nursix/eden-dist

...which includes edenctl (under /debianXX/assets/usr/local/bin).

Obviously, help is welcome :)

Dominic
> --
> You received this message because you are subscribed to the Google Groups
"Eden
> ASP" group. To unsubscribe from this group and stop receiving emails from
it,
> send an email to eden-asp+u...@googlegroups.com. To view this
> discussion visit
> https://groups.google.com/d/msgid/eden-asp/10755730.nUPlyArG6x%40aldebaran.

signature.asc

Dominic König

unread,
Nov 25, 2025, 6:16:27 AM (13 days ago) Nov 25
to eden...@googlegroups.com
Hi--

I just added a guideline for using the DEB packages to the wiki:
https://eden.sahanafoundation.org/wiki/Guidelines:DebianPackages

Dominic

tisdag 18 november 2025 12:37:15 CET skrev Dominic König:
signature.asc
Reply all
Reply to author
Forward
0 new messages