[WEB/ADMIN] SpaceBukkit Beta 1.2 - Web Administration the awesome way!

Discussion in 'Bukkit Tools' started by SpaceCP, Feb 3, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Antariano

    Thanks for your opinion. please do note that this is still beta, and we are working for free to get this thing done.
    It is the first version of our product, it's BETA. We're fixing bugs, we're extending the compatibility.
    Unfortunately it's very hard to make the same product work under different operating systems, distributions
    and webservers.

    About the interface... well, de gustibus non est desputandum, if you know what I mean.
    I invite you to look out for our WIP 2.0 release, which will include a complete rework of the GUI :)

    I understand your complaints, but I ask you to give us the time to fix it. This is a great adventure, and it just has started!


    Could I have a list of your plugins please?

    Yep, sorry about that, it's my fault because I used an apache-only function.
    You can manually comment the lines responsible for this error out in app/controllers/installcontroller.php (by adding /* and */)
    lines 122 - 140
    Code:
          //  ADD THIS TO UNCOMMENT   
    /*
        if  (in_array  ('mod_rewrite', apache_get_modules()))
          {
     
            $sting = '<p class="success">'.__('mod_rewrite is enabled').'</p>';
            $this->set('php_rewrite', $sting);
     
          }
          else
          {
     
            $sting = '<p class="failed">'.__('mod_rewrite is not enabled').'</p>';
            $this->set('php_rewrite', $sting);
     
          $this->set('result', '<p class="failed">'.__('You didn\'t pass all tests. Please go fix all issues to continue').'</p>');
          $this->set('result_bool', 0);
          }
        }
    //REMEMBER THE CLOSING TAGS DOWN HERE
    */
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 29, 2015
  2. Offline

    NeatMonster

    <Removed.>
     
  3. Offline

    CromAr

    Sure ;)
    Its Cenotaph, SpaceBukkit, and MinecraftRKitPlugin

    thats all ^^

    Edit: Even without Cenotaph the Error is still there

    Edit 2: Don´t know excactly, but can it be an issue cause of this ?
    Code:
     [SpaceBukkit] Database contains 2654 plugins.
    First attempt at checking for presence of Bukkit RTK plugin...
    Bukkit RTK plugin found! Enabling heartbeats...
    me.neatmonster.spaceapi.actions.InvalidArgumentsException: 1 arguments expected, not 0 for method restart.
            at me.neatmonster.spaceapi.actions.ActionsManager.execute(ActionsManager.java:82)
            at me.neatmonster.spacertk.PanelListener.interpret(PanelListener.java:48)
            at me.neatmonster.spacertk.PanelListener.run(PanelListener.java:127)
    
     
  4. Offline

    NeatMonster

    On which tab is the issue happening?
     
  5. Offline

    faxe123

    Hello Antariano,

    Ok i did it. Now there is another error. Here is the link: http://crancraft.de/spacebukkit/install
    HTML:
    [B]Parse error[/B]: syntax error, unexpected T_PUBLIC in [B]/mnt/webg/c2/50/52922850/htdocs/forum/spacebukkit/app/Controller/InstallController.php[/B] on line [B]144[/B]
    Here is my PhP Info: http://crancraft.de/test.php

    I did exactly what you told me.

    Thanks for your help!
     
  6. Offline

    CromAr

    Its when i click on plugins directly
     
  7. Offline

    Antariano

    Sorry, my fault, the last "}" needs to be still there lol.
     
  8. Offline

    NeatMonster

    Antariano

    I thought you had fixed it.
     
  9. Offline

    CromAr

    Hm .. ok i´ll do an complete reinstall, as i don´t want you guys to have any trouble by evtl. my fault ;)
    I´ll report in a few minutes ;)
     
  10. Offline

    nicquehen

    1) Hello please find below some problem i have :

    1) I have two server / two user
    1 super user
    1 user test -->owner of the server 2 and viewer for the server1

    I have no problem with the super user.

    But When i try to login with the user test with this user i have that


    util.png


    2)I'm not able to delete the shedule task i add (test with chrome and ie)

    (there are two simple task command say test every minutes)

    3) I'm not able to see and load the avatar form my user
    (i set a recursive chmod 644 on the folder 3d... )

    For this time i don't find another i will keep you advice if i found something :p


    To finish than i say to Neatmonster in pm you have an incompatibility with Faction 1.6.2 plugins (space bukkit don't load correctly)
     
  11. Offline

    Oscarius

    Just posting to say I have the same issue (only tried with a Moderator user). Refreshing the page helps.
     
    nicquehen likes this.
  12. Offline

    CromAr

    Made a complete reinstall of spacebukkit, but still the same Problem ... As soon as i click on "Plugins" there is the Json Error ...

    When i click on restart, this comes in console:
    Code:
    me.neatmonster.spaceapi.actions.InvalidArgumentsException: 1 arguments expected, not 0 for method restart.
            at me.neatmonster.spaceapi.actions.ActionsManager.execute(ActionsManager.java:82)
            at me.neatmonster.spacertk.PanelListener.interpret(PanelListener.java:48)
            at me.neatmonster.spacertk.PanelListener.run(PanelListener.java:127)
    
    When i click on Reload, this comes:
    Code:
    15:45:25 [INFO] [SpaceBukkit] Unloading SpaceBukkit v1.0.
    15:45:25 [INFO] ----------------------------------------------------------
    15:45:25 [INFO] |            SpaceBukkit is now disabled!              |
    15:45:25 [INFO] ----------------------------------------------------------
    15:45:25 [SEVERE] java.net.SocketException: Socket closed
    15:45:25 [SEVERE]      at java.net.PlainSocketImpl.socketAccept(Native Method)
    15:45:25 [SEVERE]      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
    15:45:25 [SEVERE]      at java.net.ServerSocket.implAccept(ServerSocket.java:462)
    15:45:25 [INFO] [RemoteToolkitPlugin] Unloading RemoteToolkitPlugin v0.6.
    15:45:25 [INFO] Remote Toolkit Plugin V0.6 disabled!
    15:45:25 [SEVERE]      at java.net.ServerSocket.accept(ServerSocket.java:430)
    15:45:25 [SEVERE]      at me.neatmonster.spacebukkit.PanelListener.run(PanelListener.java:86)
    15:45:25 [INFO] [SpaceBukkit] Loading SpaceBukkit v1.0.
    15:45:25 [INFO] ----------------------------------------------------------
    15:45:25 [INFO] |        SpaceBukkit version 1.0 is now enabled!        |
    15:45:25 [INFO] ----------------------------------------------------------
    15:45:25 [INFO] [RemoteToolkitPlugin] Loading RemoteToolkitPlugin v0.6.
    15:45:25 [INFO] Memory max: 1029046272 bytes
    15:45:25 [INFO] Memory total: 1029046272 bytes
    15:45:25 [INFO] Remote Toolkit Plugin V0.6 enabled!
    15:45:25 [INFO] Server permissions file permissions.yml is empty, ignoring it
    15:45:25 [INFO] [SpaceBukkit] Database contains 2654 plugins.
    
    BTW: it´s not really that urgent for me, just letting you guys know ;)
     
  13. Offline

    SirPole

    Hi, I keep getting this error anytime I try to do something, only login to dashboard works:
    [​IMG]
    Running Windows 7 (oh boy :( ) and Wamp webserver.
    Did I something wrong or forgot to do something? Thanks in advance...
    If this is going to work for me, I'll totally donate when I'll have money to spare! :)
     
  14. Also people, this is a BETA, this is not a final version and especially something that you pay for were you would want some quality, so don't expect a high-class product that runs on everything everytime everywhere perfectly :p
    The Script I wrote handles pretty much everything for you, if something is wrong with your system it says what and fixes it if possible. It's still getting massively improved since there are still some things uncovered, so expect something that does absolutely everything for you, were you will only have to type in "bash install.sh" to install SpaceBukkit ;)
    So saying "this is stupid, way too complicated" or similar won't help us at all to be honest. If you have problems with the installation, don't know what to do or it's throwing errors, just ask us and give us some details and we will do our best to solve the problem ;)
    Also I will install some VMs so expect some more troubleshooting soon!
     
  15. Offline

    nicquehen

    SirPole @ A short while ago i have the same probleme i delete some plugins in conflict with space bukkit (in my case is Faction and perhaps minequery)
     
  16. Offline

    NeatMonster

    If you're having the following issue, please update to the latest developement builds.
    Show Spoiler
    Code:
    15:47:15 [SEVERE] Error occurred while enabling SpaceBukkit v1.0 (Is it up to da
    te?): com/google/gson/GsonBuilder
    java.lang.NoClassDefFoundError: com/google/gson/GsonBuilder
            at java.lang.Class.getDeclaredMethods0(Native Method)
            at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
            at java.lang.Class.getDeclaredMethod(Unknown Source)
            at me.neatmonster.spacebukkit.plugins.PluginsManager.getJAR(PluginsManag
    er.java:34)
            at me.neatmonster.spacebukkit.plugins.PluginsManager.<init>(PluginsManag
    er.java:53)
            at me.neatmonster.spacebukkit.SpaceBukkit.onEnable(SpaceBukkit.java:78)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:1059)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174
    )
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:444)
            at org.bukkit.Bukkit.reload(Bukkit.java:188)
            at me.neatmonster.spacebukkit.actions.ServerActions$1.run(ServerActions.
    java:465)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:502)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.ClassNotFoundException: com.google.gson.GsonBuilder
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 18 more
     
  17. Offline

    greatman

    Still having it D=

    Plugin list (open)
    15:58:46 [INFO] Plugins: MultiInv, Minequery, WorldEdit, VoxelSniper, SpamGuard, Spout, CommandShops, LogBlockQuestioner, Vault, PermissionsEx, Multiverse-Core, CombatTag, OKB3, WorldGuard, RemoteToolkitPlugin, SignColours, ModTRS, MCSL, iConomy, Register, Permissions, SpaceBukkit, Donation, Modifyworld, ChopTree, Fire Tools, Votifier, Admin Chat, MobArena, MobDisguise, MoveCraft, CleanroomGenerator, hatMe, Essentials, MobRider, MyPlot, Statistician, WebAuction, EssentialsSpawn, Multiverse-Portals, SpoutWallet, VirtualChest, LogBlock, LWC, dynmap, EssentialsChat, Factions, VanishNoPacket
     
  18. Offline

    PrinceCharger

    Hey guys, wanted to say congrats on going to open beta.

    Anyways, I'm having trouble with module rewriting. I'm using Abyss, not Apache, and URL Rewriting works a heck of a lot differently. Can someone explain (in a noob-friendly way) how to set this up?
     
  19. Offline

    Banjix

    Missing Controller

    Error: Index.phpController could not be found.
    Error: Create the class Index.phpController below in file: app/Controller/Index.phpController.php
    <?php
    class Index.phpController extends AppController {

    }

    Notice: If you want to customize this error message, create app/View/Errors/missing_controller.ctp
    Stack Trace

    #0 /var/www/spacebukkit/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
    #1 /var/www/spacebukkit/index.php(40): require('/var/www/spaceb...')
    #2 {main}


    Same issue like derxxf! :(
     
  20. Offline

    nicquehen

    I try to refresh or use another browser it still present :)
     
  21. I hope you are quite familiar with Abyss since I am not :D
    You will need to create a new rewrite rule like this:
    Virtual Path Regular Expression:( .*)
    Redirect to: app/webroot/$1
    Next action: Stop Matching

    That should do the trick ;)
     
  22. Offline

    NeatMonster

    Are you sure you updated SpaceBukkit to #22+? Are you sure it's exactly the same issue? I mean are the lines numbers exactly the same?
     
  23. Offline

    greatman

    Using #22. Here's the error log:

    Code:
    2012-02-04 17:44:17 [SEVERE] Error occurred while enabling SpaceBukkit v1.0 (Is it up to date?): com/google/gson/GsonBuilder
    java.lang.NoClassDefFoundError: com/google/gson/GsonBuilder
            at java.lang.Class.getDeclaredMethods0(Native Method)
            at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
            at java.lang.Class.getDeclaredMethod(Unknown Source)
            at me.neatmonster.spacebukkit.plugins.PluginsManager.getJAR(PluginsManager.java:32)
            at me.neatmonster.spacebukkit.plugins.PluginsManager.<init>(PluginsManager.java:52)
            at me.neatmonster.spacebukkit.SpaceBukkit.onEnable(SpaceBukkit.java:78)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.ClassNotFoundException: com.google.gson.GsonBuilder
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 16 more
    
     
  24. I just tried installing and got that error, checked the thread, updated, and I still get the error. http://pastebin.com/rEc1QGtr is my pastebin of my startup, in case you need to see order of plugin load or anything,
    this is my traceback after updating to the dev builds. (open)
    Code:
    [SEVERE] Error occurred while enabling SpaceBukkit v1.0 (Is it up to date?): com/google/gson/GsonBuilder
    java.lang.NoClassDefFoundError: com/google/gson/GsonBuilder
            at java.lang.Class.getDeclaredMethods0(Native Method)
            at java.lang.Class.privateGetDeclaredMethods(Class.java:2444)
            at java.lang.Class.getDeclaredMethod(Class.java:1952)
            at me.neatmonster.spacebukkit.plugins.PluginsManager.getJAR(PluginsManager.java:32)
            at me.neatmonster.spacebukkit.plugins.PluginsManager.<init>(PluginsManager.java:52)
            at me.neatmonster.spacebukkit.SpaceBukkit.onEnable(SpaceBukkit.java:78)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.ClassNotFoundException: com.google.gson.GsonBuilder
            at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
            ... 16 more
    
    Despite the error I ran a test install of the web stuff. Sure enough I don't have MySQL. But I do have a PostgreSQL database on the system. I suppose I could either figure out how to set up the Postgre database manually or install MySQL, but any chance on a fix for that in the autoinstall script for whenever we figure out this little bug? My server's running on gentoo.

    EDIT: My conflicting plugin (I hate this plugin as much as I love it) was CreativeGates. Olaf's not well known for updating either. /grump. /sadness.
     
  25. Offline

    NeatMonster

    Thank you guys, fixing this issue is my main priority!
     
  26. Offline

    ChuckBartowski

    NeatMonster ill make a thread detailing the issue with scheduler soon. :)
    EDIT: Well i looked further in to it, it actually does seem to be working. Just when first adding the schedule, it says it failed, and then when trying to hit Run Now it dumps errors out at me. Otherwise, after adding the schedule and reloading the server, it seems to work fine.
     
  27. Slightly alternate issue that might not be supported!

    I run Minecraft under a dedicated user on my system. So I thought Spacebukkit would be nice to put in his home directory's public_html directory under the spacebukkit directory. Why? Because stupidly unnecessarily longer URLs make me happy.

    Sue me.

    However, when attempting to actually do this, I ran into two issues in a row. First it told me that Options weren't allowed here from the .htaccess file. I figured that out okay. But now I hit the second issue: when going to <mywebaddress>/~minecraft/spacebukkit/ I get a 'Not Found' error. 'The requested URL /home/minecraft/public_html/spacebukkit/app/webroot/ was not found on this server.' Except of course it does. And I can even go there on the server. And if I go to that page specifically I get 'The requested URL /home/minecraft/public_html/spacebukkit/app/webroot/install was not found on this server.' I can keep bouncing around that way getting Not Found errors, but I think you get the idea. To confirm this had to do with -- something -- on the users public_html directory, I installed this under my regular, non-user web tree and I can see Antariano's welcome screen under the corresponding URL immediately.

    And in the end this is possibly all my configurational failure. I'm on Apache2. And I'd still love to be able to use my existing PostgreSQL instead of SQLlite or adding in MySQL once I get this all more sane and hammered down.

    I can tell we're going to be great friends! [creeper]

    EDIT: Interesting! Your installer script does a check for Postgres but gentoo has its directory listed with the version string. My apologies for thinking it wasn't being handled at all, gentoo's just being Special again.
     
  28. Offline

    Antariano

  29. Offline

    C0r3y

    phew thank god no more mcmyadmin lol
     
  30. Your Problem is that you don't have the rewrite module enabled/installed or that you didn't set AllowOverrride for the SB folder to All ;)
    Open /etc/apache2/sites-enabled/000-default
    Replace "AllowOverride None" with "AllowOverride All" inside the <Directory /var/www>-Tag
    Execute a2enmod rewrite
    Then execute service apache2 reload.

    My script checks for PostgreSQL since it's pretty popular and quite good, but I don't know if it will work with SB, you will need to try :/
     
Thread Status:
Not open for further replies.

Share This Page