I knew that, Thomas. I just said that some may click the wrong button... If
you click "Cancel", there's not way you get the DW again, right?
IMO, after a restart, if the DB is still empty, it would be nice to have
Distribution Wizard showing up again.
2013/7/5 Thomas Mortagne <thomas.mortagne(a)xwiki.com>
On Fri, Jul 5, 2013 at 9:05 AM, Vincent Massol
<vincent(a)massol.net> wrote:
On Jul 5, 2013, at 8:54 AM, Thomas Mortagne <thomas.mortagne(a)xwiki.com>
wrote:
> On Thu, Jul 4, 2013 at 10:03 PM, Guillaume Fenollar
> <guillaume.fenollar(a)xwiki.com> wrote:
>> Hi,
>>
>> If I understand correctly, this should happen (= no DW, no data into
DB)
>> only if the first visitor of the wiki
clicked on "Cancel" at wiki
>> installation through DW, right?
>> I would prefer not to vote for any solution that ask for a xwiki.cfg
>> modification! IMO, having a new user to edit this file is like a
regression
>> in the ease of use.
>>
>> Why don't we force showing the Distribution Wizard at XWiki's startup
( &&
>> only if DB is empty)? If one wants to
install a xar manually, he still
can
>> click on cancel, and import the .xar with
superadmin, but let's face
it :
it will be a very low amount of users.
Again you do get the DW the first time, it always worked like this.
Please guys try things before stating unexisting issues.
ok cool I didn't know that. Sorry about sending a false proposal. So I
guess
it means there's already a check for empty DB since when the DB is
not empty the DW only appears when you're logged in with a user with admin
rights.
So now what remains how is to understand Pablo's problem and the issue
Danilo
said he faced when installing XWiki too.
Pablo was using the wrong login for standard Admin user ("admin"
instead of "Admin").
Danilo can you explain precisely what you did and what problem you
faced? Because
if you follow the normal procedure here's what happens:
* you install XWiki
* you start XWiki
* the distribution wizard appears
* you follow the wizard
* the wizard installs all the pages including an admin user (Admin/admin)
* when the wizard exists you can log in using Admin/admin
Now, if you cancel or skip the distribution wizard you'll have an empty
wiki
and no admin user installed.
Thanks
-Vincent
>> 2013/7/4 Danilo Amaral de Oliveira <danilo.oliveira(a)energisa.com.br>
>>
>>> Hello Vincent,
>>>
>>> As new user, I faced this problem... I have installed the empty wiki
and
>>> it wasn't very easy to understand
how to use the super admin. There
was not
>>> a easy documentation about the super
admin account, so that I put an
advice
>>> in the xwiki documentation. But I
guess that the solution 1 is enough
to
>>> solve the problem if you know that
has a super admin and how to turn
on its.
>>>
>>> See you.
>>>
>>> Danilo Amaral de Oliveira
>>> Engenheiro Trainee
>>> GerĂȘncia Corporativa de Infraestrutura de TI
>>>
>>> Minas Gerais
>>> (0xx32) 9111-6867
>>>
>>>
>>> -----Mensagem original-----
>>> De: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Em nome
de
>>> Vincent Massol
>>> Enviada em: quinta-feira, 4 de julho de 2013 15:49
>>> Para: XWiki Users
>>> Assunto: Re: [xwiki-users] [Proposal] Improving first-time installs of
>>> XWiki (was Re: RES: Problems with login-xwiki + ubuntu 12.04)
>>>
>>>
>>> On Jul 4, 2013, at 8:43 PM, Thomas Mortagne <
thomas.mortagne(a)xwiki.com>
>>> wrote:
>>>
>>>> I really don't understand what you are talking about here.
>>>>
>>>> When the database is empty you get Distribution Wizard which install
>>>> you default UI.
>>>
>>> Only if you're logged in!
>>>
>>> And when you install the WAR your DB is empty and there's no user so
you
>>> have to edit xwiki.cfg and set the
superadmin user.
>>>
>>> That's the problem everyone is having now in 5.x when they install
using
>>> the WAR.
>>>
>>> Thanks
>>> -Vincent
>>>
>>>>
>>>> On Thu, Jul 4, 2013 at 8:36 PM, Vincent Massol
<vincent(a)massol.net>
>>> wrote:
>>>>> It's been several emails that I see on this topic from users
>>> unfortunately. I think It's almost impossible for a new user to
understand
>>> by themselves that they have to edit
xwik.cfg's superadmin password
and
>>> restart their wiki. Thus I believe we
need to improve the XWiki
install
>>> process. I'm proposing 2
solutions.
>>>>>
>>>>> Solution 1
>>>>> ========
>>>>>
>>>>> I'm proposing something very simple for now:
>>>>> * If the database is empty and no user is logged in then always
display
>>> an information box when accessing the
first page of the wiki in view
mode.
>>> If we restart the wiki then again the
first page accessed in view
mode will
>>> display the information (if the user
is not logged in).
>>>>> * In this information box, we explain that the admin has to edit the
>>> xwiki.cfg file, set a password and restart XWiki and that he'll then
get a
>>> wizard to install default wiki pages
and extensions.
>>>>>
>>>>> Solution 2
>>>>> ========
>>>>>
>>>>> In the future, it would be nice to have a new step in the
>>>>> Distribution Wizard so that if the database is empty then the
>>>>> Distribution Wizard appears and asks the user to select a password
>>>>> for the superadmin user, persists it and logs the user as superadmin
>>>>> so that he goes to step 2 of the Distribution Wizard
>>>>>
>>>>> Or maybe we should go directly for solution 2?
>>>>>
>>>>> WDYT?
>>>>>
>>>>> Thanks
>>>>> -Vincent
>>>>>
>>>>> On Jul 4, 2013, at 7:27 PM, Danilo Amaral de Oliveira <
>>> danilo.oliveira(a)energisa.com.br> wrote:
>>>>>
>>>>>> Hello Pablo,
>>>>>>
>>>>>> I guess that you have installed the empty xwiki. I faced this
problem
>>> too.
>>>>>>
>>>>>> Try to edit the xwiki.cfg document inside the Web-Inf folder and
>>> activate the superadmin user. Take of the # comment of the line, the
>>> default pass is "system".
>>>>>> After that, login and try to import the default XAR archive to
the
>>> xwiki. You can download the default xar archive from the xwiki.orgsite.
>>>>>> Then you will can login with default Admin user.
>>>>>>
>>>>>> Don't forget to comment again the superadmin user.
>>>>>>
>>>>>> Saludos,
>>>>>>
>>>>>> Danilo Amaral de Oliveira
>>>>>> Engenheiro Trainee
>>>>>> GerĂȘncia Corporativa de Infraestrutura de TI
>>>>>>
>>>>>> Minas Gerais
>>>>>> (0xx32) 9111-6867
>>>>>>
>>>>>> -----Mensagem original-----
>>>>>> De: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Em
nome
>>>>> de pablocabrol Enviada em: quinta-feira, 4 de julho de 2013 11:31
>>>>> Para: users(a)xwiki.org
>>>>> Assunto: Re: [xwiki-users] Problems with login-xwiki + ubuntu 12.04
>>>>>
>>>>> We are using Admin /admin and is not working, thanks.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users