milieuropean.blogg.se

Bitnami owncloud stack ssh
Bitnami owncloud stack ssh




  1. #Bitnami owncloud stack ssh install#
  2. #Bitnami owncloud stack ssh update#
  3. #Bitnami owncloud stack ssh upgrade#
  4. #Bitnami owncloud stack ssh password#

  • Configure latest stack for lets-encrypt certificates using.
  • Proper logwatch and outgoing email configurationĬrontab -l and then comment all old crontab configuration using "crontab -e".
  • Configure system to store history date time using Storing date / time along with commands in history.
  • Set correct time zone CentOS 7.x Change system timezone.
  • Setup fail2ban using CentOS 7.x fail2ban including firewalld using CentOS 7.x Basic firewalld configuration.
  • Copy index.html from old version to new vesionĬp /opt/owncloud-/apache2/htdocs/index.html /opt/owncloud-/apache2/htdocs/.
  • Activate the app whose files were copied to htdocs/apps folder in previous step.
  • Go Settings -> Apps -> show disabled apps.
  • mv /opt/owncloud-/apps/owncloud/htdocs/apps.
  • bitnami owncloud stack ssh

  • Copy the downloaded app installation file to /root/ of the owncloud server.
  • Go to owncloud market place and download latest version of disabled apps.
  • #Bitnami owncloud stack ssh password#

    Password given during new stack installation will not work as it is overwritten when DB is restored. ctlscript.sh start Note that old server admin or user passwords would work. Enable access to ports 80, 443 if disabled earlier.

    #Bitnami owncloud stack ssh upgrade#

    As such in most cases the app was found to show old data properly.Ĭd /opt/owncloud-/apps/owncloud/htdocs sudo -u daemon /opt/owncloud-/php/bin/php occ upgrade #If there are warning to disable a few apps disable suggested apps using something similar to: sudo -u daemon /opt/owncloud-/php/bin/php occ app:disable activity #After disabling old apps try upgrade again sudo -u daemon /opt/owncloud-/php/bin/php occ upgrade

  • Note difference in apps between two versionsĬd /root ls /opt/owncloud-/apps/owncloud/htdocs/apps > old-apps.txt ls /opt/owncloud-/apps/owncloud/htdocs/apps > new-apps.txt diff old-apps.txt new-apps.txt The listed apps dont come by default and might have to be disabled in next step during upgrade All configuration / data related to these apps might be lost during upgrade.
  • Note that folder /opt/owncloud-/apps/owncloud/data contains critical. Hence, we cannot change the path easily without modifying large no.

    bitnami owncloud stack ssh

    Note that datadirectory is hard coded inside the MySQL DB. Then edit /opt/owncloud-/apps/owncloud/htdocs/config/config.php to point datadirectory to previous datadirectory. ctlscript.sh start mysql cat apps/owncloud/htdocs/config/config.php #Note database parameters mysql/bin/mysql -u bn_owncloud -pea5042a4c8 bitnami_owncloud /apps/owncloud/data/* /root/new-temp-data/ We must keep /opt/owncloud-/apps/owncloud/data/ as it is.

  • Restore database on latest stack using following steps:Ĭd /opt/owncloud.
  • ctlscript.sh start mysql cat apps/owncloud/htdocs/config/config.php #Note database parameters mysql/bin/mysqldump -u bn_owncloud -p bitnami_owncloud > /root/latest-bitnami-owncloud.sql.
  • Only start mysql of old stack using following and take latest database dumpĬd /opt/owncloud.
  • Validate swap is available or else add it using CentOS 7.x adding swap space using fileįolder /opt/owncloud- (Default) Real name admin Email address saurabh Login admin Password, Retype password Something simple (Will get overwritten during DB restore anyway) Hostname Email support Y(Custom, saurabh, ,, 587, TLS) Settings Production Continue with installation Yes.
  • disable access to ports 80, 443 temporarily via firewall if possible.
  • bitnami owncloud stack ssh

    Download latest bitnami owncloud installer from.

    #Bitnami owncloud stack ssh install#

    Yum -y install vim epel-release wget yum -y install perl-Data-Dumper byobu

    #Bitnami owncloud stack ssh update#

    Home > CentOS > CentOS 7.x > CentOS 7.x Setup lightsail instances > CentOS 7.x Update lightsail owncloud instance in-place






    Bitnami owncloud stack ssh