Changes

From SME Server
Jump to navigationJump to search
298 bytes added ,  16:53, 23 March 2022
no edit summary
Line 72: Line 72:  
</tabs>
 
</tabs>
   −
=== Upgrade ===
+
=== Use a dedicated domain to connect to Nextcloud ===
yum  update {{#var:smecontribname}} {{#var:contribname}} --enablerepo=smecontribs
+
first change the first line variable content with you nextcloud domain as defined with your DNS provider.
  signal-event nextcloud-update
+
<syntaxhighlight lang="bash">
 +
NEXTCLOUDDOMAIN="cloud.mydomain.com"
 +
db domains set $NEXTCLOUDDOMAIN domain Description "Nextcloud" Content Primary Nameservers internet TemplatePath WebAppVirtualHost DocumentRoot /usr/share/nextcloud RequireSSL enabled letsencryptSSLcert enabled
 +
signal-event domain-create cloud.mydomain.com
 +
 
 +
# this one to let nextcloud DAV be redirect correctly
 +
config setprop nextcloud CloudDomain $NEXTCLOUDDOMAIN
 +
# this line is to have collabora recognize the domain
 +
config setprop nextcloud CloudDomain VirtualHost $NEXTCLOUDDOMAIN
 +
signal-event nextcloud-update
 +
 
 +
# only if you use a Let's Encrypt certificate
 +
expand-template /etc/dehydrated/domains.txt
 +
dehydrated -c
 +
 
 +
</syntaxhighlight>
 +
 
 +
 
    
=== Configuration ===
 
=== Configuration ===
Line 112: Line 129:  
|strings coma separated
 
|strings coma separated
 
|add domain or ip that are in need to be added to default access to nextcloud
 
|add domain or ip that are in need to be added to default access to nextcloud
 +
|-
 +
|CloudDomain
 +
|empty
 +
|domain name ; duplicate of VirtualHost
 +
|
 
|-
 
|-
 
|VirtualHost
 
|VirtualHost
Line 171: Line 193:     
</syntaxhighlight>to seek for additional command consult Nextcloud documentation : https://docs.nextcloud.com/server/13.0.0/admin_manual/configuration_server/occ_command.html
 
</syntaxhighlight>to seek for additional command consult Nextcloud documentation : https://docs.nextcloud.com/server/13.0.0/admin_manual/configuration_server/occ_command.html
 +
 +
=== Upgrade ===
 +
yum  update {{#var:smecontribname}} {{#var:contribname}} --enablerepo=smecontribs
    
=== Uninstall ===
 
=== Uninstall ===
 
  yum remove {{#var:smecontribname}}  {{#var:contribname}}
 
  yum remove {{#var:smecontribname}}  {{#var:contribname}}
  −
=== Use a dedicated domain to connect to Nextcloud ===
  −
<syntaxhighlight lang="bash">
  −
db domains set cloud.mydomain.com domain Description "Nextcloud" Content Primary Nameservers internet TemplatePath WebAppVirtualHost DocumentRoot /usr/share/nextcloud RequireSSL enabled letsencryptSSLcert enabled
  −
signal-event domain-create cloud.mydomain.com
  −
  −
#this one to let nextcloud DAV be redirect correctly
  −
config setprop nextcloud CloudDomain cloud.mydomain.com
  −
signal-event nextcloud-update
  −
  −
#only if you use a Let's Encrypt certificate
  −
expand-template /etc/dehydrated/domains.txt
  −
dehydrated -c
  −
  −
</syntaxhighlight>
      
=== Mount with davfs on Fedora Clients ===
 
=== Mount with davfs on Fedora Clients ===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu