• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Licence bots can"t connect (mount directory with sshfs)

Status
Not open for further replies.

Floflobel

Donor
is awesome!
Contributor
Hi,

I have update the bot to the latest version (non official) 0.9.21 and I have a problem when I try to connect my licence bot.
I have two bots connected with the IP address "127.0.0.1" and my licences bot try to connect with the external IP..

Sinusbot version: sinusbot-0.9.21-87a90ce
OS Info:
NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"

config.ini:
Code:
TS3Path = "/mnt/sinusbot1/teamspeak3-client/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/mnt/sinusbot1/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
#LogLevel = 1
EnableProfiler = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "XXXXXXXXX"
IsProxied = false
DenyStreamURLs = []
Pragma = 0

[YoutubeDL]
  BufferSize = 524288
  MaxDownloadSize = 419430400
  MaxDownloadRate = 104857600
  CacheStreamed = false

[TS3]
  AvatarMaxWidth = 0
  AvatarMaxHeight = 0

[StreamRewrites]

[Scripts]
  AllowReload = true
  EnableTimer = false

[Themes]
  Default = ""

[SpeechRecognition]
  Enable = true

[FFmpeg]
  UserAgent = "SinusBot (0.9.12.3-36fce3c)"

[DAV]
  Enable = false

[XServer]
  Delay = 0
  Debug = false

