[xwiki-users] (no subject)
I've just installed xwiki 1.1.2.war on Tomcat connecting to a mysql. This works fine, but there's almost no content - editing webHome fails and so does access to "administration", so I need the default content. On: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstalling... It says that I'm supposed to use the import / export tool<http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport>, but the link to administration doesn't work in the installed wiki. How do I proceed? -- Morten Matras Udviklingschef GAMP Media og Blob Communication ApS Svendsagervej 42 5240 Odense NØ Tlf: 61711103 E: [email protected] T: 76 654321 W: www.blobcom.com E: [email protected]
May way there was simply to read the config and see that there's an admin password (for username "superadmin") that needs to be set there by removing the comment in front of the config line. After that, importing is easy. I don't know if there is a better method but that works. If this is the official method, it should be written on the page you notify, indeed. Hope it helps. paul Le 14 janv. 08 à 13:14, Morten Matras a écrit :
I've just installed xwiki 1.1.2.war on Tomcat connecting to a mysql. This works fine, but there's almost no content - editing webHome fails and so does access to "administration", so I need the default content.
On: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ Installation#HInstallingtheStandalonedistribution
It says that I'm supposed to use the import / export tool, but the link to administration doesn't work in the installed wiki.
How do I proceed?
-- Morten Matras Udviklingschef GAMP Media og Blob Communication ApS Svendsagervej 42 5240 Odense NØ Tlf: 61711103 E: [email protected]
T: 76 654321 W: www.blobcom.com E: [email protected] _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Jan 14, 2008, at 2:15 PM, Paul Libbrecht wrote:
May way there was simply to read the config and see that there's an admin password (for username "superadmin") that needs to be set there by removing the comment in front of the config line.
After that, importing is easy. I don't know if there is a better method but that works. If this is the official method, it should be written on the page you notify, indeed.
The official method is the one described in the installation guide. Morten, I think you're mixing Standalone installation and manual installation of the WAR. The standalone installation/distribution includes default content whereas the WAR is well simply a WAR and you'll need to import data afterwards. I suggest you start with the standalone distribution. It takes less than 5 minutes to get started once you've downloaded either the zip or the installer. -Vincent PS: Paul, there's no need to log in as superadmin since if your database is empty you'll have admin rights even when not logged in.
Le 14 janv. 08 à 13:14, Morten Matras a écrit :
I've just installed xwiki 1.1.2.war on Tomcat connecting to a mysql. This works fine, but there's almost no content - editing webHome fails and so does access to "administration", so I need the default content.
On: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstalling...
It says that I'm supposed to use the import / export tool, but the link to administration doesn't work in the installed wiki.
How do I proceed?
-- Morten Matras Udviklingschef GAMP Media og Blob Communication ApS Svendsagervej 42 5240 Odense NØ Tlf: 61711103 E: [email protected]
T: 76 654321 W: www.blobcom.com E: [email protected] _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
oh I forgot: Morten, please: 1) do not hijack existing threads 2) use a subject in your emails :) Thanks -Vincent On Jan 14, 2008, at 2:23 PM, Vincent Massol wrote:
On Jan 14, 2008, at 2:15 PM, Paul Libbrecht wrote:
May way there was simply to read the config and see that there's an admin password (for username "superadmin") that needs to be set there by removing the comment in front of the config line.
After that, importing is easy. I don't know if there is a better method but that works. If this is the official method, it should be written on the page you notify, indeed.
The official method is the one described in the installation guide.
Morten, I think you're mixing Standalone installation and manual installation of the WAR. The standalone installation/distribution includes default content whereas the WAR is well simply a WAR and you'll need to import data afterwards.
I suggest you start with the standalone distribution. It takes less than 5 minutes to get started once you've downloaded either the zip or the installer.
-Vincent
PS: Paul, there's no need to log in as superadmin since if your database is empty you'll have admin rights even when not logged in.
Le 14 janv. 08 à 13:14, Morten Matras a écrit :
I've just installed xwiki 1.1.2.war on Tomcat connecting to a mysql. This works fine, but there's almost no content - editing webHome fails and so does access to "administration", so I need the default content.
On: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstalling...
It says that I'm supposed to use the import / export tool, but the link to administration doesn't work in the installed wiki.
How do I proceed?
-- Morten Matras Udviklingschef GAMP Media og Blob Communication ApS Svendsagervej 42 5240 Odense NØ Tlf: 61711103 E: [email protected]
T: 76 654321 W: www.blobcom.com E: [email protected] _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Jan 14, 2008, at 2:24 PM, Vincent Massol wrote:
oh I forgot:
Morten, please:
1) do not hijack existing threads
hmm it's possible point 1) is caused by 2) and my reader aggregates all mails with the same topic together... -Vincent
2) use a subject in your emails
:)
Thanks -Vincent
On Jan 14, 2008, at 2:23 PM, Vincent Massol wrote:
On Jan 14, 2008, at 2:15 PM, Paul Libbrecht wrote:
May way there was simply to read the config and see that there's an admin password (for username "superadmin") that needs to be set there by removing the comment in front of the config line.
After that, importing is easy. I don't know if there is a better method but that works. If this is the official method, it should be written on the page you notify, indeed.
The official method is the one described in the installation guide.
Morten, I think you're mixing Standalone installation and manual installation of the WAR. The standalone installation/distribution includes default content whereas the WAR is well simply a WAR and you'll need to import data afterwards.
I suggest you start with the standalone distribution. It takes less than 5 minutes to get started once you've downloaded either the zip or the installer.
-Vincent
PS: Paul, there's no need to log in as superadmin since if your database is empty you'll have admin rights even when not logged in.
Le 14 janv. 08 à 13:14, Morten Matras a écrit :
I've just installed xwiki 1.1.2.war on Tomcat connecting to a mysql. This works fine, but there's almost no content - editing webHome fails and so does access to "administration", so I need the default content.
On: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstalling...
It says that I'm supposed to use the import / export tool, but the link to administration doesn't work in the installed wiki.
How do I proceed?
-- Morten Matras Udviklingschef GAMP Media og Blob Communication ApS Svendsagervej 42 5240 Odense NØ Tlf: 61711103 E: [email protected]
T: 76 654321 W: www.blobcom.com E: [email protected] _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Le 14 janv. 08 à 14:23, Vincent Massol a écrit :
On Jan 14, 2008, at 2:15 PM, Paul Libbrecht wrote:
May way there was simply to read the config and see that there's an admin password (for username "superadmin") that needs to be set there by removing the comment in front of the config line. The official method is the one described in the installation guide. [...] I suggest you start with the standalone distribution. It takes less than 5 minutes to get started once you've downloaded either the zip or the installer.
PS: Paul, there's no need to log in as superadmin since if your database is empty you'll have admin rights even when not logged in.
But the database gets filled right way, doesn't it ? So we loose admin rights fairly easily (eg. changing browsers). I did not really experience what you describe, maybe I changed browsers halfway, in doubt that Safari or OmniWeb was imperfectly supported. In all cases, how long should this admin right last ? The method seems slightly unsafe to my taste. I really prefer to take a stab at the config. Most other "easy to install platforms" nowadays have a kind of wizard for the first-time connection which even includes the config of the database connection. This is at least the case of Moodle and Drupal. I remember a friend forwarding me: http://www.lullabot.com/files/Drupal5Installing.mp4 I think it the eXo platform and Jahia are other examples with a configurator. Since it's a wizard, it's pretty clear that you should "hang on" (and not change browsers, for example!). Generally it concludes by trying to write its own configuration (which of course fails in some cases, then you're told to change the files yourself). I don't like installers in general but I feel that a configurator is rather a good thing except being yet another feature wish. paul PS: I believe I and Morten are not the only one to mistrust Jetty. It may be wrong, I agree... but that must be common. Hence the standalone version does not come as an option.
On Jan 14, 2008, at 3:01 PM, Paul Libbrecht wrote:
Le 14 janv. 08 à 14:23, Vincent Massol a écrit :
On Jan 14, 2008, at 2:15 PM, Paul Libbrecht wrote:
May way there was simply to read the config and see that there's an admin password (for username "superadmin") that needs to be set there by removing the comment in front of the config line. The official method is the one described in the installation guide. [...] I suggest you start with the standalone distribution. It takes less than 5 minutes to get started once you've downloaded either the zip or the installer.
PS: Paul, there's no need to log in as superadmin since if your database is empty you'll have admin rights even when not logged in.
But the database gets filled right way, doesn't it ?
Ok I wasn't precise enough. Since XWiki doesn't see security classes (like XWiki.XWikiRights) it sets itself into no security mode. it's only when you import those classes that suddenly it starts checking rights.
So we loose admin rights fairly easily (eg. changing browsers).
What? I don't understand what you're saying. What does this have to do with browsers? Only thing you may loose by changing browsers are the cookies but that's just a convenience you can always log in again with your user...
I did not really experience what you describe, maybe I changed browsers halfway, in doubt that Safari or OmniWeb was imperfectly supported.
In all cases, how long should this admin right last ? The method seems slightly unsafe to my taste. I really prefer to take a stab at the config.
That won't change anything at all. All you'd do by enabling the superadmin user is introduce a security hole. I think you don't understand what I'm saying :)
Most other "easy to install platforms" nowadays have a kind of wizard for the first-time connection which even includes the config of the database connection. This is at least the case of Moodle and Drupal. I remember a friend forwarding me: http://www.lullabot.com/files/Drupal5Installing.mp4 I think it the eXo platform and Jahia are other examples with a configurator.
Are you talking about something else now? I thought the topic of this email was about getting an "empty database" from Morten... Re the wizard, yes this is something planned. Right now we have the 2 ends of the spectrum: - standalone installs. Does everything and gives a fully working system in less than a 1 minute (it's just an unzip or a simple installer) - manual install (the WAR + config to set + DB to set up)
Since it's a wizard, it's pretty clear that you should "hang on" (and not change browsers, for example!). Generally it concludes by trying to write its own configuration (which of course fails in some cases, then you're told to change the files yourself).
I don't like installers in general but I feel that a configurator is rather a good thing except being yet another feature wish.
It's there in jira already...
paul
PS: I believe I and Morten are not the only one to mistrust Jetty. It may be wrong, I agree... but that must be common. Hence the standalone version does not come as an option.
<OT>Mistrust jetty that's the first time I hear this. It's so much better than Tomcat! :)</OT> Morten can choose whatever methods he wants to use but one thing he should NOT do is follow the standalone instructions if he's doing the "manual" install. That's all I was saying in my previous email... Thanks -Vincent
Le 14 janv. 08 à 15:18, Vincent Massol a écrit :
But the database gets filled right way, doesn't it ?
Ok I wasn't precise enough. Since XWiki doesn't see security classes (like XWiki.XWikiRights) it sets itself into no security mode. it's only when you import those classes that suddenly it starts checking rights.
Looks better.
So we loose admin rights fairly easily (eg. changing browsers). What? I don't understand what you're saying. What does this have to do with browsers? Only thing you may loose by changing browsers are the cookies but that's just a convenience you can always log in again with your user...
Erm... with which user since I have never logged-in yet ?
I did not really experience what you describe, maybe I changed browsers halfway, in doubt that Safari or OmniWeb was imperfectly supported. In all cases, how long should this admin right last ? The method seems slightly unsafe to my taste. I really prefer to take a stab at the config.
That won't change anything at all. All you'd do by enabling the superadmin user is introduce a security hole.
Except superadmin has all rights which others should be restricted to have fairly quickly. I think installation instructions should go as far as a reasonably safe wiki, e.g. where programming rights are limited to a handful of controlled users and public editing is clearly warned as a possibility. Now, you're starting to make me shiver that I might have no secured enough of my xwiki installations... and indeed I saw a friend editing velocity to my (bad) surprise.
I think you don't understand what I'm saying :)
I think I do.
Most other "easy to install platforms" nowadays have a kind of wizard for the first-time connection which even includes the config of the database connection. This is at least the case of Moodle and Drupal. I remember a friend forwarding me: http://www.lullabot.com/files/Drupal5Installing.mp4 I think it the eXo platform and Jahia are other examples with a configurator.
Are you talking about something else now? I thought the topic of this email was about getting an "empty database" from Morten...
To me this is related... under the same broad topic of "getting xwiki and bringing it to production state". I changed the subject ;-). paul
On Jan 14, 2008, at 3:28 PM, Paul Libbrecht wrote:
Le 14 janv. 08 à 15:18, Vincent Massol a écrit :
But the database gets filled right way, doesn't it ?
Ok I wasn't precise enough. Since XWiki doesn't see security classes (like XWiki.XWikiRights) it sets itself into no security mode. it's only when you import those classes that suddenly it starts checking rights.
Looks better.
So we loose admin rights fairly easily (eg. changing browsers). What? I don't understand what you're saying. What does this have to do with browsers? Only thing you may loose by changing browsers are the cookies but that's just a convenience you can always log in again with your user...
Erm... with which user since I have never logged-in yet ?
If you have an empty DB you don't need a user to log in to get admin rights as explained above.
I did not really experience what you describe, maybe I changed browsers halfway, in doubt that Safari or OmniWeb was imperfectly supported. In all cases, how long should this admin right last ? The method seems slightly unsafe to my taste. I really prefer to take a stab at the config.
That won't change anything at all. All you'd do by enabling the superadmin user is introduce a security hole.
Except superadmin has all rights which others should be restricted to have fairly quickly.
Actually I'm not sure if there's something you can do with superadmin that you cannot do with a user that has admin rights. Anyway we're talking about installing xwiki here and all I'm telling you is that you don't need that extra step of enabling superadmin for that and in addition you won't forget and disabling it later on if you don't intend to use it. [snip] -Vincent
participants (3)
-
Morten Matras -
Paul Libbrecht -
Vincent Massol