TeamSpeak3 Server 3.0.7.1 for v5b13+


Recommended Posts

  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hi Warlock,

TS3 has been running fine for a few months now which is great :)

I seem to be having issues with it though when trying to stop my array :( If TS3 is running and i stop my array it just sits there trying to stop in a loop, i end up having to either stop the array via the :8080 page, or if that dosnt just flicking the switch.

 

Has it been integrated in the app itself that it stops automatically when the array is being stopped? like all my other plugins?

Link to comment
  • 3 weeks later...

Hi,

I was going through your script and I think I have found some bugs:

<!-- event handler -->
<FILE Name="/usr/local/emhttp/plugins/ts3server/event/unmounting_disks" Mode="0770">
<INLINE>
<![CDATA[
#!/bin/bash
source /boot/config/plugins/ts3server/ts3server.cfg
cp -u $INSTALLDIR/teamspeak3-server_linux-x86/ts3server.sqlitedb $DBPATH/ts3server.sqlitedb
]]>
</INLINE>
</FILE>

has to be

<!-- event handler -->
<FILE Name="/usr/local/emhttp/plugins/ts3server/event/unmounting_disks" Mode="0770">
<INLINE>
<![CDATA[
#!/bin/bash
source /boot/config/plugins/ts3server/ts3server.cfg
/etc/rc.d/rc.ts3server stop
cp -u $INSTALLDIR/teamspeak3-server_linux-x86/ts3server.sqlitedb $DBPATH/ts3server.sqlitedb
]]>
</INLINE>
</FILE>

(actually stop the server, then copy the database)

 

and also

 

<!-- event handler -->
<FILE Name="/usr/local/emhttp/plugins/ts3server/event/disks_mounted" Mode="0770">
<INLINE>
<![CDATA[
#!/bin/bash
source /boot/config/plugins/ts3server/ts3server.cfg
/etc/rc.d/rc.ts3server start
]]>
</INLINE>
</FILE>

better be

<!-- event handler -->
<FILE Name="/usr/local/emhttp/plugins/ts3server/event/disks_mounted" Mode="0770">
<INLINE>
<![CDATA[
#!/bin/bash
source /boot/config/plugins/ts3server/ts3server.cfg
if [ $SERVICE = enable ]; then
/etc/rc.d/rc.ts3server start
fi
]]>
</INLINE>
</FILE>

(actually check if the Plugin is enabled)

 

 

Also: When I delete the sqlite.db file, I understand that when I start the plugin after that a new server is created. But there is no token visible in the webGUI, and also no token in the logfiles... You might wanna check on that  ;)

Link to comment
  • 3 months later...

I made the changes you requested in the plugin and when I try to run it I guess this.

 

file /boot/config/plugins/ts3server/ts3server.png: already exists

file /tmp/ts3server-cleanup: successfully wrote INLINE file contents

  /bin/bash /tmp/ts3server-cleanup ... success

file /boot/config/plugins/ts3server/ts3server.cfg: already exists

file /boot/config/plugins/ts3server/ts3server.ver: successfully wrote INLINE file contents

file /usr/local/emhttp/plugins/ts3server/ts3server.page: successfully wrote INLINE file contents

file /etc/rc.d/rc.ts3server: successfully wrote INLINE file contents

  successfully changed file mode

file /usr/local/emhttp/plugins/ts3server/ts3server.png: successfully copied LOCAL file

file /usr/local/emhttp/plugins/ts3server/ts3server.php: successfully wrote INLINE file contents

file /usr/local/emhttp/plugins/ts3server/event/disks_mounted: successfully wrote INLINE file contents

  successfully changed file mode

file /usr/local/emhttp/plugins/ts3server/event/unmounting_disks: successfully wrote INLINE file contents

  successfully changed file mode

file /tmp/ts3server-install: successfully wrote INLINE file contents

  /bin/bash /tmp/ts3server-install ... success

plugin successfully installed

 

 

Any thoughts?

Link to comment

Hi Guys,

 

Sorry I have not been actively monitoring this,

Mettbrot or anyone else pls you are welcome to maintain this or take over. Just let me know what's the easiest way.

Maybe I can open a github and recode  to download from there ?

 