Log when I try to connect bot:
Code:
2017/06/27 18:53:42 1aff5687 fd101804 INFO   Starting instance ts3server://IP?port=9987&nickname=.%C4%B1l%C4%B1.l%C4%B1.%20Musique%203%20.%C4%B1l%C4%B1..&password=&cid=98&channelpassword=
2017/06/27 18:53:43 X [MAIN] New connection
2017/06/27 18:53:44 1aff5687 fd101804 DEBUG  TS>Crashdump ENABLED,  directory is: /mnt/sinusbot1/data/ts3/1aff5687-bd9d-4df4-a9ef-6e32edf5d30d/fd101804-610e-da0f-2334-9b03d366b7f2/crashdumps
2017/06/27 18:53:44 1aff5687 fd101804 DEBUG  TS>DUMP defined! Dumpdir is: /mnt/sinusbot1/data/ts3/1aff5687-bd9d-4df4-a9ef-6e32edf5d30d/fd101804-610e-da0f-2334-9b03d366b7f2/crashdumps
2017/06/27 18:53:44 1aff5687 fd101804 INFO   TS |INFO    |              |   |TeamSpeak 3 Client 3.0.19.4 (2016-07-14 10:16:58)
2017/06/27 18:53:44 1aff5687 fd101804 INFO   TS |INFO    |              |   |SystemInformation: Linux 4.4.0-77-generic #98-Ubuntu SMP Wed Apr 26 08:34:02 UTC 2017 x86_64 Binary: 64bit
2017/06/27 18:53:44 1aff5687 fd101804 INFO   TS |INFO    |              |   |Using hardware aes
2017/06/27 18:53:45 X [MAIN] New connection
2017/06/27 18:53:45 1aff5687 fd101804 INFO   TS |ERROR   |PulseAudio    |   |failed to connect to pulse audio server
2017/06/27 18:53:45 1aff5687 fd101804 INFO   TS |ERROR   |PulseAudio    |   |pa_context_connect failed
2017/06/27 18:53:45 1aff5687 fd101804 INFO   TS |ERROR   |SoundBckndIntf|   |/mnt/sinusbot1/teamspeak3-client/soundbackends/libpulseaudio_linux_amd64.so error: INIT_PA_IMPL
2017/06/27 18:53:45 1aff5687 fd101804 INFO   TS |INFO    |              |   |Loading plugin: libclientquery_plugin
2017/06/27 18:53:45 1aff5687 fd101804 INFO   TS |INFO    |              |   |Loading plugin: liblua_plugin
2017/06/27 18:53:45 1aff5687 fd101804 INFO   TS |INFO    |              |   |Loading plugin: libsoundbot_plugin
2017/06/27 18:53:45 1aff5687 fd101804 INFO   TS |INFO    |              |   |Loading plugin: libtest_plugin
2017/06/27 18:53:45 1aff5687 fd101804 INFO   TS |ERROR   |Query         |   |bind failed on 127.0.0.1:25639
2017/06/27 18:53:45 1aff5687 fd101804 WARN   Could not send config: HTTP returned an error: Error; Code: 500; Message: Error
2017/06/27 18:53:51 1aff5687 fd101804 DEBUG  Storing configuration.
2017/06/27 18:53:55 1aff5687 fd101804 INFO   TS |INFO    |              |   |*** Time [CONTACTS]: 198
2017/06/27 18:53:58 X [MAIN] New connection
2017/06/27 18:53:59 1aff5687 fd101804 INFO   TS |INFO    |              |   |*** Time [MAINWINDOW]: 399
2017/06/27 18:53:59 1aff5687 fd101804 INFO   TS |INFO    |              |   |*** Time [INIT]: 399
2017/06/27 18:53:59 1aff5687 fd101804 INFO   TS |INFO    |ClientUI      |   |Failed to init text to speech engine
2017/06/27 18:53:59 1aff5687 fd101804 INFO   TS |INFO    |ClientUI      |   |Qt version: 5.5.1
2017/06/27 18:53:59 1aff5687 fd101804 INFO   TS |INFO    |ClientUI      |   |Using configuration location: /mnt/sinusbot1/data/ts3/1aff5687-bd9d-4df4-a9ef-6e32edf5d30d/fd101804-610e-da0f-2334-9b03d366b7f2/settings.db
2017/06/27 18:53:59 1aff5687 fd101804 INFO   TS |INFO    |ClientUI      |   |ts3server: IP?port=9987&nickname=.%C4%B1l%C4%B1.l%C4%B1.%20Musique%203%20.%C4%B1l%C4%B1..&password=&cid=98&channelpassword=
2017/06/27 18:53:59 1aff5687 fd101804 INFO   TS |INFO    |ClientUI      |1  |Connect to server: IP
2017/06/27 18:53:59 1aff5687 fd101804 INFO   TS |INFO    |ClientUI      |1  |Blacklist check ok
2017/06/27 18:53:59 1aff5687 fd101804 INFO   TS |INFO    |ClientUI      |1  |Initiating connection: IP:9987 IP
2017/06/27 18:54:00 1aff5687 fd101804 INFO   TS |INFO    |PreProSpeex   |1  |Speex version: 1.2rc1
2017/06/27 18:54:00 1aff5687 fd101804 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connecting
2017/06/27 18:54:00 1aff5687 fd101804 INFO   New connection status 1; Error 0
2017/06/27 18:54:00 1aff5687 fd101804 INFO   TS |DEVELOP |PktHandler    |   |Puzzle solve time: 5
2017/06/27 18:54:00 1aff5687 fd101804 INFO   TS |INFO    |ClientUI      |   |Last update check was: Tue Jan 1 00:00:01 2019
2017/06/27 18:54:00 1aff5687 fd101804 INFO   TS |INFO    |              |   |Statistics report: Not yet, next report on Thu Jul 13 22:11:38 2017
2017/06/27 18:54:00 1aff5687 fd101804 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connected
2017/06/27 18:54:00 1aff5687 fd101804 INFO   New connection status 2; Error 0
2017/06/27 18:54:00 1aff5687 fd101804 INFO   TS |INFO    |ClientUI      |1  |Connect status: Establishing connection
2017/06/27 18:54:00 1aff5687 fd101804 INFO   New connection status 3; Error 0
2017/06/27 18:54:01 1aff5687 fd101804 DEBUG  TS>Home directory not accessible: Permission denied
2017/06/27 18:54:01 1aff5687 fd101804 ERROR  TS3Client reported an issue with file permissions. See https://forum.sinusbot.com/faq/someone-told-me-to-fix-the-file-permissions-how-do-i-do-that.18/ for more information.
2017/06/27 18:54:01 1aff5687 fd101804 DEBUG  TS>libpng warning: iCCP: known incorrect sRGB profile
2017/06/27 18:54:01 1aff5687 fd101804 DEBUG  TS>warning: The VAD has been replaced by a hack pending a complete rewrite
2017/06/27 18:54:01 1aff5687 fd101804 DEBUG  TS>warning: The VAD has been replaced by a hack pending a complete rewrite
2017/06/27 18:54:01 1aff5687 fd101804 DEBUG  Closed.
2017/06/27 18:54:01 1aff5687 fd101804 INFO   TSClient quit.

My error is here :
2017/06/27 18:54:01 1aff5687 fd101804 DEBUG TS>Home directory not accessible: Permission denied
2017/06/27 18:54:01 1aff5687 fd101804 ERROR TS3Client reported an issue with file permissions. See https://forum.sinusbot.com/faq/someone-told-me-to-fix-the-file-permissions-how-do-i-do-that.18/ for more information.

I have chmod my folder to my user and group, the folder where is the sunusbot is a mount point with SSHFS.
On version sinusbot-0.9.16 I don't have a problem for connect my licence bot !
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
Status
Not open for further replies.
Top