Commit Graph

972 Commits

Author SHA1 Message Date
dpeca
ba14a64499 Fix in v-update-host-certificate: added restart for dovecot 2017-11-15 14:05:25 +01:00
Anton Reutov
dd9f507770 Merge pull request #1323 from moucho/permissions
Correct permissions for index.html and robots.txt on new added web domain
2017-11-15 12:26:35 +03:00
Marcos
c6b5125e84 Better permissions for web files 2017-11-15 02:17:42 +01:00
Robin Dirksen
f8368220ff Backup filename changed (#1289)
* Backup filename changed

Changed the backup filename for running more backup each day - for example every 4 hours

* Restore user fix with new backup date

* Check if the backup name has an old notation

* Fix backup permission check

* fixed regex

* fix
2017-11-13 17:22:44 +03:00
Marcos
0be2a0327e Permissions for web files 2017-11-13 12:10:26 +01:00
dpeca
fc60a99e8c v-update-host-certificate fix: restarting vesta instead of web-backend 2017-11-12 23:36:28 +01:00
dpeca
38b7557beb Securing v-update-host-certificate and few small fixes 2017-11-12 23:09:42 +01:00
Robin Dirksen
593cd34e52 Create v-update-host-certificate
Add a file that's setting the hostname certificate for exim, dovecot & vesta-web so the email is always with a valid LE certificate.

# Todo:
- add to cronjobs (default every month) of adds to lets encrypt renewall/request when updating system hostname certificate
2017-11-07 11:56:59 +01:00
Made I.T
8867d8ec65 #1311 2017-10-26 12:49:14 +02:00
dpeca
8b3d2f0aa1 Merge pull request #1236 from twoup/patch-1
Fix issue in v-letsencrypt-add-user
2017-10-22 02:28:40 +02:00
dpeca
e757da763f v-update-letsencrypt-ssl: better position for sleep 10
Related to issue https://github.com/serghey-rodin/vesta/issues/1193
2017-10-18 18:58:58 +02:00
dpeca
51bff426dc v-update-letsencrypt-ssl: wait 10 sec only when renewing 2017-10-18 18:49:09 +02:00
twoup
9947764365 Fix issue in v-letsencrypt-add-user
This issue is getting some hits on the forum. Tiny typo on Line 58.
exponent=$(openssl pkey -inform perm -in "$key" -noout -text_pub |\ 
-inform perm is not a valid openssl pkey option. The correct code iis:
exponent=$(openssl pkey -inform pem -in "$key" -noout -text_pub |\
2017-07-21 11:00:40 +01:00
Serghey Rodin
3e6fd7e814 print domain name if attempt is unsuccessful 2017-07-18 16:51:30 +03:00
dpeca
64e6fa8c9d Avoid too fast restarting of web server while renewing LetsEncrypt
Fix #1193
2017-05-15 13:47:30 +02:00
dpeca
b57c4dcd7b Allow v-restore-user to restore backup from FTP and SFTP
Before this fix, sftpc() function had two 'else' blocks... so it was broken code... and script was unable to download file from SFTP
2017-05-04 19:11:34 +02:00
dpeca
4aeec46841 Making SFTP backup able to work with empty folder name 2017-04-28 20:37:20 +02:00
dpeca
e022c6507b Better fix for FTP backup without folder name 2017-04-22 02:22:23 +02:00
dpeca
367d0b34ef Making v-backup-user able to upload backup to FTP if FTP folder is not set
Before this fix v-backup-user was unable to upload backup to FTP if $BPATH (FTP folder) is not set
2017-04-19 15:36:43 +02:00
dpeca
930a2a82e3 Making v-backup-user able to send email notification
doh...
2017-04-11 17:52:07 +02:00
dpeca
887ac8a11b Added missing domain_idn=$domain in v-restore-user 2017-03-14 01:08:20 +01:00
dpeca
a005c3e24a Added missing format_domain_idn in v-restore-user 2017-03-13 03:14:50 +01:00
dpeca
5965b5a88e Accidentally deleted 'i' letter 2017-03-06 00:04:30 +01:00
dpeca
6d88ca31c3 Making sure domain_idn is always set 2017-03-05 23:34:07 +01:00
Made I.T
041d7cb5b4 Merge pull request #1063 from corochoone/master
Fix loss of the owner / group / permissions of the configuration file…
2017-03-02 12:04:22 +01:00
Made I.T
3dcc0ee96e Fix indent 2017-03-02 11:16:29 +01:00
Made I.T
8f8f257d3d Merge pull request #873 from sacrednetwork/fix-httpauth
Fix httpauth permission server error and secure template
2017-03-02 11:14:16 +01:00
Justin991q
b987054048 Fixed typo in the backup script 2017-02-25 03:38:53 +01:00
System Void
19708d2837 Revert "Remove trailing dot" 2017-02-20 23:30:39 +00:00
System Void
605dae8774 Merge pull request #1037 from kmark/fix-letsenc-errors
Let's Encrypt fixes for #979 (invalid response) and #1008 (/tmp/*/domain.tld.crt file not found)
2017-02-20 10:31:16 +00:00
Gionni
ddf010a214 fixed typo 2017-02-14 02:08:57 +01:00
Gionni
3b9bbe73f5 fixed typo 2017-02-14 02:07:56 +01:00
System Void
5823ea4c87 Merge pull request #1003 from RickBakkr/patch-1
Force a new line, to prevent syntax errors.
2017-02-13 00:28:46 +00:00
System Void
fbaf05a432 Merge pull request #1006 from urosg80/master
fix for nginx less (apache only) installation
2017-02-13 00:27:56 +00:00
System Void
b370cbf62b Merge pull request #1065 from Skamasle/patch-12
Remove trailing dot
2017-02-11 17:54:32 +00:00
Serge Kraev
cb53616e99 fix trailing dot quotes 2017-02-09 18:09:39 +04:00
Maksim Usmanov | Maks
50f08b7de8 Remove trailing dot
I check some servers and some times I see than cname not working, I check records and the problem is than some useres add record whit a dot ( in vesta GUI or CLI )

comerecord. in cname 2222 google.com

and vesta add it as it

cname.	14400	IN	CNAME		google.com.
test.	14400	IN	MX	10	mail.googl.com.

So whit this pull we remove that dot if added

hola	14400	IN	CNAME		test.net.
record	14400	IN	CNAME		hola.es.
recordar	14400	IN	CNAME		Tres.net.

This solve the dot but I think in a while loop, because vesta leave add users cname thiw multiple dots:

Adding DNS Record → Record cname.......sdd.net has been created successfully.

Maybe vesta team have better solution for this one.
2017-02-07 19:41:47 +01:00
corochoone
41b79d0cb9 Fix loss of the owner / group / permissions of the configuration file while overwriting it
With use "mv" command, configuration file owner, group and permission  will become "root: root" with default permissions. This can lead to access problem, because a services will cannot access to the configuration file. For example, "named", will cannot restart, because required user "named" access to own configuration file.

"Cat" command, will be overwrite config file too, but it saves owner / group / permissions original file.
2017-02-06 17:32:30 +04:00
urosg80
6788f9e970 Merge branch 'master' into master 2017-02-01 14:08:52 +01:00
System Void
5500f3c2bd Merge pull request #972 from mslepko/master
Added additional domain parameter formatting when adding SSL for domain + Added missing Polish translations
2017-01-31 08:14:57 +00:00
Serghey Rodin
b5d52c7e8c fix interface duplicates 2017-01-30 16:00:04 +02:00
dpeca
92acd51a89 Merge pull request #1034 from cdnmall/patch-1
Fix for v-change-user-package too many arguments
2017-01-27 09:57:56 +01:00
dpeca
2f73044746 Wrong order of steps in v-change-domain-owner, fixed 2017-01-25 14:47:32 +01:00
dpeca
a2dab6c94a To avoid chowning mail conf folder if it does not exists 2017-01-25 14:24:49 +01:00
Kevin Mark
d4a4bca616 Allow checking of nginx domains with force-https
Fixes issue noted in serghey-rodin/vesta#979
2017-01-19 08:00:10 -05:00
Serghey Rodin
310a379705 LetsEncrypt on apache-only fix for #966 2017-01-19 11:13:10 +02:00
Joe Mattos
649c04d650 Fix for v-change-user-package too many arguments
v-change-user-package: line 46: [: too many arguments
2017-01-16 16:59:10 -05:00
dpeca
cfa557b22c Merge branch 'master' into patch-2 2017-01-12 18:03:44 +01:00
dpeca
927271acc3 Merge pull request #1021 from eka7a/patch-3
Added v=DKIM1; prefix
2017-01-12 17:58:00 +01:00
Serghey Rodin
e5950d516d Code refactoring: domain_idn + new restart routine 2017-01-11 16:52:11 +02:00