#hoopla

  • Startseite
  • Kontakt
  • Hoopla?!
  • Datenschutz
  • Impressum
  • « HPCC: "System error: 0: Cannot index ALL [id=3] (in Count Project G1 E3)"
  • HPCC Systems 7.2.16: Blocked Workunits After Disk Fail »

Moving and Upgrading Redmine from Debian 8 to Ubuntu 18

Eingetragen von fayon am 18 Jan 2020 in Arbeit

I have a Redmine instance from the package manager of Debian 8 (2.5.2.devel) and moved it to a package manager version on Ubuntu 18 (3.4.4 stable). Since it runs an Apache, Redmine should continue to use Apache as a proxy. Also, it should continue to use MySQL as backend and a SMTP relay.

Recipe:

  • apt install redmine redmine-mysql libapache2-mod-passenger
  • create default instance in the apt configurator
  • copy SQL dump over the newly created redmine_default database
  • Migrate the database schema with /usr/share/redmine# bundle exec rake db:migrate RAILS_ENV=production
  • This caused various errors like "Mysql2::Error: Table 'email_addresses' already exists". I had to rename the following tables and remove an index that interfered with the migration: custom_field_enumerations, import_items, email_addresses, imports, roles_managed_role. All tables were empty except the email_addresses. However, the data didn't seem to be necessary anywhere.
  • Copy all files from and to /var/lib/redmine/default/files, chown to www-data:www-data
  • Copy custom SMTP config from and to /etc/redmine/default/configuration.yml
  • Add PassengerDefaultUser www-data to /etc/apache2/mods-enabled/passenger.conf
  • Copy and adjust vhost config:

<VirtualHost *:80>
   ServerName x

   RailsEnv production
   SetEnv X_DEBIAN_SITEID "default"
   SetEnv RAILS_RELATIVE_URL_ROOT "/"

   PassengerAppGroupName redmine_default

   Alias "/plugin_assets/" /var/cache/redmine/default/plugin_assets/
   Alias "/" /usr/share/redmine/public
   <Location />
        PassengerBaseURI /redmine
        PassengerAppRoot /usr/share/redmine
   </Location>
   <Directory "/usr/share/redmine/public">
        Allow from all
        Options -MultiViews
        Require all granted
   </Directory>
</VirtualHost>

Dieser Eintrag wurde eingetragen von fayon und ist abgelegt unter Arbeit.

Noch kein Feedback


Formular wird geladen...

Kommentar-Feed für diesen Eintrag

Suche

Neueste Posts

  • MariaDB boolean comparison syntax
  • Software archeology: how to send customized HTML mails with Drupal 7
  • Connect to IP-restricted Azure MSSQL database via tunnel
  • Postgres: Convert numeric currency value to German bookkeeping standard
  • Computer scientist's way to clean up a room for online conferences
  • JTL5 + Nova Template + Youtube: "Dieses Video ist nicht verfügbar"
  • JTL5 + Nova Child Template + Google Analytics 4
  • Office 365: SMTP with Basic Auth made (im)possible
  • How to migrate from Exchange to Office365
  • Install Ubuntu 20 with a USB flash drive. Go for the old-fashioned way.

Neueste Kommentare

  • Katrin am IAA Plus: Fehlermeldung "Ware(X). Aussenhandelsstatistik Menge.fehlende Pflichtfeld"
  • Inga am IAA Plus: Fehlermeldung "Ware(X). Aussenhandelsstatistik Menge.fehlende Pflichtfeld"
  • Pulsotronic-Anlagentechnik GmbH am IAA Plus: Fehlermeldung "Ware(X). Aussenhandelsstatistik Menge.fehlende Pflichtfeld"
  • Stephan am IAA Plus: Fehlermeldung "Ware(X). Aussenhandelsstatistik Menge.fehlende Pflichtfeld"
  • Lopez am IAA Plus: Fehlermeldung "Ware(X). Aussenhandelsstatistik Menge.fehlende Pflichtfeld"
  • Heike am IAA Plus: Fehlermeldung "Ware(X). Aussenhandelsstatistik Menge.fehlende Pflichtfeld"
  • Renata am IAA Plus: Fehlermeldung "Ware(X). Aussenhandelsstatistik Menge.fehlende Pflichtfeld"
  • Sandman am Kopierstempel in Photoshop innerhalb VirtualBox funktioniert nicht
  • treviris am Kopierstempel in Photoshop innerhalb VirtualBox funktioniert nicht
  • Mike am Netzwerkscanner auf Ubuntu einrichten
  • Carlos am Nautilus 3.10 on Ubuntu 14.04: Show full date and time in list view column
  • Carlos am Nautilus 3.10 on Ubuntu 14.04: Show full date and time in list view column
  • Mohsen am IAA Plus: Fehlermeldung "Ware(X). Aussenhandelsstatistik Menge.fehlende Pflichtfeld"
  • David am Nautilus 3.10 on Ubuntu 14.04: Show full date and time in list view column
  • Conny am IAA Plus: Fehlermeldung "Ware(X). Aussenhandelsstatistik Menge.fehlende Pflichtfeld"
  • Markus am IAA Plus: Fehlermeldung "Ware(X). Aussenhandelsstatistik Menge.fehlende Pflichtfeld"
  • SK am Elster: Zertifikat verlängern gibt "Es ist ein Fehler aufgetreten! Bitte starten Sie den Browser erneut und führen Sie diese Aktion nochmal durch."
  • Menzel am IAA Plus: Fehlermeldung "Ware(X). Aussenhandelsstatistik Menge.fehlende Pflichtfeld"
  • Angelika am Elster: Zertifikat verlängern gibt "Es ist ein Fehler aufgetreten! Bitte starten Sie den Browser erneut und führen Sie diese Aktion nochmal durch."
  • Michael am IAA Plus: Fehlermeldung "Ware(X). Aussenhandelsstatistik Menge.fehlende Pflichtfeld"

©2022 by ff • Kontakt • Hilfe

Run your own website!