Skip to content

Loading…

How to on Linux/Centos #1

Closed
rutgerg opened this Issue · 10 comments

2 participants

@rutgerg

Skye,

Thanks for all the great work on the Transporter. Locally (mac) I have got things running but I'm not sure how to get the Transporter running on Linux/Centos. Is that possible and if so can you give me a hint how to install the iTMSTransporter?

Cheers,

Rutger

@sshaw
Owner

Hi, you can run iTMSTransporter on all major platforms. For Linux you'd have to download the appropriate version from iTunes Connect. If I recall correctly Apple distributes this as a bin file, so you'll have to do the following to install it:

su -  # or login as root
chmod u+x iTMSTransporter-XXX.bin
./iTMSTransporter-XXX.bin

Installing/running the Transporter GUI is the same as on Linux as it is on OS X.

Did you have any issues setting up the site on OS X? I'm curious as I'm trying to improve/refine some of the install and site config bits.

@rutgerg

Skye,
I was able to get it running. The code gave me some helpful insight. Thanks for that. The only issue I found that it would be nice to initiate the worker from the UI in stead of CLI. I ran the code only locally so far so I expect to get the same issue I described above running it on a VPS.

I can't seem to find a package or instructions on how to set Transporter up on Linux on Apple connect (or any other website). Do have this package still somewhere?

Rutger

@rutgerg

Error is 'ITunes::Store::Transporter::TransporterError: No such file or directory - /usr/local/itms/bin/iTMSTransporter'. That seems to make sense without the client at that location

@sshaw
Owner

I can't seem to find a package or instructions on how to set Transporter up on Linux on
Apple connect (or any other website). Do have this package still somewhere?

You can only get this from Apple. I don't have a copy or access to the site right now. If you log into https://itunesconnect.apple.com is should be there -somewhere.

The only issue I found that it would be nice to initiate the worker from the UI in stead of CLI

Yes, this is something I'm going to do at some point.

@rutgerg

Strange. The Transporter_User_Guide_1.7.8.pdf describes (incl pictures) on page 19 where to find the package but at that location there is nothing to be found. Nobody at Apple can point me to the correct web page where I can find the client, nobody can send me a direct URL and nobody can tell me if the User Guide is correct. Could be that they no longer support the LInux package (which seems odd) but also that can't be confirmed or denied. Seems like a dead end at this point.

@sshaw
Owner

They definitely support Linux. Where did you get the OS X version of the Transporter? What other options did they have on that page?

@rutgerg

In the Quick Start Guide that is downloadable from Connect there is a link to https://itunesconnect.apple.com/transporter/1.7.7/iTMSTransporter_1.7.7.pkg.gz . That is OSX version

I have tried to manipulate the url to download a Linux package but no luck. There is not a page on any of Aple's websites that lists the packages for different OSs (or I can't find it).

In the complete user guide a Linux package is mentioned but no link provided (It says go to connect and you'll find it)

I have posted this issue on the Apple dev forum (but no one has responded) and sent a mail to Connect support (also no answer). It looks to me that Apple either discontinued support and has yet to changed the complete user guide or still supports it but has deleted the link to the packages page from Connect.

If you would (re)install the 'itunes_store_transporter_web' project on an empty Linux server would you get it to run? And how?

@sshaw
Owner

If you would (re)install the 'itunes_store_transporter_web' project on an empty Linux server would you get it to run? And how?

Installing on Linux is more or less the same as on Mac. You have to have the underlying DB library installed:

yum install mysql-devel

# Or, for SQLite
yum install sqlite3-devel

# Etc...

You will need a version of Ruby >= 1.9 (haven't tested with 2.0), and RubyGems -which should be installed with your ruby, though CentOS is known to lag when it comes to modern versions of ruby -amongst other things... Verify RubyGems is installed via gem -v. If not you can get it from: http://rubygems.org/pages/download

Then

cd itunes_store_transporter_web-VERSION
ruby ./setup.rb

See https://github.com/sshaw/itunes_store_transporter_web/tree/be198ddaf3b24574440d45c9b123502ed34e17ed#requirements for more info.

I just made some changes so you can try the latest commit if you like, not sure if it's 100% yet (note that these instructions differ from the old ones):
https://github.com/sshaw/itunes_store_transporter_web#requirements

@rutgerg

Txs. So in what line in setup.rb is the Linux transporter package installed?

@sshaw
Owner

Txs. So in what line in setup.rb is the Linux transporter package installed?

:grimacing:

Well... it doesn't install the Transporter. Aside from the link you provided, I know of no way to get it without an iTunes Connect account. This requirement is stated in the itunes_store_transporter docs, but I definitely need to add this to the requirements sections for the website.

@sshaw sshaw referenced this issue in sshaw/itunes_store_transporter
Closed

Issue getting User name and password inputted #7

@sshaw sshaw closed this in 8c6901e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.