51 Commits

Author SHA1 Message Date
Tobias Knöppler
0e40867347
nc-encrypt.sh: Fix detection of running encryption
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2024-09-07 02:51:44 +02:00
Tobias Knöppler
31d5ed984f
build-sd-images.yml: Adjust php fpm fix to correct php version
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2024-08-24 19:38:46 +02:00
Tobias Knöppler
7612fd9e6b
ncp.sh, 1.55.0.sh: Install logrotate
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2024-08-20 12:35:21 +02:00
Tobias K
96b2c19823
ncp.sh,SSH.sh: Move root login configuration to SSH.sh
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2024-05-02 02:48:28 +02:00
Tobias Knöppler
9fb334cc25
install.sh,ncp.sh,1.54.0.sh: Disable root login via ssh
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2024-05-01 15:46:59 +02:00
Tobias Knöppler
5c6b37a4f6
ncp.sh,nc-passwd.sh: Add activation hint in tty login screen
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2024-05-01 15:46:58 +02:00
Tobias Knöppler
78039d38d1
armbian.sh: Disable autologin, require root password and use passwd -l instead of nologin shell for root login prevention
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2024-05-01 15:46:57 +02:00
Tobias Knöppler
a0c6b213e6
/etc/ncp-dist-upgrade*: Implement dist-upgrade for bullseye->bookworm and add integration tests for it
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2024-05-01 15:46:57 +02:00
Tobias K
b54d332a09
rename nextcloud.conf to 001-nextcloud.conf to force it to be considered before ncp.conf
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2024-01-26 01:24:36 +01:00
Tobias K
308aef9b2b
ncp.sh: Move ncp.conf to ncp-template
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2024-01-25 00:31:37 +01:00
Tobias Knöppler
a76c8a9c88
Add integration test for nc admin section
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2023-10-20 03:15:06 +02:00
Tobias K
3958883e62
Add ncp-community.sh and admin section to ncp-app
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2023-10-19 20:17:37 +02:00
Tobias Knöppler
ae5ab8df90
ncp.sh: Don't disable root/webui user for container images
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2023-04-15 02:02:59 +02:00
Victor-ray, S
224b64bcea
࿓❯ Fixed ncp.sh, removed the pi user /sbin/nologin shell as that user no longer exists by default
Signed-off-by: Victor-ray, S <12261439+ZendaiOwl@users.noreply.github.com>
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2023-01-08 21:16:36 +01:00
Tobias K
8149493439
SSH: Add option to enable sudo for ssh user.
- Disable root login

Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2023-01-08 21:16:35 +01:00
thecalcaholic
fb8414fa64
ncp.sh: Force ncp-update-nc to run on docker during installation
Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
2022-09-27 20:20:48 +02:00
Tobias K
0c3a817421
ncp-update: Prevent running update script inside docker without explicit confirmation
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
2022-09-27 20:20:48 +02:00
nachoparker
4717eb334f tweak ncc command
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-11-18 10:07:04 -07:00
nachoparker
cf4cfd81a8 also save hostname in trusted domains
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-10-15 09:01:20 -06:00
nachoparker
26edf1f7b0 build: add LXC/LXD support
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-09-30 22:48:19 -06:00
nachoparker
c037c11dfc add bash completion to ncc
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-09-29 20:07:56 -06:00
nachoparker
110311fef6 nextcloud-domain: make sure redis is running before it starts
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-09-20 09:59:32 -06:00
nachoparker
c10d4bd8fb upgrade to NC21.0.4
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-09-12 16:55:46 -06:00
Tobias K
1cb8580cd6 ncp-update: Fix failure to determine latest version in some cases
ncp.sh: Make branch configurable

Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2021-07-28 22:42:19 -06:00
nachoparker
b837403a7c build: fix docker build /etc/hosts
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-07-26 21:02:50 -06:00
nachoparker
665ed28ae6 build: trap and curl installer fixes
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-07-25 14:59:07 -06:00
nachoparker
67aa5994d6 lamp: allow only TLSv12 and TLSv13
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-05-12 21:49:42 -06:00
nachoparker
20bd14fe7b wizard: fix letsencrypt empty email
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-01-17 20:02:26 -07:00
Giuseppe C
c143accdfc do not hsts preload by default, only serve hsts header over https
Signed-off-by: Giuseppe C <AvverbioPronome@users.noreply.github.com>
2020-08-30 17:27:35 -06:00
budulinek
e0ae40b8db Add user only if it does not exist. (#1059)
If user already exists, useradd ends with error and terminates the whole instalation process.
2020-01-19 02:22:57 +00:00
nachoparker
e30271f96f armbian: fix distro check
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-07-24 17:26:05 -06:00
nachoparker
fbdab43b96 ncp-web: adjust ipv6 local restrictions
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-06-29 15:16:06 -06:00
nachoparker
758908128a fix logrotate files 2019-05-11 11:13:52 -06:00
nachoparker
f34354c336 ncp-web: add backups panel 2019-04-30 18:02:58 -06:00
nachoparker
1f11d40c47 add public IP to trusted domains 2019-01-16 18:42:44 -07:00
nachoparker
2ac9b8b97b ncp-web: allow private IPv6 addresses 2019-01-14 21:06:46 -07:00
nacho
bc0271e359 add password reveal button + version fix 2019-01-04 18:14:53 -07:00
nacho
b0726207f3 fix version, provisioning and more 2019-01-04 18:14:52 -07:00
nachoparker
d5c1f0058b rework to use JSON based cfg and more 2019-01-04 18:14:52 -07:00
nachoparker
1758331c18 check for path transversal 2018-10-27 08:00:15 -06:00
nachoparker
48ac238f5b limit logs size with logrotate 2018-10-07 14:10:44 -06:00
nachoparker
aa2b3baa91 build: small tweaks for docker and armbian 2018-09-29 08:55:23 -06:00
nachoparker
3de5fe0cfe armbian: fix locales for ncp-config 2018-09-24 17:08:22 -06:00
nacho
dabc17fb07 build: fully local builds 2018-09-21 23:48:00 -06:00
nacho
7a8c0e40f5 docker: build fixes 2018-09-20 22:30:40 -06:00
nachoparker
b81b3e6753 fix ncc command repeating itself 2018-07-13 17:27:07 +00:00
nachoparker
2d70fad41f build: cleanup 2018-06-27 14:08:20 +02:00
nachoparker
1a9a53fce3 fix nextcloud-domain running before default GW is ready 2018-06-19 04:55:26 +02:00
nachoparker
b78c9e2369 add ncc command, shortcut of occ 2018-06-06 17:11:47 +02:00
nachoparker
b619457627 build: fix raspi-config integration in new build 2018-05-28 12:25:14 +02:00