1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00
Commit graph

83 commits

Author SHA1 Message Date
Éric Gaspar
5cca8a21ec fix linter 2024-05-10 10:21:52 +02:00
Chris Vogel
c3973976cc improvements to upgrade 2024-05-10 09:15:22 +02:00
Chris Vogel
eafaed5b8b version naming same as in manifest 2024-05-09 14:00:54 +02:00
Chris Vogel
94ec94e32d corrections to backup/restore 2024-05-08 16:14:04 +02:00
Chris Vogel
6287cd7725 Upgrade paths/filename part III
now it works on my test system...
2024-05-08 11:18:05 +02:00
Chris Vogel
b943dfa6f1 paths and filenames - part II
adjusted paths after trying, thinking and talking to people in the matrix room again.
2024-05-07 12:18:36 +02:00
Chris Vogel
b6d9fac30f New file- and pathnames
Quiet a ride, but on my test system it installs and removes.

Upgrade will not work, yet. Renaming is missing.

Multiple installs should work.
2024-05-06 07:47:13 +02:00
Chris Vogel
b5e0f424f9 reworked install paths
new paths are now defined in _common.sh like this
```
flohmarkt_install="/opt/${id}/${domain}${url_path}/src"
flohmarkt_venv_dir="/opt/${id}/${domain}${url_path}/venv"
```
giving a nice layout following the domain and path the flohmarkt uses as its URL.

Activated path resource in manifest.toml to let the admin choose a path different from '/'.
2024-04-30 14:12:49 +02:00
Chris Vogel
4ce465d31a replaced " by ' because content itself contained " 2024-04-27 14:04:21 +02:00
Chris Vogel
5c31dfdb8b doc/PRE_INSTALL.md 2024-04-26 21:22:35 +02:00
Chris Vogel
a757bf1243 minor correction in restore 2024-04-25 12:47:53 +02:00
Chris Vogel
020dd4abfe avoid linter message
`! Using helper ynh_backup_before_upgrade is deprecated when using packaging v2 ... It is replaced by: nothing, handled by the core, just get rid of it`

I only use `ynh_backup_before_upgrade` in a comment. Try to cloak it by inserting some invisible space.

Removed debugging outpug from scripts/restore (after backing it up to branch debugging_restore.
2024-04-25 10:46:28 +02:00
Chris Vogel
7bc371a828 install: touch log 2024-04-25 10:04:52 +02:00
Chris Vogel
e405d5dc6d take care of logfile and -dir
backup, remove, restore
2024-04-25 09:48:43 +02:00
Chris Vogel
fc7ac9e85e changes to get debugging right 2024-04-24 21:00:40 +02:00
Chris Vogel
6b52e6bcd6 2024-04-24 17:03:26 +02:00
Chris Vogel
8e75712995 ... 2024-04-24 13:19:29 +02:00
Chris Vogel
f3e5c7dc3d more information 2024-04-24 13:00:27 +02:00
Chris Vogel
0346350dad ignore missing files in ls 2024-04-24 12:25:07 +02:00
Chris Vogel
60a6cb01ee removed chmod/chown for $install 2024-04-24 10:42:04 +02:00
Chris Vogel
2ee19f5be1 rearrange debugging 2024-04-24 10:11:55 +02:00
Chris Vogel
4198cc8a54 moved debugging code up 2024-04-24 09:19:30 +02:00
Chris Vogel
6786112cc4 adjusted warning level 2024-04-24 08:54:13 +02:00
Chris Vogel
0ee979a510 change debugging 2024-04-24 08:32:38 +02:00
Chris Vogel
9f57a29744 debugging to find CI error 2024-04-23 20:33:42 +02:00
Chris Vogel
0e28012847 chmod/chown install_dir in restore 2024-04-23 20:11:26 +02:00
Chris Vogel
19651800d9 correct jwtsecret 2024-04-23 14:12:44 +02:00
Chris Vogel
27f90fa281 backup everything
…until there'll be complains.
2024-04-22 19:55:27 +02:00
Chris Vogel
25ca85bb98 removed some comments 2024-04-22 19:55:27 +02:00
Chris Vogel
824ead433d 1st try 2024-04-22 19:55:27 +02:00
Chris Vogel
4c893a256a save jwtsecret 2024-04-22 19:51:27 +02:00
Chris Vogel
10984006fa backup all 2024-04-22 17:32:13 +02:00
Chris Vogel
bfc5581728 issue #21 2024-04-22 11:21:07 +02:00
Chris Vogel
37a3a585b4 PRE_INSTALL.md 2024-04-21 19:47:56 +02:00
Chris Vogel
67605b5fcd seems to work 2024-04-21 19:35:23 +02:00
Chris Vogel
198b86a8da don't wait 2024-04-21 17:36:08 +02:00
Chris Vogel
e889486549 corrected line_match 2024-04-21 17:20:24 +02:00
Chris Vogel
b1862ce59c line_match and NOT line 2024-04-21 16:58:24 +02:00
Chris Vogel
9697c6cc38 restore worked, but flohmarkt not running 2024-04-21 16:34:44 +02:00
Chris Vogel
ebae47a4c9 before test
before I removed the explicit backup and restore of /etc/yunohost/apps/flohmarkt.
2024-04-21 16:23:59 +02:00
Chris Vogel
4ed2165307 settings missing 2024-04-21 14:20:12 +02:00
Chris Vogel
d043e17111 backup/restore done? 2024-04-21 13:07:00 +02:00
Chris Vogel
590198f862 5-flohmarkt.conf → 05-flohmarkt.conf, added to update 2024-04-21 12:43:18 +02:00
Chris Vogel
97ea2fcc43 backup script 2024-04-20 22:10:26 +02:00
Chris Vogel
c34ed46550 file permission 2024-04-20 22:03:47 +02:00
Chris Vogel
41a989bb7b install/upgrade script correction 2024-04-20 20:02:52 +02:00
Chris Vogel
42c5d26fa8 install script correction 2024-04-20 19:59:49 +02:00
Chris Vogel
0ba0a14ee9 restart? 2024-04-20 16:27:34 +02:00
Chris Vogel
0af67b58da password generation more bash save 2024-04-20 15:52:03 +02:00
Chris Vogel
1307859fb4 issues #17 and #18 2024-04-20 15:40:57 +02:00