UniUploader in Linux

Support and feedback for UniUploader
UniUploader requires microsoft .net runtimes!

UniUploader in Linux

Postby knappster » Thu Feb 22, 2007 10:19 pm

Hi,

I was using WoW and UniUploader in Windows XP for quite a while. Now I have WoW running in Linux and was wondering if anyone has had any luck with UniUploader in Linux. I suppose JUU would work better since it would not require .NET to run, but I thought it would be worth asking at least.

I've spent a little bit of time trying to get UU running, but haven't gotten it to work yet. I will probably spend a little bit more time and try JUU if I fail. I doubt many people run WoW in Linux, but if I get UU working I will post some info here. If anyone else has already done it, I would appreciate some suggestions.

[MattM Edit:] If you can't run UniUploader, please try Java UniUploader or phpUniUploader
Last edited by knappster on Sun Jan 27, 2008 1:50 pm, edited 3 times in total.
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm

UniUploader in Linux

Postby Mathos » Thu Feb 22, 2007 10:41 pm

I have a solution which is called phpUniUploader

You need to install PHP command line on your linux box for it.

I will make it available as a package. I build it for myself in the past but it is no secret :)
Last edited by Mathos on Thu Feb 22, 2007 10:41 pm, edited 1 time in total.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

UniUploader in Linux

Postby robojerk » Thu Feb 22, 2007 10:56 pm

UniUploader is C# based, I guess someone could try compiling it with mono. It would require some alteration of course but could work in MacOS X as well if someone would be up to porting it.

Not me though.. =)
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

UniUploader in Linux

Postby Mathos » Thu Feb 22, 2007 11:00 pm

I have uploaded phpUniUploader r346 which is currently tested and working against UniAdmin 0.7.0 and Roster 1.7.3.
Under MAC and Linux it runs fine (and might work well under Windows too btw)

http://www.wowroster.net/Downloads/details/id=99.html
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

UniUploader in Linux

Postby Mathos » Fri Feb 23, 2007 12:34 am

I have just updated the package and it now supports UniAdmin 0.7.5.

Anyone testing it yet ?
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

Re: UniUploader in Linux

Postby knappster » Fri Feb 23, 2007 3:43 am

Thanks for the quick response Mathos. I downloaded it and tried to run it... I , have php5-curl, php5-cli, and Daemon installed. When I run
Code: Select all
./phpuniuploader.rc.sh start
it does not spit out anything.
When I run
Code: Select all
./phpuniuploader.rc.sh status
it responds
daemon: phpuniuploader is not running


Any idea what I'm missing?
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm

Re: UniUploader in Linux

Postby Mathos » Fri Feb 23, 2007 12:16 pm

you have to adjust the phpuniuploader.rc.sh script as there is a path variable in there.

Also you need to modify the settings.inc.php file to your needs.

Apart from that you best place the RC script in /etc/init.d/
and make links from the correct runlevels to that file.

You can start it as root with: /etc/init.d/phpuniuploader start
also the status which you already found will work as root once it is running:
/etc/init.d/phpuniuploader status

You may also run it on the command line like: php ./phpUniUploader.php
if the RC script aint working 100% for you.
check for the process running with: ps -ef |grep -i phpuniuploader

Sorry if I made redundent comments but I do not know you technical skills, so no offense :P

Oh right, one last thing, the LOG files should contain some info.
look in your Log dir (found inside the settings.inc.php) to see what it spits !
Last edited by Mathos on Fri Feb 23, 2007 12:16 pm, edited 1 time in total.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

Re: UniUploader in Linux

Postby knappster » Fri Feb 23, 2007 4:22 pm

Mathos,

Thanks for the info... I've never run php from the command line before. I was expecting the shell script to output some kind of error, but you made it for personal use, so why should it? lol

I had already updated the settings file, but not the shell script. I changed the shell script and still had problems, so I ran
Code: Select all
php phpUniUploader.php
and got an output that the fopen failed because the file did not exist.

Hint for linux users. The $WoWDir variable (I think that was the name of it) is in php speak, not linux speak. I had
Code: Select all
/home/brian/.wine/drive_c/Program\ Files/World\ of\ Warcraft

