howto:hosting:redmine
Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Obě strany předchozí revizePředchozí verzeNásledující verze | Předchozí verze | ||
howto:hosting:redmine [2022/07/19 20:29] – gandalf | howto:hosting:redmine [2024/09/26 18:08] (aktuální) – gandalf | ||
---|---|---|---|
Řádek 42: | Řádek 42: | ||
* A na zaver vycistime cache | * A na zaver vycistime cache | ||
<code bash> | <code bash> | ||
- | bundle exec rake tmp: | + | <del>bundle exec rake tmp: |
+ | bundle exec rake tmp: | ||
</ | </ | ||
Řádek 136: | Řádek 137: | ||
- '' | - '' | ||
- '' | - '' | ||
+ | |||
+ | |||
+ | ==== Ruby 2.5; Postgres 10+ ==== | ||
+ | |||
+ | Pri migraci muze hlasit potize s pravama - nektere tabulky v databazi maji jineho vlastnika nez uzivatele, ktery se pouzova pro pripojeni z redmine. Resenim je opravit vlastnika: | ||
+ | < | ||
+ | for tbl in `psql -qAt -c " | ||
+ | |||
+ | for tbl in `psql -qAt -c " | ||
+ | |||
+ | for tbl in `psql -qAt -c " | ||
+ | </ | ||
Řádek 167: | Řádek 180: | ||
bundle exec rake redmine_git_hosting: | bundle exec rake redmine_git_hosting: | ||
bundle exec rake redmine_git_hosting: | bundle exec rake redmine_git_hosting: | ||
+ | </ | ||
+ | |||
+ | === **POZOR** === | ||
+ | |||
+ | Pokud najdeme v logu '' | ||
+ | < | ||
+ | 2022-07-26 18:28:25 +0200 [ERROR] Access denied for Gitolite Admin SSH Keys | ||
+ | 2022-07-26 18:28:25 +0200 [ERROR] unsupported URL protocol | ||
+ | </ | ||
+ | a zaroven v konfigurace git hostingu v redmine na karte configtest sviti v kolonce **Rugged compiled features** <color # | ||
+ | |||
+ | < | ||
+ | # gem list | grep rugged | ||
+ | rugged (0.99.0) | ||
+ | # gem uninstall rugged | ||
+ | # apt-get install libssh2-1-dev | ||
+ | # gem install rugged -v 0.99.0 | ||
+ | </ | ||
+ | |||
+ | ==== Migrace Trac do Redmine ==== | ||
+ | |||
+ | < | ||
+ | # rake redmine: | ||
+ | |||
+ | WARNING: a new project will be added to Redmine during this process. | ||
+ | Are you sure you want to continue ? [y/N] y | ||
+ | |||
+ | Trac directory []: / | ||
+ | Trac database adapter (sqlite3, mysql2, postgresql) [sqlite3]: | ||
+ | Trac database encoding [UTF-8]: | ||
+ | Target project identifier []: prometheus | ||
+ | |||
+ | This project already exists in your Redmine database. | ||
+ | Are you sure you want to append data to this project ? [Y/n] y | ||
+ | |||
+ | Trac database version is: 26 | ||
+ | Migrating components. | ||
+ | Migrating milestones........... | ||
+ | Migrating custom fields | ||
+ | Migrating tickets.................................... | ||
+ | Migrating wiki...................................................... | ||
+ | |||
+ | Components: | ||
+ | Milestones: | ||
+ | Tickets: | ||
+ | Ticket files: | ||
+ | Custom values: | ||
+ | Wiki edits: | ||
+ | Wiki files: | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Upgrade na Debian 12 ===== | ||
+ | |||
+ | * vychozi verze pro upgrade je Redmine 4.2 na Debian 11 | ||
+ | * Pred upgradem na Debian 12 je potreba nejprve upgradnout Redmine alespon na 5.0 - viz. [[https:// | ||
+ | * V pripade hlasky o identitiy_url | ||
+ | |||
+ | < | ||
+ | PG:: | ||
+ | DETAIL: | ||
+ | HINT: Use DROP ... CASCADE to drop the dependent objects too. | ||
+ | </ | ||
+ | |||
+ | je potreba pres phppgadmin odstranit kaskdovite prislusny sloupecek a nasledne znova vytvorit - jinak neprojde db:migrate | ||
+ | |||
+ | * Do konfiguraku apache pridat: | ||
+ | < | ||
+ | # pridano 2024-07-23 start | ||
+ | PassengerFriendlyErrorPages on | ||
+ | PassengerAppEnv production | ||
+ | # pridano 2024-07-23 konec | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== Vice instanci Redmine na jednom serveru ==== | ||
+ | |||
+ | Je potreba oddelit virtualhostama a do kazdeho pridat nasledujici nastavni | ||
+ | < | ||
+ | # # CHANGE PassengerAppGroupName FOR OTHER INSTANCES | ||
+ | PassengerAppGroupName redminetst_default | ||
+ | PassengerDefaultUser www-data | ||
</ | </ | ||
howto/hosting/redmine.1658255391.txt.gz · Poslední úprava: 2022/07/19 20:29 autor: gandalf