Changes

Jump to navigation Jump to search
m
Line 112: Line 112:  
|string
 
|string
 
|main admin user for your installation (*)
 
|main admin user for your installation (*)
 +
|-
 +
|cliurl
 +
|enabled
 +
|enabled,disabled
 +
|force overwrite.cli.url to https://domain/nextcloud or https://domain if virtualhost is set; disable it if you have specific needs and then use occ command to set your value
 
|-
 
|-
 
|DbName
 
|DbName
Line 187: Line 192:  
|number
 
|number
 
|update this value if Nextcloud says that it should be
 
|update this value if Nextcloud says that it should be
 +
|-
 +
|PHPBaseDir
 +
|
 +
|colon separated string
 +
|php base dir you want to add to the default example /home/e-smith/files/ibays/musique/files:/usr/share/GeoIP/GeoLite2-Country.mmdb:/proc/cpuinfo
 
|-
 
|-
 
|UseSMB
 
|UseSMB
Line 233: Line 243:  
occ upgrade
 
occ upgrade
 
occ maintenance:mode --off
 
occ maintenance:mode --off
 +
</syntaxhighlight>
 +
 +
=== Restore info loglevel ===
 +
<syntaxhighlight lang="bash">
 +
occ config:system:set loglevel --value=3
 
</syntaxhighlight>
 
</syntaxhighlight>
    
=== Uninstall ===
 
=== Uninstall ===
   −
{{Warning box| if you plan to reinstall and had the nextcloud rpm installed do not yum remove it or rpm -e it as it would put you in a situation where you will not be able to reinstall and restore your old data. nextcloud-src rpm if present do not create such situation and can be removed safely.}}  
+
{{Warning box| if you plan to reinstall and had the nextcloud rpm installed do not yum remove it or rpm -e it as it would put you in a situation where you will not be able to reinstall and restore your old data. nextcloud-src rpm if present do not create such situation and can be removed safely.}}
+
 
 +