when it should have been
Code: Select all
/home/brian/.wine/drive_c/Program Files/World of Warcraft


It was not generating a log before, because that was incorrect. I did not have time to check the log or test it yet, but tonight I will be sure to. It started up, and showed it running when I checked the status, though. More info will come tonight. (I currently have UniAdmin 0.70, I will test with that, then update to 0.75 and test again).
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm

UniUploader in Linux

Postby Mathos » Fri Feb 23, 2007 4:35 pm

Cool stuff, yeah sometimes it is hard to get those spaces out of the way :)

Anyway, let me know and I hope you get the stuff running.

If all works okay, I might even make a package for it for Linux. I havent got a Mac so really can do it there I am afraid, but mac is pretty simple too I think as it is just BSD at the core anyway.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

UniUploader in Linux

Postby Mathos » Fri Feb 23, 2007 7:25 pm

I just noticed that when allow_url_fopen is not permitted, addon download will fail.
I will change that to also use cURL if it is available.

One other issue is the 0.7.5 Non-Full-Path downloads, which I will address in the next version too. We require that to enable the WoW-Ace feature.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

Re: UniUploader in Linux

Postby knappster » Fri Feb 23, 2007 8:18 pm

Thanks for the input Mathos. If there is a problem with anything, it will probably go wrong on my system. It always has a tendency to do that, lol.

A few of quick questions:
1. I'm not familiar with WoW-Ace... I did a quick search and saw it was to help addon developers... will that WoW-Ace feature affect non-developers?
edit: I just took a quick look at the Uni-Admin change log. Is this function for downloading Addons from WoWAce?

2. With regard to the Non-Full-Path downloads... is that just /Interface/Addons/WoWAddonName vs. simply WoWAddonName? Or is there something else?

3. Is there meant to be any output from the script or should it be "invisible" and run in the background silently updating addons and updloading lua files?
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm

UniUploader in Linux

Postby Mathos » Fri Feb 23, 2007 9:31 pm

3: normally it will log stuff all the time, like LUA files changed, uploading....bla bla
Als the last upload log will contain output like you see when you manually upload.

2: Yes

1: It will eventually download the WoW Ace Addons, although UniUploader is not even ready for Non-Full path addons.
I believe for the Windows part, MattM is working on that too.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

Re: UniUploader in Linux

Postby knappster » Sat Feb 24, 2007 5:59 am

Appears to be workign like a charm Mathos. I confirm that it updated my addons with uniadmin 0.70 and also updated my character profile and guild profile with the password.

I upgraded to 0.75, I do not have any WoW-Ace downloads, but I also confirm that it did not do the No Full-Path download adjustments. Not a major deal, but I would definitely update my script if you changed that.

Another question:
I am currently not updating any other lua files, like CT_Raidtracker, but if I wanted to, would it be difficult to include?

Thanks a bunch Mathos, this is exactly what I was looking for :thumright:
knappster
WR.net Apprentice
WR.net Apprentice
 
Posts: 63
Joined: Fri Jul 21, 2006 11:12 pm

UniUploader in Linux

Postby Mathos » Sat Feb 24, 2007 5:14 pm

Nope, that would not be a problem at all. Just enable them on your UniAdmin site (SV Files section) and they will be pickup up automatically.

I will update the script tonight to use Non-Fullpath installs and threat them as AddOns, but will have to dig into the download mechanism a bit that Zanix build.

Thanks for the Thumbs Up :)
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

UniUploader in Linux

Postby Mathos » Sun Feb 25, 2007 12:59 am

New version r643 is out.

!!!!! BE WARNED !!!!!
Do not install this baby prior to the release of UniAdmin 0.7.6 !!!
I am uncertain if it is compatible with 0.7.5 and also definately NOT compatible with 0.7.0.
User avatar
Mathos
Gimpy Developer
Gimpy Developer
 
Posts: 117
Joined: Wed Jul 05, 2006 11:00 am

Next

Return to UniUploader

Who is online

Users browsing this forum: No registered users and 1 guest

cron