alternate port
  • Hi,

    can i use a different port than 80 for the web interface?
    My guess is that it would not be sufficient to change line 1 in the /etc/apache2/sites-enabled/airtime file (<VirtualHost *:80>) and restart apache?

    thanks

    Ed
  • 6 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hi,

    in this case you have to change also the settings in ./application/configs/conf.php
    storageUrlPort and archiveUrlPort

    and in ./pypo/config.cfg base_url

    after that reboot server or reinstall airtime (cd install && php ./airtime-uninstall && php ./airtime-install)

  • Hmmm,

    thanks for the advice. However it does not seem to work. I get an error. A connection to server on 192.168.117.131:8088 could not be made. It is inaccessible.

    What's missing in this equasion?

    Thanks,
    Ed
  • Here is the output of /etc/service/pypo-fetch/log/main/current:
    @400000004d64f024378f9c24 2011-02-23 12:31:38,931 DEBUG - [api_client.py : __get_airtime_version() : line 117] - Trying to contact http://localhost:8088/api/version/api_key/AAA
    @400000004d64f02437e13aac Traceback (most recent call last):
    @400000004d64f02437e2f414 File "/opt/pypo/bin/pypo-cli.py", line 816, in <module>
    @400000004d64f02437e74d5c g.selfcheck()
    @400000004d64f02437e8c45c File "/opt/pypo/bin/pypo-cli.py", line 111, in selfcheck
    @400000004d64f02437ea3b5c if (not self.api_client.is_server_compatible()):
    @400000004d64f02437ebaa8c File "/opt/pypo/bin/api_clients/api_client.py", line 171, in is_server_compatible
    @400000004d64f02437ed583c version = self.__get_airtime_version(verbose)
    @400000004d64f02437eec384 File "/opt/pypo/bin/api_clients/api_client.py", line 148, in __get_airtime_version
    @400000004d64f02437f051f4 logger.error("Unable to detect Airtime Version - %s, Response: %s", e, response)
    @400000004d64f02437f2885c UnboundLocalError: local variable 'response' referenced before assignment

  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    first of all you need to properly configure an apache server. You should see an airtime gui on new port.
  • 'properly configure an apache server' - yeah
    I figured i need to look at apache. Smile
    I think i might have some conflict with ISPConfig 3, which is also installed.

    What i did was setup ISPConfig and the airtime, using the guidelines in dashboard. I think first setting up a subdomain for airtime and the install may work.

    I'll dig some more. Thanks for advising.

    Ed
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    in addition for non-localhost settings look here: http://forum.sourcefabric.org/index.php/m/9374/#msg_9374