Uninstalling the rpms
 
  yum remove {{#var:smecontribname}}  {{#var:contribname}}-src
 
  yum remove {{#var:smecontribname}}  {{#var:contribname}}-src
  −
then if you have a rpm named nextcloud
  −
rpm -q nextcloud
  −
then do
   
  rpm -e --justdb nextcloud
 
  rpm -e --justdb nextcloud
  −
this will remove the rpm from the db, without trashing your current app install and config.
      
those folders will then remain
 
those folders will then remain
Line 252: Line 262:  
* /home/e-smith/files/nextcloud : user data
 
* /home/e-smith/files/nextcloud : user data
   −
also you will have mariadb or mariadb105 with nextcloud db and user.  
+
also you will have mariadb or mariadb105 with nextcloud db and user.
 +
 
 +
And finally, db configuration with entry for nextcloud.
 +
 
 +
If all of those remains as is, a simple reinstall of the contrib will bring back nextcloud running. If you uninstalled it because your install was non functional or want a complete removal, there are extra steps.  
   −
and finally, db configuration with entry for nextcloud.  
+
In case of deleting either the db or part of the software folder, whenever you will try to reinstall the contrib, process will fail as db and files are not in sync.
   −
of all of those remains as is a simple reinstall of the contrib will bring back nextcloud running.
+
In case you need to reinstall from scratch, '''first, backup what you might want to restore latter''':
 +
cd /home/e-smith/files/nextcloud/data
 +
mysqldump nextcloud > nextcloud55.sql
 +
mysqldump105 nextcloud > nextcloud105.sql
 +
config print nextcloud /root/nextcloud.config
 +
tar -czf  /root/nextcloud.tar.gz /home/e-smith/files/nextcloud/data /usr/share/nextcloud
 +
then erase all what is remaining:
 +
mysql -e "DROP DATABASE `config getprop nextcloud DbName`;DROP USER IF EXISTS `config getprop nextcloud DbUser`;"
 +
mysql105 -e "DROP DATABASE `config getprop nextcloud DbName`;DROP USER IF EXISTS `config getprop nextcloud DbUser`;"
 +
rm -rf /usr/share/nextcloud
 +
rm -rf /home/e-smith/files/nextcloud
 +
#this one is optional, and should not cause issue if still there
 +
config delete nextcloud
   −
In case of deleting either the db or part of the software folder upon reinstalling the contrib it will just stall in the process to avoid to have db and software version not in sync.
+
and you should be able to start a new install from scratch
    
=== Release schedule ===
 
=== Release schedule ===
 
see https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule
 
see https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule
   −
as per 2023/08:
+
as per 2024/01:
 
{| class="wikitable"
 
{| class="wikitable"
 
!Version
 
!Version
Line 269: Line 295:  
!Release date
 
!Release date
 
!End of life
 
!End of life
 +
|-
 +
|'''29'''
 +
|
 +
|2024-04-24
 +
|
 +
|-
 +
|'''28'''
 +
|Hub 7
 +
|2023-12-12
 +
|2024-12
 
|-
 
|-
 
|'''27'''
 
|'''27'''
|Hub 5
+
|Hub 6
 
|2023-06-13
 
|2023-06-13
 
|2024-06
 
|2024-06
Line 280: Line 316:  
|2024-03
 
|2024-03
 
|-
 
|-
|'''25'''
+
|'''<s>25</s>'''
|Hub 3
+
|<s>Hub 3</s>
|2022-10-19
+
|<s>2022-10-19</s>
|2023-10
+
|<s>2023-10</s>
 
|-
 
|-
 
|'''<s>24</s>'''
 
|'''<s>24</s>'''
Line 358: Line 394:     
=== Known issues ===
 
=== Known issues ===
 +
 +
==== Web or GUI upgrade from NC25 to NC26  ====
 +
 +
Due to the change of php version needed from php74 to php80 and higher, you need to issue the following command while using NC25 to be able to then upgrade to NC26. NC25 is the first to be able to handle php80, and NC26 requires php80 or higher.
 +
<syntaxhighlight lang="bash">
 +
signal-event nextcloud-update
 +
</syntaxhighlight>
    
==== Issue importing files in db "Entry path/to/file will not be accessible due to incompatible encoding" ====
 
==== Issue importing files in db "Entry path/to/file will not be accessible due to incompatible encoding" ====
Line 372: Line 415:  
==== Remove legacy nextcloud rpm without deleting /usr/share/nextcloud content ====
 
==== Remove legacy nextcloud rpm without deleting /usr/share/nextcloud content ====
 
for installs done before smeserver-nextcloud 1.2.0-16, the rppm nextcloud was required and was conflicting with web update. Since 1.2.0-16 it is not required anymroe and we use a nextcloud-src rpm which updates itself in /usr/share/nextcloud-src and is only used if you install the first time or restart from scratch your install.
 
for installs done before smeserver-nextcloud 1.2.0-16, the rppm nextcloud was required and was conflicting with web update. Since 1.2.0-16 it is not required anymroe and we use a nextcloud-src rpm which updates itself in /usr/share/nextcloud-src and is only used if you install the first time or restart from scratch your install.
TO remove the nextcloud rpm which is not needed and save your files, two ways
+
To remove the nextcloud rpm which is not needed and save your files:
 
  −
1 backup/restore
  −
mkdir /usr/share/nextcloud-back
  −
rsync -arv /usr/share/nextcloud/ /usr/share/nextcloud-back
  −
rpm -e nextcloud
  −
rsync -arv /usr/share/nextcloud-back/ /usr/share/nextcloud
  −
rm -rf /usr/share/nextcloud-back
  −
 
  −
2 inplace (you can backup also before in case ...
   
  rpm -e --justdb nextcloud
 
  rpm -e --justdb nextcloud
  
3,054

edits

Navigation menu