PlaneShift
Support => Linux Specific Issues => Topic started by: Joshed Delerer on September 02, 2008, 06:40:34 pm
-
psupdater wants root access but when i give it still says it requires root access, ive tried both su and sudo. is there a possible way to fix this?
-
have you installed the full game or just downloaded the updater?
-
full game
-
As a non-Ubuntu user: what exactly is the error message and what does ls -l say about the updater files?
Sen
-
As a non-Ubuntu user: what exactly is the error message and what does ls -l say about the updater files?
Sen
omega@omega-desktop:~$ su
Password:
root@omega-desktop:/home/omega# cd /home/omega/Desktop/untitled
root@omega-desktop:/home/omega/Desktop/untitled# chmod -x psupdater.bin
root@omega-desktop:/home/omega/Desktop/untitled# ./psupdater.bin
PlaneShift Updater Version 5 for linux32.
Checking for updates:
This program requires admin/root or write privileges to run. Please restart the program with these.
In windows, this means right clicking the Updater shortcut and selecting "Run as administrator".
For everyone else, login as the root user. If you don't have root access, contact someone who does and ask them nicely to run the updater!
Updater finished, press enter to exit.
and it doesnt matter if i put -l after or not, its still the same thing, or do you mean "-|"
-
root@omega-desktop:/home/omega/Desktop/untitled# chmod -x psupdater.bin
Why that? Shouldn't the updater script have execution rights? When I take the executable bit from my psupdater.bin and the try to run it, it doesn't work too. But after a "chmod +x psupdater.bin" it works again. But I use a 64 bit gentoo, so maybe there is something about ubuntu I don't know....
-
i set it like that just for the extra security from n00bs using my computer and breaking it
-
Sorry, only guessing now....
The updater quits while checking if new updates are available. So do you have anything configured that disallows internet access for applications of the user root? You could try to install the game local as a normal user (somewhere in the home directory, but from your logs I guess you did that already). This user should be able to update planeshift without root privileges. Maybe check what user, group and permissions you set for PS during the installation. But I fear all I write here won't help you because root should always be able to update PS....
-
Sorry, only guessing now....
The updater quits while checking if new updates are available. So do you have anything configured that disallows internet access for applications of the user root? You could try to install the game local as a normal user (somewhere in the home directory, but from your logs I guess you did that already). This user should be able to update planeshift without root privileges. Maybe check what user, group and permissions you set for PS during the installation. But I fear all I write here won't help you because root should always be able to update PS....
ive actually tried that, i havent found anything that disallows, nor have i set anything to do so. ive installed it as root same thing, uninstalled, reinstalled as localuser and same thing
edit: Maybe you coudl find something in it that im missing, do you have a spare computer laying aroud that you could run a livecd of Ubuntu on and check out the settings and such, its nice to have a second pair of eyes especially in something as complex and powerful as Linux
EDIT2: OOHHHH what ports do the updater and client use? maybe that could be the issue..
-
Try to use psupdater instead of psupdater.bin *thinks there was something....*
-
Try to use psupdater instead of psupdater.bin *thinks there was something....*
root@omega-desktop:/home/omega/Desktop/untitled# ./psupdater
PlaneShift Updater Version 5 for linux32.
Checking for updates:
This program requires admin/root or write privileges to run. Please restart the program with these.
In windows, this means right clicking the Updater shortcut and selecting "Run as administrator".
For everyone else, login as the root user. If you don't have root access, contact someone who does and ask them nicely to run the updater!
Updater finished, press enter to exit.
-
What is the output from
root@omega-desktop:/home/omega/Desktop/untitled# ls -al/me thinks you have done a chmod in error in there somewhere...
-
Some infos from LigH in the IRC channel:
<AiwendilH> does the PS updater need any open ports in a firewall to function correctly?
<LigH> AiwendilH: No. It acts like a web browser.
<LigH> AiwendilH: If your browser needs a proxy, then the updater needs it too. But that's very rarely the case.
But I fear that doesn't help you either....
-
What is the output from
root@omega-desktop:/home/omega/Desktop/untitled# ls -al/me thinks you have done a chmod in error in there somewhere...
root@omega-desktop:/home/omega/Desktop/untitled# ls -al
total 1224
drwxr-xr-x 2 omega omega 4096 2008-09-02 13:04 .(blue)
drwxr-xr-x 3 omega omega 4096 2008-09-02 14:22 ..(blue)
-rwxr-xr-x 1 omega omega 101 2008-07-21 03:41 psupdater(green)
-rwxr-xr-x 1 omega omega 1236200 2008-07-21 03:41 psupdater.bin(green)
Some infos from LigH in the IRC channel:
<AiwendilH> does the PS updater need any open ports in a firewall to function correctly?
<LigH> AiwendilH: No. It acts like a web browser.
<LigH> AiwendilH: If your browser needs a proxy, then the updater needs it too. But that's very rarely the case.
But I fear that doesn't help you either....
sadly no.. T_T
-
lol, but your ls -la maybe helped...
are these 2 files the only files in that directory? You need at least one installed version of PS (I think newer then 4.0) to run the updater. And I think you have to run the updater from the directory in which PS is installed. If you run it with the "psupdater" script this should be done automatically. Or didn't you just post the complete output of ls -la?
-
where is PS installed atm?
Not in the dir that you are in when you exec ./psupdater?
edit: beaten to it ;)
-
lol, but your ls -la maybe helped...
are these 2 files the only files in that directory? You need at least one installed version of PS (I think newer then 4.0) to run the updater. And I think you have to run the updater from the directory in which PS is installed. If you run it with the "psupdater" script this should be done automatically. Or didn't you just post the complete output of ls -la?
are you serious? it has to be run in the same directory?? WHO DESIGNS THESE THINGS?? xD ok, i will try it again..
ok well now im getting another error, this one is probably more norm (and thank you xD, just another n00b moment)
root@omega-desktop:/home/omega/opt/PlaneShift# ./psupdater.bin
PlaneShift Updater Version 5 for linux32.
Checking for updates:
This updaterinfo.xml file is marked as inactive and will not work. Please get another one.
Updater finished, press enter to exit.
-
edit the updaterinfo.xml and change the false to true in the <config active="false">
-
This problem I give to other, much more experienced hands :)
http://hydlaa.com/smf/index.php?topic=32812.0 (http://hydlaa.com/smf/index.php?topic=32812.0)
EDIT: hehehe....too slow
-
edit the updaterinfo.xml and change the false to true in the <config active="false">
YAY! thank you very much everyone for this obvious n00b moment, here, have cookies
(http://blog.josephhall.com/uploaded_images/bestcookies.jpg)
-
Lol, firefox cookies!!!