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.org site.
>>>>> 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