Re: [xwiki-users] Acces denied when upgrade
See http://jira.xwiki.org/browse/XE-1396. On Thu, Jun 5, 2014 at 11:57 AM, Oleksii Krykun wrote: > This is a bug. > I temporarily remove root password to finish upgrade. But I'm not sure this > is a best solution. > > 05.06.2014 12:47, barbeliboba >>Hello, >> >> I'm upgrading xwiki from 5.4.4 to 6.0.1 and i've got this (yes it's in >> french) : >> >> Lecture des listes de paquets... Fait >> Construction de l'arbre des dépendances >> Lecture des informations d'état... Fait >> 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour. >> 2 partiellement installés ou enlevés. >> Après cette opération, 0 o d'espace disque supplémentaires seront utilisés. >> Souhaitez-vous continuer [O/n] ? O >> Paramétrage de xwiki-enterprise-mysql-common (6.0.1) ... >> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf >> dbconfig-common: flushing administrative password >> *ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using >> password: NO)* >> dpkg: erreur de traitement de xwiki-enterprise-mysql-common (--configure) : >> le sous-processus script post-installation installé a retourné une erreur >> de sortie d'état 1 >> dpkg: des problèmes de dépendances empêchent la configuration de >> xwiki-enterprise-tomcat7-mysql : >> xwiki-enterprise-tomcat7-mysql dépend de xwiki-enterprise-mysql-common (= >> 6.0.1) ; cependant : >> Le paquet xwiki-enterprise-mysql-common n'est pas encore configuré. >> >> dpkg: erreur de traitement de xwiki-enterprise-tomcat7-mysql (--configure) : >> problèmes de dépendances - laissé non configuré >> Des erreurs ont été rencontrées pendant l'exécution : >> xwiki-enterprise-mysql-common >> xwiki-enterprise-tomcat7-mysql >> E: Sub-process /usr/bin/dpkg returned an error code (1) >> >> >> Where do I configure this access ? >> When i look into etc/dbconfig-common/xwiki.conf : >> >> [...] >> # don't change this value unless you know for certain that this >> # package supports multiple database types >> dbc_dbtype='mysql' >> >> # dbc_dbuser: database user >> # the name of the user who we will use to connect to the database. >> dbc_dbuser='myuser' >> >> # dbc_dbpass: database user password >> # the password to use with the above username when connecting >> # to a database, if one is required >> dbc_dbpass='mypassword' >> >> # dbc_dbserver: database host. >> # leave unset to use localhost (or a more efficient local method >> # if it exists). >> dbc_dbserver='' >> >> # dbc_dbport: remote database port >> # leave unset to use the default. only applicable if you are >> # using a remote database. >> dbc_dbport='' >> >> # dbc_dbname: name of database >> # this is the name of your application's database. >> dbc_dbname='xwiki' >> >> # dbc_dbadmin: name of the administrative user >> # this is the administrative user that is used to create all of the >> above >> *dbc_dbadmin='root'* >> >> # dbc_basepath: base directory to hold database files >> # leave unset to use the default. only applicable if you are >> [...] >> >> Is it dbc_dbadmin ? because i dont see any dbc_admin_password or else... >> >> Can you help me ? >> Thank you very much. >> >> >> >> -- >> View this message in context: >> http://xwiki.475771.n2.nabble.com/Acces-denied-when-upgrade-tp7590906.html >> Sent from the XWiki- Users mailing list archive at Nabble.com. >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Acces denied when upgrade
This is a bug. I temporarily remove root password to finish upgrade. But I'm not sure this is a best solution. 05.06.2014 12:47, barbeliboba >Hello, > > I'm upgrading xwiki from 5.4.4 to 6.0.1 and i've got this (yes it's in > french) : > > Lecture des listes de paquets... Fait > Construction de l'arbre des dépendances > Lecture des informations d'état... Fait > 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour. > 2 partiellement installés ou enlevés. > Après cette opération, 0 o d'espace disque supplémentaires seront utilisés. > Souhaitez-vous continuer [O/n] ? O > Paramétrage de xwiki-enterprise-mysql-common (6.0.1) ... > dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf > dbconfig-common: flushing administrative password > *ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using > password: NO)* > dpkg: erreur de traitement de xwiki-enterprise-mysql-common (--configure) : > le sous-processus script post-installation installé a retourné une erreur > de sortie d'état 1 > dpkg: des problèmes de dépendances empêchent la configuration de > xwiki-enterprise-tomcat7-mysql : > xwiki-enterprise-tomcat7-mysql dépend de xwiki-enterprise-mysql-common (= > 6.0.1) ; cependant : > Le paquet xwiki-enterprise-mysql-common n'est pas encore configuré. > > dpkg: erreur de traitement de xwiki-enterprise-tomcat7-mysql (--configure) : > problèmes de dépendances - laissé non configuré > Des erreurs ont été rencontrées pendant l'exécution : > xwiki-enterprise-mysql-common > xwiki-enterprise-tomcat7-mysql > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > Where do I configure this access ? > When i look into etc/dbconfig-common/xwiki.conf : > > [...] > # don't change this value unless you know for certain that this > # package supports multiple database types > dbc_dbtype='mysql' > > # dbc_dbuser: database user > # the name of the user who we will use to connect to the database. > dbc_dbuser='myuser' > > # dbc_dbpass: database user password > # the password to use with the above username when connecting > # to a database, if one is required > dbc_dbpass='mypassword' > > # dbc_dbserver: database host. > # leave unset to use localhost (or a more efficient local method > # if it exists). > dbc_dbserver='' > > # dbc_dbport: remote database port > # leave unset to use the default. only applicable if you are > # using a remote database. > dbc_dbport='' > > # dbc_dbname: name of database > # this is the name of your application's database. > dbc_dbname='xwiki' > > # dbc_dbadmin: name of the administrative user > # this is the administrative user that is used to create all of the > above > *dbc_dbadmin='root'* > > # dbc_basepath: base directory to hold database files > # leave unset to use the default. only applicable if you are > [...] > > Is it dbc_dbadmin ? because i dont see any dbc_admin_password or else... > > Can you help me ? > Thank you very much. > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Acces-denied-when-upgrade-tp7590906.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Acces denied when upgrade
Hello, I'm upgrading xwiki from 5.4.4 to 6.0.1 and i've got this (yes it's in french) : Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour. 2 partiellement installés ou enlevés. Après cette opération, 0 o d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer [O/n] ? O Paramétrage de xwiki-enterprise-mysql-common (6.0.1) ... dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf dbconfig-common: flushing administrative password *ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)* dpkg: erreur de traitement de xwiki-enterprise-mysql-common (--configure) : le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1 dpkg: des problèmes de dépendances empêchent la configuration de xwiki-enterprise-tomcat7-mysql : xwiki-enterprise-tomcat7-mysql dépend de xwiki-enterprise-mysql-common (= 6.0.1) ; cependant : Le paquet xwiki-enterprise-mysql-common n'est pas encore configuré. dpkg: erreur de traitement de xwiki-enterprise-tomcat7-mysql (--configure) : problèmes de dépendances - laissé non configuré Des erreurs ont été rencontrées pendant l'exécution : xwiki-enterprise-mysql-common xwiki-enterprise-tomcat7-mysql E: Sub-process /usr/bin/dpkg returned an error code (1) Where do I configure this access ? When i look into etc/dbconfig-common/xwiki.conf : [...] # don't change this value unless you know for certain that this # package supports multiple database types dbc_dbtype='mysql' # dbc_dbuser: database user # the name of the user who we will use to connect to the database. dbc_dbuser='myuser' # dbc_dbpass: database user password # the password to use with the above username when connecting # to a database, if one is required dbc_dbpass='mypassword' # dbc_dbserver: database host. # leave unset to use localhost (or a more efficient local method # if it exists). dbc_dbserver='' # dbc_dbport: remote database port # leave unset to use the default. only applicable if you are # using a remote database. dbc_dbport='' # dbc_dbname: name of database # this is the name of your application's database. dbc_dbname='xwiki' # dbc_dbadmin: name of the administrative user # this is the administrative user that is used to create all of the above *dbc_dbadmin='root'* # dbc_basepath: base directory to hold database files # leave unset to use the default. only applicable if you are [...] Is it dbc_dbadmin ? because i dont see any dbc_admin_password or else... Can you help me ? Thank you very much. -- View this message in context: http://xwiki.475771.n2.nabble.com/Acces-denied-when-upgrade-tp7590906.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users