Giter Club home page Giter Club logo

Comments (17)

muffycompo avatar muffycompo commented on July 28, 2024

What user are you using to run the installer, is it the root user or a regular user? The installer assumes you are running as root, there is a patch that will be pushed within the weekend but until then, make sure you are logged in as the root user on your control machine/host

from radiusdesk-installer.

j0r1993 avatar j0r1993 commented on July 28, 2024

im using root

from radiusdesk-installer.

muffycompo avatar muffycompo commented on July 28, 2024

Right now, I am trying to recreate the problem but it seem to be working fine. Just an aside, do you have Python 2.7+ installed?

from radiusdesk-installer.

j0r1993 avatar j0r1993 commented on July 28, 2024

Python 2.7.6

from radiusdesk-installer.

muffycompo avatar muffycompo commented on July 28, 2024

@j0r1993 I have push a fix for this issue after I finally reproduced the bug. You can clone a fresh copy of the installer or just edit your servers file and ensure the following change:

[default]
localhost

Becomes:

[default]
localhost ansible_connection=local ansible_ssh_user=root

from radiusdesk-installer.

j0r1993 avatar j0r1993 commented on July 28, 2024

now work.. but there is 1 error i show you

http://prntscr.com/a8c6rb

from radiusdesk-installer.

muffycompo avatar muffycompo commented on July 28, 2024

Can you try updating your Ansible version from 1.5.x to the recent one? Follow this guide and after installing the updated Ansible, run this the installer again and get back to us.

from radiusdesk-installer.

j0r1993 avatar j0r1993 commented on July 28, 2024

updated but same error..

from radiusdesk-installer.

j0r1993 avatar j0r1993 commented on July 28, 2024

there isn't no radiusdesk folder installed
and he dont install coovachili.. i have enabled yes in conf yml
http://prntscr.com/a8chb2

from radiusdesk-installer.

muffycompo avatar muffycompo commented on July 28, 2024

Looks like the installation did not complete that's why. Are you still getting the error after the update of Ansible?

from radiusdesk-installer.

j0r1993 avatar j0r1993 commented on July 28, 2024

yes

TASK [radiusdesk : Downloading RadiusDesk CakePHP Source from Subversion (Ubuntu)] ***
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'int' object has no attribute 'startswith'
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "parsed": false}

edit
this is the step that the script made

PLAY ***************************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [radiusdesk : Adding RadiusDesk Variables (Ubuntu)] ***********************
ok: [localhost]

TASK [radiusdesk : Adding RadiusDesk Variables (RHEL/CentOS 6.x/7.x)] **********
skipping: [localhost]

TASK [radiusdesk : RadiusDesk Nginx Setup (Ubuntu)] ****************************
included: /root/radiusdesk-installer/roles/radiusdesk/tasks/Nginx_Debian.yml for localhost

TASK [radiusdesk : Ensuring Apache is not installed (Ubuntu)] ******************
ok: [localhost]

TASK [radiusdesk : Installing Nginx (Ubuntu)] **********************************
ok: [localhost]

TASK [radiusdesk : Installing RadiusDesk packages (Ubuntu)] ********************
ok: [localhost] => (item=[u'language-pack-en-base', u'language-pack-af', u'language-pack-fa', u'php5-fpm', u'mysql-server', u'mysql-client', u'php5-mysql', u'python-mysqldb', u'php5-xcache', u'php5-cli', u'php5-gd', u'php5-curl', u'subversion', u'git', u'unzip', u'tar'])

TASK [radiusdesk : Configuring PHP-FPM to use UNIX sockets (Ubuntu)] ***********
ok: [localhost]

TASK [radiusdesk : Configuring Nginx to use UNIX sockets (Ubuntu)] *************
ok: [localhost]

TASK [radiusdesk : Configuring Nginx for RadiusDesk Web Compression (Ubuntu)] **
ok: [localhost]

TASK [radiusdesk : Downloading CakePHP Source from Github (Ubuntu)] ************
changed: [localhost]

TASK [radiusdesk : Copying CakePHP Source to Webroot (Ubuntu)] *****************
changed: [localhost]

TASK [radiusdesk : Downloading RadiusDesk CakePHP Source from Subversion (Ubuntu)] ***
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'int' object has no attribute 'startswith'
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "parsed": false}
to retry, use: --limit @/root/radiusdesk-installer/rd-installer-ansible.retry

PLAY RECAP *********************************************************************
localhost : ok=11 changed=2 unreachable=0 failed=1

coovachili are not included in this steps.. maybe there are other bug

from radiusdesk-installer.

muffycompo avatar muffycompo commented on July 28, 2024

I have created a new bugfix branch and kindly test and revert back.

To checkout the bugfix branch, just do the following:

git checkout -b bugfix_18 http://github.com/muffycompo/radiusdesk-installer

from radiusdesk-installer.

j0r1993 avatar j0r1993 commented on July 28, 2024

work!!.. all installation passed without error!! you are fantastic :D thanks for all you doing for us

from radiusdesk-installer.

muffycompo avatar muffycompo commented on July 28, 2024

I am glad I could help fix it for you. I will merge the changes to the master branch to ensure others don't have the same problem and thank you too for trying it out because without your feedback, this fix will have not been implemented.

from radiusdesk-installer.

iberrywifi avatar iberrywifi commented on July 28, 2024

Dear muffy i am facing below this issue when installing on centos 7 on cloud
TASK [radiusdesk : Downloading RadiusDesk CakePHP Source from Subversion (RHEL/C entOS 6+)] ***
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "svn checkout -r 1951 ht tp://svn.code.sf.net/p/radiusdesk/code/trunk/rd_cake /tmp/rd_sources/rd_cake", " delta": "0:00:00.674130", "end": "2017-02-19 07:58:07.820619", "failed": true, " rc": 1, "start": "2017-02-19 07:58:07.146489", "stderr": "svn: E175002: Unable t o connect to a repository at URL 'http://svn.code.sf.net/p/radiusdesk/code/trunk /rd_cake'\nsvn: E175002: OPTIONS of 'http://svn.code.sf.net/p/radiusdesk/code/tr unk/rd_cake': could not connect to server (http://svn.code.sf.net)", "stdout": " ", "stdout_lines": [], "warnings": ["Consider using subversion module rather tha n running svn"]}

RUNNING HANDLER [radiusdesk : Start Nginx] *************************************

RUNNING HANDLER [radiusdesk : Restart Nginx] ***********************************

RUNNING HANDLER [radiusdesk : Start PHP-FPM] ***********************************

RUNNING HANDLER [radiusdesk : Restart PHP-FPM] *********************************
to retry, use: --limit @/root/radiusdesk-installer/rd-installer-ansible. retry

PLAY RECAP *********************************************************************
localhost : ok=14 changed=9 unreachable=0 failed=1

[root@iberrycloud radiusdesk-installer]# cd..

from radiusdesk-installer.

muffycompo avatar muffycompo commented on July 28, 2024

@iberywifi, the issue is with sourceforge, I tried to reproduce the error and I had the same thing, trying it manually also yielded the same results, it times out when doing an "svn checkout" of radiusdesk trunk. Hopefully it gets fixed and the installer should work as normal.

from radiusdesk-installer.

iberrywifi avatar iberrywifi commented on July 28, 2024

from radiusdesk-installer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.