Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256150 - app-admin/webapp-config should handle 'installation' directories somehow
Summary: app-admin/webapp-config should handle 'installation' directories somehow
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-24 02:41 UTC by Paul McDermott
Modified: 2013-08-03 14:54 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul McDermott 2009-01-24 02:41:27 UTC
When you first install Joomla, there is an directory containing the installation scripts in /var/www/localhost/htdocs/joomla/installation. When the initial setup is complete, the sysadmin has to remove the directory to enable the Joomla website.

When doing an upgrade of Joomla, webapp-config re-installs this directory. This a) Results in a number of error messages due to the missing original installation directory and b) Disables the website until this directory is re-removed.

It would be better if upgrades did not exhibit this behaviour

Reproducible: Always

Steps to Reproduce:
1.Install Joomla
2.Configure Joomla
3.Remove the installation directory
4.Emerge an upgrade to Joomla

Actual Results:  
 * vhosts USE flag not set - auto-installing using webapp-config
 * This is an upgrade
 * joomla-1.5.8 is already installed - upgrading
 * Running /usr/sbin/webapp-config -U -h localhost -u root -d /joomla joomla 1.5.9
* Upgrading joomla-1.5.8 to joomla-1.5.9
*   Installed by root on 2009-01-22 16:08:40
*   Config files owned by 0:0
!found installation/template/images/j_header_right_rtl.png
!found installation/template/images/j_button1_collate.png
!found installation/template/images/j_button1_refresh.png
!found installation/template/images/j_header_left_rtl.png
!found installation/includes/xajax/xajaxResponse.inc.php
!found installation/template/images/j_button1_admin.png
!found installation/template/images/j_button1_right.png
!found installation/template/images/j_header_middle.png
!found installation/installer/views/install/index.html
!found installation/template/images/j_button1_left.png
!found installation/template/images/j_button1_next.png
!found installation/template/images/j_button1_prev.png
!found installation/template/images/j_button1_site.png
!found installation/template/images/j_crn_bl_light.png
!found installation/template/images/j_crn_br_light.png
!found installation/template/images/j_crn_tl_light.png
!found installation/template/images/j_crn_tr_light.png
!found installation/template/images/j_header_right.png
!found installation/includes/js/xajax_uncompressed.js
!found installation/template/images/j_crn_bl_dark.png
!found installation/template/images/j_crn_br_dark.png
!found installation/template/images/j_crn_tl_dark.png
!found installation/template/images/j_crn_tr_dark.png
!found installation/template/images/j_header_left.png
!found installation/installer/views/install/view.php
!found installation/template/images/j_arrow_down.png
!found installation/template/images/j_arrow_left.png
!found installation/template/images/j_crn_bl_med.png
!found installation/template/images/j_crn_br_med.png
!found installation/template/images/j_crn_tl_med.png
!found installation/template/images/j_crn_tr_med.png
!found installation/template/images/j_joomla_box.jpg
!found installation/template/tmpl/configuration.html
!found installation/template/images/j_corner_bl.png
!found installation/template/images/j_corner_br.png
!found installation/includes/js/xajaxCompress.php
!found installation/sql/mysql/diff_rc1_to_rc2.sql
!found installation/sql/mysql/diff_rc2_to_rc3.sql
!found installation/sql/mysql/diff_rc3_to_rc4.sql
!found installation/sql/mysql/joomla_backward.sql
!found installation/template/css/template_rtl.css
!found installation/template/images/j_divider.png
!found installation/template/tmpl/mainconfig.html
!found installation/template/tmpl/preinstall.html
!found installation/includes/xajax/xajax.inc.php
!found installation/template/images/j_border.png
!found installation/template/images/j_bottom.png
!found installation/template/tmpl/ftpconfig.html
!found installation/template/tmpl/migration.html
!found installation/template/tmpl/removedir.html
!found installation/includes/js/installation.js
!found installation/installer/models/index.html
!found installation/template/images/j_arrow.png
!found installation/template/tmpl/dbconfig.html
!found installation/template/tmpl/language.html
!found installation/includes/xajax/LICENSE.txt
!found installation/installer/models/model.php
!found installation/installer/views/index.html
!found installation/template/images/index.html
!found installation/template/tmpl/license.html
!found installation/includes/xajax/README.txt
!found installation/includes/xajax/index.html
!found installation/language/ar-DZ/index.html
!found installation/language/be-BY/index.html
!found installation/language/bn-IN/index.html
!found installation/language/bs-BA/index.html
!found installation/language/cs-CZ/index.html
!found installation/language/de-AT/index.html
!found installation/language/en-GB/index.html
!found installation/language/eo-XX/index.html
!found installation/language/eu-ES/index.html
!found installation/language/fa-IR/index.html
!found installation/language/fi-FI/index.html
!found installation/language/fr-FR/index.html
!found installation/language/he-IL/index.html
!found installation/language/hr-HR/index.html
!found installation/language/ja-JP/index.html
!found installation/language/ko-KR/index.html
!found installation/language/lo-LA/index.html
!found installation/language/lv-LV/index.html
!found installation/language/mk-MK/index.html
!found installation/language/pl-PL/index.html
!found installation/language/pt-PT/index.html
!found installation/language/ru-RU/index.html
!found installation/language/sd-PK/index.html
!found installation/language/sk-SK/index.html
!found installation/language/sq-AL/index.html
!found installation/language/sr-ME/index.html
!found installation/language/sy-IQ/index.html
!found installation/language/ta-LK/index.html
!found installation/language/th-TH/index.html
!found installation/language/uk-UA/index.html
!found installation/language/vi-VN/index.html
!found installation/language/zh-TW/index.html
!found installation/sql/mysql/sample_data.sql
!found installation/template/css/template.css
!found installation/template/js/validation.js
!found installation/template/tmpl/finish.html
!found installation/includes/application.php
!found installation/installer/controller.php
!found installation/language/ar-DZ/ar-DZ.ini
!found installation/language/ar-DZ/ar-DZ.xml
!found installation/language/be-BY/be-BY.ini
!found installation/language/be-BY/be-BY.xml
!found installation/language/bg-BG/bg-BG.ini
!found installation/language/bg-BG/bg-BG.xml
!found installation/language/bg-BG/index.htm
!found installation/language/bn-IN/bn-IN.ini
!found installation/language/bn-IN/bn-IN.xml
!found installation/language/bs-BA/bs-BA.ini
!found installation/language/bs-BA/bs-BA.xml
!found installation/language/ca-ES/ca-ES.ini
!found installation/language/ca-ES/ca-ES.xml
!found installation/language/ca-ES/index.htm
!found installation/language/cs-CZ/cs-CZ.ini
!found installation/language/cs-CZ/cs-CZ.xml
!found installation/language/da-DK/da-DK.ini
!found installation/language/da-DK/da-DK.xml
!found installation/language/da-DK/index.htm
!found installation/language/de-AT/de-AT.ini
!found installation/language/de-AT/de-AT.xml
!found installation/language/de-CH/de-CH.ini
!found installation/language/de-CH/de-CH.xml
!found installation/language/de-CH/index.htm
!found installation/language/de-DE/de-DE.ini
!found installation/language/de-DE/de-DE.xml
!found installation/language/de-DE/index.htm
!found installation/language/el-GR/el-GR.ini
!found installation/language/el-GR/el-GR.xml
!found installation/language/el-GR/index.htm
!found installation/language/en-GB/en-GB.ini
!found installation/language/en-GB/en-GB.xml
!found installation/language/en-US/en-US.ini
!found installation/language/en-US/en-US.xml
!found installation/language/en-US/index.htm
!found installation/language/eo-XX/eo-XX.ini
!found installation/language/eo-XX/eo-XX.xml
!found installation/language/es-ES/es-ES.ini
!found installation/language/es-ES/es-ES.xml
!found installation/language/es-ES/index.htm
!found installation/language/eu-ES/eu-ES.ini
!found installation/language/eu-ES/eu-ES.xml
!found installation/language/fa-IR/fa-IR.ini
!found installation/language/fa-IR/fa-IR.xml
!found installation/language/fi-FI/fi-FI.ini
!found installation/language/fi-FI/fi-FI.xml
!found installation/language/fr-FR/fr-FR.ini
!found installation/language/fr-FR/fr-FR.xml
!found installation/language/he-IL/he-IL.ini
!found installation/language/he-IL/he-IL.xml
!found installation/language/hr-HR/hr-HR.ini
!found installation/language/hr-HR/hr-HR.xml
!found installation/language/hu-HU/hu-HU.ini
!found installation/language/hu-HU/hu-HU.xml
!found installation/language/hu-HU/index.htm
!found installation/language/it-IT/index.htm
!found installation/language/it-IT/it-IT.ini
!found installation/language/it-IT/it-IT.xml
!found installation/language/ja-JP/ja-JP.ini
!found installation/language/ja-JP/ja-JP.xml
!found installation/language/ko-KR/ko-KR.ini
!found installation/language/ko-KR/ko-KR.xml
!found installation/language/lo-LA/lo-LA.ini
!found installation/language/lo-LA/lo-LA.xml
!found installation/language/lt-LT/index.htm
!found installation/language/lt-LT/lt-LT.ini
!found installation/language/lt-LT/lt-LT.xml
!found installation/language/lv-LV/lv-LV.ini
!found installation/language/lv-LV/lv-LV.xml
!found installation/language/mk-MK/mk-MK.ini
!found installation/language/mk-MK/mk-MK.xml
!found installation/language/nb-NO/index.htm
!found installation/language/nb-NO/nb-NO.ini
!found installation/language/nb-NO/nb-NO.xml
!found installation/language/nl-NL/index.htm
!found installation/language/nl-NL/nl-NL.ini
!found installation/language/nl-NL/nl-NL.xml
!found installation/language/pl-PL/pl-PL.ini
!found installation/language/pl-PL/pl-PL.xml
!found installation/language/pt-BR/index.htm
!found installation/language/pt-BR/pt-BR.ini
!found installation/language/pt-BR/pt-BR.xml
!found installation/language/pt-PT/pt-PT.ini
!found installation/language/pt-PT/pt-PT.xml
!found installation/language/ro-RO/index.htm
!found installation/language/ro-RO/ro-RO.ini
!found installation/language/ro-RO/ro-RO.xml
!found installation/language/ru-RU/ru-RU.ini
!found installation/language/ru-RU/ru-RU.xml
!found installation/language/sd-PK/sd-PK.ini
!found installation/language/sd-PK/sd-PK.xml
!found installation/language/si-LK/index.htm
!found installation/language/si-LK/si-LK.ini
!found installation/language/si-LK/si-LK.xml
!found installation/language/sk-SK/sk-SK.ini
!found installation/language/sk-SK/sk-SK.xml
!found installation/language/sq-AL/sq-AL.ini
!found installation/language/sq-AL/sq-AL.xml
!found installation/language/sr-ME/sr-ME.ini
!found installation/language/sr-ME/sr-ME.xml
!found installation/language/sr-RS/index.htm
!found installation/language/sr-RS/sr-RS.ini
!found installation/language/sr-RS/sr-RS.xml
!found installation/language/sv-SE/index.htm
!found installation/language/sv-SE/sv-SE.ini
!found installation/language/sv-SE/sv-SE.xml
!found installation/language/sy-IQ/sy-IQ.ini
!found installation/language/sy-IQ/sy-IQ.xml
!found installation/language/ta-LK/ta-LK.ini
!found installation/language/ta-LK/ta-LK.xml
!found installation/language/th-TH/th-TH.ini
!found installation/language/th-TH/th-TH.xml
!found installation/language/tr-TR/index.htm
!found installation/language/tr-TR/tr-TR.ini
!found installation/language/tr-TR/tr-TR.xml
!found installation/language/uk-UA/uk-UA.ini
!found installation/language/uk-UA/uk-UA.xml
!found installation/language/vi-VN/vi-VN.ini
!found installation/language/vi-VN/vi-VN.xml
!found installation/language/zh-TW/zh-TW.ini
!found installation/language/zh-TW/zh-TW.xml
!found installation/sql/migration/index.html
!found installation/template/tmpl/error.html
!found installation/template/tmpl/index.html
!found installation/installer/installer.php
!found installation/template/css/index.html
!found installation/template/tmpl/page.html
!found installation/includes/framework.php
!found installation/includes/js/index.html
!found installation/template/js/index.html
!found installation/includes/bigdump.php
!found installation/includes/defines.php
!found installation/includes/js/xajax.js
!found installation/installer/helper.php
!found installation/installer/index.html
!found installation/sql/mysql/index.html
!found installation/sql/mysql/joomla.sql
!found installation/includes/index.html
!found installation/includes/router.php
!found installation/installer/jajax.php
!found installation/language/index.html
!found installation/template/index.html
!found installation/sql/mysql/diff.sql
!found installation/template/index.php
!found installation/migration.html
!found installation/sql/index.html
!found installation/localise.xml
!found installation/favicon.ico
!found installation/index.php
!found installation/gpl.html
!time configuration.php
!found installation/installer/views/install
!found installation/installer/models
!empty administrator/language/en-GB
!found installation/installer/views
!found installation/template/images
!found installation/includes/xajax
!found installation/language/ar-DZ
!found installation/language/be-BY
!found installation/language/bg-BG
!found installation/language/bn-IN
!found installation/language/bs-BA
!found installation/language/ca-ES
!found installation/language/cs-CZ
!found installation/language/da-DK
!found installation/language/de-AT
!found installation/language/de-CH
!found installation/language/de-DE
!found installation/language/el-GR
!found installation/language/en-GB
!found installation/language/en-US
!found installation/language/eo-XX
!found installation/language/es-ES
!found installation/language/eu-ES
!found installation/language/fa-IR
!found installation/language/fi-FI
!found installation/language/fr-FR
!found installation/language/he-IL
!found installation/language/hr-HR
!found installation/language/hu-HU
!found installation/language/it-IT
!found installation/language/ja-JP
!found installation/language/ko-KR
!found installation/language/lo-LA
!found installation/language/lt-LT
!found installation/language/lv-LV
!found installation/language/mk-MK
!found installation/language/nb-NO
!found installation/language/nl-NL
!found installation/language/pl-PL
!found installation/language/pt-BR
!found installation/language/pt-PT
!found installation/language/ro-RO
!found installation/language/ru-RU
!found installation/language/sd-PK
!found installation/language/si-LK
!found installation/language/sk-SK
!found installation/language/sq-AL
!found installation/language/sr-ME
!found installation/language/sr-RS
!found installation/language/sv-SE
!found installation/language/sy-IQ
!found installation/language/ta-LK
!found installation/language/th-TH
!found installation/language/tr-TR
!found installation/language/uk-UA
!found installation/language/vi-VN
!found installation/language/zh-TW
!found installation/sql/migration
!found installation/template/tmpl
!found installation/template/css
!empty administrator/components
!found installation/includes/js
!found installation/template/js
!empty administrator/language
!found installation/installer
!found installation/sql/mysql
!found installation/includes
!found installation/language
!found installation/template
!empty plugins/editors-xtd
!found installation/sql
!empty plugins/content
!empty images/stories
!empty administrator
!found installation
!empty plugins/user
!empty components
!empty templates
!empty plugins
!empty images
!empty tmp
--- /var/www/localhost/htdocs/joomla
*   Creating required directories
*   Linking in required files
*     This can take several minutes for larger apps
^o^ hiding /configuration.php
*   Files and directories installed
* One or more files have been config protected
* To complete your install, you need to run the following command(s):
* 
* CONFIG_PROTECT="/var/www/localhost/htdocs/joomla//" etc-update
* 
* Install completed - success



Expected Results:  
An upgrade process with fewer complaints, and no need to re-remove the 'installation' directory.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2009-01-26 18:30:38 UTC
Current behavior is all we have. Somebody needs to think how to add some additional features to webapp-config to handle this situations. Probably we could mark some directories as installation (to be removed) directories, so it will not issue any further messages. Also probably we could teach it not to revert that directories back in case upstream wants us to do that...