In the mean time if I find some time I'll see if I can update the plugin as per Mettbrot's recommendations.

 

Link to comment

Hi Guys,

 

Sorry I have not been actively monitoring this,

Mettbrot or anyone else pls you are welcome to maintain this or take over. Just let me know what's the easiest way.

Maybe I can open a github and recode  to download from there ?

 

In the mean time if I find some time I'll see if I can update the plugin as per Mettbrot's recommendations.

 

Thanks for the time you've put into this, really do appreciate it!

Link to comment

Yea, that would work. You may want to try the link you creat when you replace it, if it really works in a browser. :-)

 

I've replaced references of 3.0.7.1 to 3.0.10.1 in the .plg. I also replaced the sections you mentioned above. The download link for the tar.gz package works.

 

I then saved the file as ts3server_3.0.10.1_x86-warlock-v0.7.plg and renamed the old one to ts3server_3.0.10.1_x86-warlock-v0.7.plg.old

 

I then did a clean reboot and let the server come back online. However, it does not appear like any of the new changes worked. There is no new downloaded version in /boot/packages, and the teamspeak client itself reports version 3.0.7.1. Any thoughts?

Link to comment
  • 3 weeks later...
  • 4 weeks later...

If you or someone else does end up taking this over, I know I would be super grateful.

 

Wow I forgot I was going to work on this until tonight when I was upgrading my unraid server... anyway I took a few minutes to update a few things and here is a current version

http://dl.dropboxusercontent.com/s/ygcso9qkpne9ybw/ts3server_3.0.10.3_x86-DToX-v0.8.plg

 

Now I want to make this more automatic but this was just a quick fix to the problem and hopefully I can do a rewrite to make it smarter :)

Link to comment

Dear DTox

 

while I appreciate you taking this over the first thing to "make this plugin smarter" would have been to fix the bugs I stated a few posts back. Just releasing a new version with no insight in the code is useless.

 

The second thing we need for this is a 64bit version to benefit from unRaid 6.0

 

Cheers

Link to comment

Yup I just made the needed changes to get it running for now and adding 64bit is trivial but currently unraid does not support 64bit applications as far as i'm aware but I plan to make 64bit an options so you just set it like installation path etc, I updated the plugin a little with the fixes you suggested but i'm still at work and will work on a new version in a few days

 

http://dl.dropboxusercontent.com/s/xn44p9gfqi554k5/ts3server_v0.1.plg

Link to comment

DToX,

 

Shot for taking this on, I had a kid 8 months ago and life has been hectic, feel free to call it your own " I am not sentimental that way" I am by no means a coder I basically copied code from various other plugins as I needed this service and though unraid would be a nice place to put it seeing as I have it running all the time.

 

Anyway thanks again ! Too all the other guys who use this really sorry I could not have spent more time keeping it upto date, I now leave it in DToX's capable hands.

 

Link to comment
  • 3 weeks later...

Hey guys. I've either royally messed something up or I'm missing the most obvious thing in the world.

 

My server is still running 3.0.7.1 and I've been trying to update it for a while (see earlier post when trying to manually update it :P). Now that DToX has kindly agreed to take over this project, I've been giving it another go.

 

For the record, I have the install directory set as '/boot/config/plugins/ts3server' and the backup directory as '/boot/config/plugins/ts3databackup'

 

Here's the steps I've been doing:

[*]Drop the new .plg DToX published and put it in the '/boot/config/plugins/ folder. I named it 'ts3server_3.0.10.3_x86.plg'

[*]Renamed the old .plgs to *.plg.old

[*]Disabled TS, disabled the array, power down

[*]Power up.

[*]installplg ts3server_3.0.10.3_x86.plg ... 'successfully installed'

[*]enabled TS - the settings webpage shows it's running 3.0.10.3

[*]Joined my TS server - Teamspeak server is reporting it is running 3.0.7.1

 

I feel like an idiot... can someone help me through this?

Link to comment

The Name of the plg has nothing to do with the version downloaded by the script.

 

Same is for the version shown in the webgui, it is just text.

 

Leave the install directory where it is, in ram /usr/local/teamspeak or something like that.

 

Delete any teamspeak packages in /boot/packages or /boot/extra

 

That should do the trick.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.