Girish Ramakrishnan
3b38440385
apptask: delete app dir files when restoring
...
also, better deleteAppDir logs
2025-08-22 19:37:50 +02:00
Girish Ramakrishnan
12e073e8cf
use node: prefix for requires
...
mostly because code is being autogenerated by all the AI stuff using
this prefix. it's also used in the stack trace.
2025-08-14 12:55:35 +05:30
Girish Ramakrishnan
1d1197e18a
restore: use PENDING_RESTORE instead of PENDING_IMPORT
2025-08-05 12:46:50 +02:00
Girish Ramakrishnan
36ab052dda
restore: import with the latest backup on cloudron restore
...
in previous versions, the single backup target was replaced during
restore. we cannot do this anymore with multiple backup targets.
during cloudron restore, a pseudo target is created and all the apps
are restored using this backup target.
2025-08-04 23:24:06 +02:00
Girish Ramakrishnan
ead6d9c7d3
Fix app import
2025-08-02 20:42:12 +02:00
Girish Ramakrishnan
a01e1bad0f
backuptarget: pseudo target for import and restore
2025-08-02 00:06:47 +02:00
Girish Ramakrishnan
a1a683ec56
import: use inPlace flag
2025-08-01 13:22:12 +02:00
Girish Ramakrishnan
d81fa897ad
apptask: use primary target during update
2025-07-25 14:32:22 +02:00
Girish Ramakrishnan
931311f11f
rename backups to backuptargets
2025-07-24 18:54:10 +02:00
Girish Ramakrishnan
e7799fef1c
appstore: fail properly for non-200 when downloading icon
2025-07-21 12:11:26 +02:00
Girish Ramakrishnan
0fa281083e
apps: backup is not a state anymore
...
this is launched as a separate task
2025-07-18 14:14:54 +02:00
Girish Ramakrishnan
989d843fcb
shell: make shell.sudo promise based and waitable
2025-07-16 22:04:24 +02:00
Girish Ramakrishnan
313256adff
use @cloudron/manifest-format
2025-07-10 11:17:04 +02:00
Girish Ramakrishnan
19c9d7d59d
updateInfo: move updateInfo into apps table
...
this has many advantages:
* easy to deliver the updateInfo via the apps object
* after updating, the task can clear it
* when apps are deleted, the info is automatically gone
otherwise, it's a mess of deps between apps/updater/apptask/rest routes
box update info is still in a file
2025-06-26 15:47:15 +02:00
Girish Ramakrishnan
39cbfb84ae
refactor: move moveDataDir into services
2025-06-14 21:18:56 +02:00
Girish Ramakrishnan
73a56830b0
apps: do not start redis when app is stopped
...
stopped apps stop the container and the services. a good reason to
not delete them is to keep the image around and it's quick to start up again.
only update is not allowed during the app is stopped (because the start.sh
cannot be run).
all other operations like cpu/memory/device/service changes/data dir/location change
are all allowed.
2025-06-14 21:03:10 +02:00
Girish Ramakrishnan
7744568eb8
apptask: rename command functions
2025-06-11 14:19:31 +02:00
Girish Ramakrishnan
dd5e4adc73
replace underscore with our own
...
we only need like 5 simple functions
2025-02-13 14:14:34 +01:00
Girish Ramakrishnan
6b7edbd552
docker: fallback to quay if docker hub does not work
2024-12-14 15:22:12 +01:00
Girish Ramakrishnan
65f507bc75
clone: read custom icon from downloaded backup
...
the backups table does not have icon to save space. only the
archives table has it for the moment.
2024-12-10 22:47:21 +01:00
Girish Ramakrishnan
61341b8380
boxerror: always pass second error string
2024-10-30 17:32:12 +01:00
Girish Ramakrishnan
a32b567eb1
boxerror: remove unused override
2024-10-30 15:43:53 +01:00
Girish Ramakrishnan
a9e1d7641d
shell: make require take a tag
2024-10-14 21:08:32 +02:00
Johannes Zellner
1b810ec74f
Only add unchecked checklist items on fresh installs for the moment
2024-09-16 13:46:19 +02:00
Johannes Zellner
13d8db3daa
For the moment new checklist items on update are acknowledged
2024-09-07 09:37:39 +02:00
Girish Ramakrishnan
dca548b8a0
apptask: better progress message
2024-08-26 17:26:23 +02:00
Girish Ramakrishnan
01deb4d285
update: updateConfig can be missing values, selectively update db
2024-07-17 08:58:43 +02:00
Girish Ramakrishnan
9bf240d83b
update: handle change in secondary domains and multiDomain flag
2024-07-16 10:32:31 +02:00
Girish Ramakrishnan
dd9e6e63ad
apptask: only delete image if it is different
2024-07-08 12:59:34 +02:00
Girish Ramakrishnan
d9b478cf1f
rename setupStorage to setupManagedStorage
2024-06-25 13:06:40 +02:00
Johannes Zellner
20396a8c7d
Adjust checklist item api to support audits trail
2024-06-24 19:09:03 +02:00
Girish Ramakrishnan
f386c326e2
apptask: only move app uses localstorage addon
2024-06-06 16:26:02 +02:00
Girish Ramakrishnan
3b26f6f5ea
use optional chaining
2024-06-06 15:19:19 +02:00
Girish Ramakrishnan
52701e1173
add note
2024-06-06 15:16:04 +02:00
Girish Ramakrishnan
4fac0cb535
const fixes
2024-06-06 11:33:42 +02:00
Johannes Zellner
4516b0c57c
Do not return but continue in a loop
2024-04-19 14:29:41 +02:00
Johannes Zellner
16521d5434
Fix updateChecklist usage
2024-04-19 12:15:13 +02:00
Johannes Zellner
7d6636bb54
Only add checklist items if they apply due to sso state
2024-04-18 16:05:38 +02:00
Girish Ramakrishnan
a82fb0c2cb
typo from 110e68331
2024-03-30 19:17:28 +01:00
Girish Ramakrishnan
8e07b3c96d
remove unused variable
2024-03-21 17:11:17 +01:00
Johannes Zellner
3de1c6e499
Use postgres addon with immich hacks exposed as service api
2024-03-06 19:08:03 +01:00
Johannes Zellner
96eeb70076
Update postgres addon to 1.5.10
...
This contains a hack for immich in apptask to migrate the extension on
immich app update
2024-03-06 13:20:58 +01:00
Girish Ramakrishnan
307a3ee015
apps: rename the config functions
2024-02-10 11:53:25 +01:00
Girish Ramakrishnan
aa8c23c8b3
rework backup root
...
notes:
* backup root cannot come from backend. for dynamic mounts backend cannot know where it is mounted
* backupConfig is 3 parts - format / mount / password . there is also this rootPath (which should not be in db)
* password should be stored separately in settings at some point
* format has to be passed along everywhere because we allow restore from same backupConfig but different format. we do this by saving the format in the backups table
fixes #819
2023-08-15 22:51:45 +05:30
Girish Ramakrishnan
4acbb7136a
proper task name for dashboard change
2023-08-14 10:45:12 +05:30
Girish Ramakrishnan
fb9d8c23e1
move appstore urls into appstore.js
2023-08-04 15:41:41 +05:30
Girish Ramakrishnan
47d57a3971
fold sysinfo into network
...
the backends are network backends
2023-08-03 13:38:42 +05:30
Girish Ramakrishnan
25328d884f
redis: make optional
...
part of #810
2023-07-13 16:46:09 +05:30
Girish Ramakrishnan
f34840e1a3
mail: use the new services change task type
2023-07-13 16:46:09 +05:30
Girish Ramakrishnan
519b258a25
make turn service optional
...
part of #810
2023-07-13 15:32:28 +05:30