v12.69's build-sandstorm in release-all.yml stopped because the certificate of install.sandstorm.io had expired. It fetches the installer from install.sandstorm.org, as sandstorm.yml and sandstorm-store.yml already did, and so does releases/install-sandstorm.sh. That installer downloads Sandstorm from dl.sandstorm.org and configures a development server at local.sandstorm.org, so the docs follow: docs, apps, dl, install and local.sandstorm.io links and addresses become sandstorm.org in the docs, SECURITY.md, code comments and the accounts-sandstorm README, each URL checked to answer there. demo.sandstorm.io stays, as it has no sandstorm.org name; released CHANGELOG sections are records and stay as they are. The release audit's baseline allows the two code comments' docs.sandstorm.org. tests/sandstormOrgHosts.test.cjs: every Sandstorm build installs from install.sandstorm.org, and no tracked file names a sandstorm.io host outside those kept on purpose; it fails on the old release-all.yml. Thanks to xet7 !
- At some cases Hardened kernel may prevent creating new Wekan boards at Sandstorm
- Profile server startup locally using the Sandstorm launchers.
- Smaller WeKan .spk: only what a grain runs.
1. Backup Sandstorm
- Please first backup your Sandstorm https://docs.sandstorm.org/en/latest/administering/backups/
- Please first download all of your grains to .zip files from top menu row down arrow button, just in case.
2. Upgrade Sandstorm WeKan
Backup your Sandstorm first ! See above !
This new Sandstorm WeKan uses fork of FerretDB v1 SQLite at https://github.com/wekan/FerretDB
- FerretDB is drop-in replacement for MongoDB 7 Server
- FerretDB implements MongoDB 7 server wire protocol
- FerretDB converts MongoDB Javascript queries to SQLite SQL queries
- FerretDB saves data to SQLite database
- Fork has additional MongoDB features
- Fork is maintained by xet7
Migrating old MongoDB 3 data
- If there is old WeKan data, it is automatically migrated when opening old WeKan grain. Attachments are migrated from MongoDB to files/attachments. Text data is migrated from MongoDB to SQLite at files/db/wekan.sqlite .
- During startup the grain shows a "please wait" page with a held-open readiness
request. The launcher releases that request once WeKan is listening, and the page
immediately opens WeKan. Migration dashboards still update their progress separately.
Previously, while nothing was
listening on the grain's app port, the browser showed an error that the page can not
be opened embedded in another page, and you had to close the grain and open it again;
a small bridge server on the app port (
sandstorm-src/migration-bridge.js, run by the grain launcher across the whole migration and handoff) now keeps the grain framed so that error no longer appears.
All Boards page
- WeKan starts at All Boards page Favorites
- All your boards are at first at Remaining, until you Star to have your board at Favorites
- You can move boards from Remaining to your personal Workspaces or Sub-Workspaces
After migrating, free some disk space
- If after migrating you would like to free disk space of WeKan grain by deleting old MongoDB raw database files
- At right top corner, click your WeKan username at WeKan board (not at Sandstorm black backround) / Member Settings / Admin Panel / Attachments / Sandstorm / Delete raw MongoDB database files.
Cover image
- You can enable it for card and minicard at Right Sidebar / Board Settings / Card, one table with both columns of settings side by side. Cover Image is near the bottom of that list.
Download Official Version
-
Please backup first.
Download Newest WeKan Test Version
-
Please backup first.
About CloudFlare and uploading wekan.spk file
- If you use CloudFlare at front of your Sandstorm, there may be 100 MB file size upload limit, it prevents uploading wekan.spk as file to your Sandstorm
- So instead you can use Sandstorm Test App Loader
- Copy newest wekan.spk URL from https://github.com/wekan/wekan/releases to Sandstorm Test App Loader page,
- Write your Sandstorm Instance URL to Sandstorm Test Loader page
- Click Install
Sandstorm Radicale: Calendars and Contacts
- 2025-08-05
- Exporting Calendar and Contacts from Google Calendar and Google Contacts to Sandstorm Radicale works.
- Importing Calendar .ics file back to Google Calendar does not work, because .ics file size is 2.1 MB. Google Calendar has problems importing .ics files bigger than 1 MB, it would need manual splitting to multiple files. Sandstorm Radicale can import .ics file 2.1 MB successfully.
Sandstorm CloudFlare DNS settings
Sandstorm works when configured to full domain, with CloudFlare SSL/TLS, with Caddy. Not subdomain, not sub-url, and not with Let's Encrypt that AFAIK does not support wildcard SSL/TLS.
Source: https://github.com/sandstorm-io/sandstorm/issues/3714#issuecomment-2366866243
For me, it works at CloudFlare DNS using TLS Strict checking and DNS setting clicking to orange cloud icon to make TLS proxy with Origin certificate, that is at /etc/caddy/certs/example.com.pem with above private key and below cert.
DNS records:
* A example.com ip-address
@ A example.com ip-address
Caddyfile, proxy to Sandstorm at localhost port 81 (or to a KVM VM running Debian and Sandstorm). The same Caddy can also serve many WeKan Docker containers: the complete config is Meteor3 caddy/Caddyfile.
{
servers {
# HTTP/1.1 only, see ../Docker/Meteor3/multitenancy.md
protocols h1
# Trust CloudFlare's own addresses, and only those, to say who the
# visitor is. Ranges from https://www.cloudflare.com/ips-v4 and
# https://www.cloudflare.com/ips-v6 (2026-10-08), refresh them when
# CloudFlare changes the list.
trusted_proxies static 173.245.48.0/20 103.21.244.0/22 103.22.200.0/22 103.31.4.0/22 141.101.64.0/18 108.162.192.0/18 190.93.240.0/20 188.114.96.0/20 197.234.240.0/22 198.41.128.0/17 162.158.0.0/15 104.16.0.0/13 104.24.0.0/14 172.64.0.0/13 131.0.72.0/22 2400:cb00::/32 2606:4700::/32 2803:f800::/32 2405:b500::/32 2405:8100::/32 2a06:98c0::/29 2c0f:f248::/32
client_ip_headers CF-Connecting-IP
}
}
(cloudflare_tls) {
tls {
load /etc/caddy/certs
}
}
# Sandstorm believes an X-Real-IP header from a loopback or private address,
# and Caddy connects from 127.0.0.1. Set it to the visitor's address, or a
# visitor's own X-Real-IP header is passed through and recorded.
(sandstorm_proxy) {
handle {
# If KVM VM, it's IP address:
#reverse_proxy 123.123.123.123:80 {
reverse_proxy 127.0.0.1:81 {
header_up X-Real-IP {client_ip}
}
}
}
# Full domain where Sandstorm login is. Not subdomain. Not sub-url.
# Wildcard: CloudFlare proxy on (orange cloud) with the Origin Certificate.
*.example.com example.com {
import cloudflare_tls
import sandstorm_proxy
}
# Blog hosted at Sandstorm WordPress, CloudFlare proxy on (orange cloud)
blog.somecompany.com {
import cloudflare_tls
import sandstorm_proxy
}
# Website hosted at Sandstorm Hacker CMS, CloudFlare proxy off (grey cloud):
# no tls line, Caddy gets a Let's Encrypt certificate itself.
othercompany.com {
import sandstorm_proxy
}
How Sandstorm uses what Caddy sends, from Sandstorm's gateway.c++:
- Host (Caddy passes it unchanged) decides what is served.
BASE_URL's host is Sandstorm itself,WILDCARD_HOSTits grains and API, and any other name is a website Sandstorm publishes, found through that name'ssandstorm-www.<name>DNS TXT record, for examplesandstorm-www.blog.somecompany.com. Add a record forwww.too when it is served. - https comes from
BASE_URL's scheme, not fromX-Forwarded-Proto: keepBASE_URL=https://...although Caddy talks plain http to Sandstorm. - X-Real-IP is believed from a loopback or private address. That is why
sandstorm_proxyalways sets it. - One HTTP port (
PORT=81below), bound to127.0.0.1so only Caddy reaches it.
If having Sandstorm inside of KVM VM: Many Snaps on LXC
At /opt/sandstorm/sandstorm.conf is domain where Sandstorm login is, http port etc.
SERVER_USER=sandstorm
PORT=81
MONGO_PORT=6081
BIND_IP=127.0.0.1
BASE_URL=https://example.com
WILDCARD_HOST=*.example.com
UPDATE_CHANNEL=dev
ALLOW_DEV_ACCOUNTS=false
SMTP_LISTEN_PORT=25
#SANDCATS_BASE_DOMAIN=sandcats.io
#HTTPS_PORT=443
Some related info at:
I also had to wait that Origin certificate becomes active.
But this worked for me only at CloudFlare. It did not work at FreeDNS of Namecheap.
Also, I still need to write script to fix IP address if Dynamic DNS IP address changes, using CloudFlare API, because my cable modem does not have DDNS option for CloudFlare.
Now that there is also a way to run Sandstorm at Ubuntu, it would be possible for me to move Sandstorm from KVM VM to run directly at host, without VM, and proxy from Caddy to localhost port of Sandstorm.
https://groups.google.com/g/sandstorm-dev/c/4JFhr7B7QZU?pli=1
Debian amd64
Installing Sandstorm works normally
Ubuntu 24.04 amd64
At startup was a lot of errors and saw "Permission denied; name = /proc/self/setgroups"
I found this (run as root):
echo "kernel.apparmor_restrict_unprivileged_userns = 0" >/etc/sysctl.d/99-userns.conf
sysctl --system
And I ran it and restarted the Sandstorm service, everything seemed to work fine. I hope this might be useful to someone.
Source: https://groups.google.com/g/sandstorm-dev/c/4JFhr7B7QZU
Sandstorm Website
If you have any grains at Sandstorm's Oasis montly paid service, please move those to self-hosted, because only Oasis grain hosting part is shutting down - HN. This does not affect any other parts like self-hosting at sandcats.io, App Market, updates, etc.
Works on Ubuntu 64bit, on Debian 64bit.
Security audited, recommended for security critical use on public internet or internal network. Sandstorm Security Features. Sandstorm is completely Open Source, including Blackrock Clustering.
Install to your own server. Automatic updates, tested before release. Sandstorm Wekan has different features than Standalone.
Works
- Google/GitHub/LDAP/SAML/Passwordless email login.
- Import from Wekan JSON.
- Free SSL at https://yourservername.sandcats.io domain.
- Rescuing MongoDB data from Sandstorm Grain .zip file to Standalone Wekan
Does not work
- Sandstorm open issues
- Import from Trello does not import attachments, because Sandstorm-compatible HTTP-access from Wekan to outside of Wekan grain sandbox is not implemented yet
- Copying/Moving card to another board.
- REST API
- Outgoing Webhooks
- Email from Wekan
Demo
Keep backups
- Keep backups. Download your Wekan grains.
- It's possible to Export from Wekan Sandstorm grain .zip file to rescue data
Wekan App
Wekan at experimental or official Sandstorm App Market. Note: Only use official. Experimental versions are broken.
Newest Wekap app .spk file download at https://releases.wekan.team/sandstorm/
Bug reports and Feature Requests
Wekan for Sandstorm bug reports and feature requests
Sandstorm bug reports and feature requests
Building Wekan for Sandstorm
Wekan Sandstorm cards to CSV using Python
Wekan Sandstorm cards to CSV using Python
Importing to Trello workaround
It is not possible to import attachments directly from Trello when using Sandstorm version of Wekan. This is because Wekan is in secure sandbox at Sandstorm, and does not yet have Sandstorm-compatible way to import attachments from outside of Sandstorm. You need to:
- Install Standalone version of Wekan, for example Docker/Snap/VirtualBox, for example to your own computer
- Import board from Trello
- Export board as Wekan board. Exported JSON file includes attachments as base64 encoded files.
- Import board as Wekan board to Sandstorm.