Girish Ramakrishnan
baf543ba00
app: disable mounts from import UI for now
2021-06-22 16:14:47 -07:00
Girish Ramakrishnan
e06400bb71
mountpoint: set chown and preserveAttributes
2021-06-22 16:09:52 -07:00
Girish Ramakrishnan
02263e8921
add back mountpoint check
2021-06-22 15:52:50 -07:00
Girish Ramakrishnan
da6478272d
provision: call done instead of callback
2021-06-22 14:40:58 -07:00
Girish Ramakrishnan
1ee6560f30
restore: fix UI
2021-06-22 14:34:41 -07:00
Girish Ramakrishnan
5e5948ecd4
typo
2021-06-22 13:45:15 -07:00
Girish Ramakrishnan
7b768d6149
backup: fix location display
2021-06-22 13:18:09 -07:00
Girish Ramakrishnan
15ff43369f
mount: if unmount failed, do not proceed
2021-06-22 13:03:44 -07:00
Girish Ramakrishnan
e9029eb1f9
backups: clear mount options on provider change
2021-06-22 13:03:25 -07:00
Girish Ramakrishnan
a7783fdb0d
remove the "-" because systemd makes it as \x2d when escaping
2021-06-22 09:46:18 -07:00
Girish Ramakrishnan
5040b4f3f9
backups: chown and preserve attribs on ext4 and sshfs
2021-06-22 09:27:11 -07:00
Johannes Zellner
7bc76f2f34
Actually 500 and 501 status codes do not mean the box as such is offline
2021-06-22 16:25:11 +02:00
Johannes Zellner
7472e78755
filemanager: Only retry every 2sec if path opening doesn't work right away to avoid busy loop
2021-06-22 16:24:35 +02:00
Johannes Zellner
0e5f8e75f9
filemanager: openPath() is not on the scope anymore
2021-06-22 16:07:40 +02:00
Girish Ramakrishnan
20fe04c0cf
chown for sshfs as well
2021-06-21 23:21:40 -07:00
Girish Ramakrishnan
0fdb7f0a93
backups: show host and remotePath for sshfs
2021-06-21 23:19:47 -07:00
Girish Ramakrishnan
ceddabd691
Fix tryAddMount usage
2021-06-21 23:13:37 -07:00
Girish Ramakrishnan
cc0705183a
backups: hardcode mountpoint
2021-06-21 22:08:19 -07:00
Girish Ramakrishnan
2aee2c9e27
update translations
2021-06-21 16:44:39 -07:00
Girish Ramakrishnan
3ba2f96d51
volume: remove private fields
2021-06-21 16:35:08 -07:00
Girish Ramakrishnan
ccc45a41e6
volumes: remove the edit ui
2021-06-21 16:23:34 -07:00
Girish Ramakrishnan
6ace8d1ac5
volumes: fix various mount related issues
...
Various notes on mounting:
* The permissions come from the mounted file system and not the mount point.
This means that if we change the perms before mounting, it is overridden by
whatever is in the actual file system.
* uid/gid only works for permission-less file systems
SFTP container notes:
* Assumes that nothing changed if the host path hasn't changed. This means that
if a user changes the disk uuid, reload doesn't work.
* Not sure how/why, but even after unmounting the container can still access the old
mount files (!). With ext4 on disk change or nfs after root path change, the file manager
continues to be able to access the old mounts (despite umount succeeding).
All this led to following changes:
* Remove editing of volumes. Just allow editing username/password.
* edit UI then just also provides a way to re-mount.
* Change mode of mountpoint to be 777 post mounting for ease of use. Otherwise, we have to
make the user do this by ssh. this can always become options later.
2021-06-21 16:11:48 -07:00
Girish Ramakrishnan
f433146484
volumes: reload sftp on update
...
when diskPath changes, docker is busy holding on to the previous mount!
I guess this is because this is all somehow inode based.
2021-06-21 11:53:27 -07:00
Girish Ramakrishnan
c16a7c1f45
do not block for service to restart
2021-06-21 10:05:22 -07:00
Johannes Zellner
b27b4a38eb
Only enable notification ack button if there are any unread ones
2021-06-21 14:04:25 +02:00
Johannes Zellner
90112de6e4
Bring back backup warning translations
2021-06-21 09:53:48 +02:00
Girish Ramakrishnan
cad08380ea
volumes: hide hostPath for non noop
2021-06-21 00:20:12 -07:00
Girish Ramakrishnan
79ec7fb245
volumes: make sshfs work
2021-06-20 23:39:35 -07:00
Girish Ramakrishnan
87c22a4670
mount: mount as 777 for max compat
...
for cifs, file_mode can be 666
2021-06-20 22:48:37 -07:00
Girish Ramakrishnan
90657af7f2
mount: fix nfs re-mounting
2021-06-18 23:48:39 -07:00
Girish Ramakrishnan
c23b935cea
volumes: hostPath -> mount point
2021-06-18 23:31:11 -07:00
Girish Ramakrishnan
2aecf0c96a
volumes: clear any previous error
2021-06-18 23:30:50 -07:00
Girish Ramakrishnan
e614703305
volumes: fixes for ext4
2021-06-18 23:03:18 -07:00
Girish Ramakrishnan
ecf2ff9e15
mount: better error message detection
2021-06-18 23:02:53 -07:00
Girish Ramakrishnan
55950c7e2d
better description for mount files
2021-06-18 18:03:07 -07:00
Girish Ramakrishnan
5f509f802f
install sshfs
2021-06-18 14:46:54 -07:00
Girish Ramakrishnan
0a3a7cb1a3
debug: replace newline in args
2021-06-18 14:33:50 -07:00
Girish Ramakrishnan
e6e875814e
systemctl show --value does not work on ubuntu 16
2021-06-18 14:29:03 -07:00
Girish Ramakrishnan
406b3394cb
mail: fix issue where spam to internal lists was not blocked
2021-06-18 10:35:42 -07:00
Girish Ramakrishnan
5cad4d1ebd
do not capitalize title words
2021-06-17 13:51:29 -07:00
Girish Ramakrishnan
21ec89a38a
add note on dhparams.pem removal
2021-06-17 11:41:44 -07:00
Girish Ramakrishnan
77989893df
remove boxdata/well-known directory
...
this has already moved into the domains table
2021-06-17 11:37:03 -07:00
Girish Ramakrishnan
7ca86cc96d
cloudron-setup: do not cat to stdout
2021-06-17 10:03:59 -07:00
Johannes Zellner
a2f1a1feb3
Add left padding for mailbox conditionally if radiobutton is shown
2021-06-17 12:34:49 +02:00
Johannes Zellner
b0965b3ec7
Give more visual feedback for cog button
2021-06-17 12:32:16 +02:00
Girish Ramakrishnan
bf1c7eedb7
clone: copy over the enableMailbox flag
2021-06-16 23:17:26 -07:00
Girish Ramakrishnan
9f9f745f47
Add vultr object storage
2021-06-16 22:51:05 -07:00
Girish Ramakrishnan
f2e0ee12a2
vultr: object storage
2021-06-16 22:36:01 -07:00
Girish Ramakrishnan
ef04253288
print the task options in the logs
2021-06-16 14:21:19 -07:00
Girish Ramakrishnan
fa81491bf3
Fix uninstall of apps with bad docker images names
...
Some day we can implement https://github.com/distribution/distribution/blob/main/reference/regexp.go
2021-06-16 11:55:23 -07:00