• 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.

covatar upload problem

Status
Not open for further replies.

Crayne

Donor
is awesome!
Servus,

vServer, Ubuntu 14.04, ufw laeuft 8087/tcp ist offen

CoverArt, Covatar und Alone Mode sollen zusammen laufen - keine anderen Scripts aktiviert.

Problem : Avatare werden leider nicht im Client angezeigt - der data/cache ordner selbst ist voll von .png's

2015/10/22 14:32:26 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin advertising.js
2015/10/22 14:32:26 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin aloneMode.js
2015/10/22 14:32:26 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin badchan.js
2015/10/22 14:32:26 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin bookmark.js
2015/10/22 14:32:26 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin covatar.js
2015/10/22 14:32:26 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin dev.js
2015/10/22 14:32:26 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin followme.js
2015/10/22 14:32:26 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin idle.js
2015/10/22 14:32:26 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin metadata.js
2015/10/22 14:32:26 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin norecording.js
2015/10/22 14:32:26 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin showcase.js
2015/10/22 14:32:26 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin welcometext.js
2015/10/22 14:32:26 aeaceac3 INFO Initializing bot://aeaceac3-4220-48a1-91c6-21b6c8cab847
2015/10/22 14:32:26 X [MAIN] Starting up fake x-server...
2015/10/22 14:32:26 aeaceac3 INFO Loading instances
2015/10/22 14:32:26 aeaceac3 INFO Loading instance://affb4100-167f-49e7-9871-9e685f8d8120
2015/10/22 14:32:26 aeaceac3 affb4100 INFO Loading script covatar
2015/10/22 14:32:26 aeaceac3 affb4100 INFO Loading script aloneMode
2015/10/22 14:32:26 aeaceac3 affb4100 INFO Loading script metadata
2015/10/22 14:32:26 aeaceac3 affb4100 INFO Initialization complete
2015/10/22 14:32:26 aeaceac3 affb4100 INFO Auto-Starting aeaceac3-4220-48a1-91c6-21b6c8cab847/affb4100-167f-49e7-9871-9e685f8d8120 in 500 ms...
2015/10/22 14:32:26 aeaceac3 affb4100 INFO Last track was 5f4a2fcb-0504-44bd-ad05-2b60993ea4bc, will auto-play soon
2015/10/22 14:32:26 aeaceac3 INFO Loading instance://b05be666-26fe-4c47-9ecd-1a78e5127788
2015/10/22 14:32:26 aeaceac3 b05be666 INFO Initialization complete
2015/10/22 14:32:26 aeaceac3 b05be666 INFO Last track was 44955d5f-2d3b-4846-b45f-1abd4572bd63, will auto-play soon
2015/10/22 14:32:26 [GENERAL/FFMPEG ] INFO FFmpeg/avcodec v3675236; license: LGPL version 2.1 or later; 494 codecs
2015/10/22 14:32:26 [GENERAL/FFMPEG ] INFO FFmpeg/avformat v3674980; license: LGPL version 2.1 or later; 139 formats
2015/10/22 14:32:26 [GENERAL/YTDL ] INFO youtube-dl checking...
2015/10/22 14:32:27 aeaceac3 affb4100 INFO Auto-Playing last track
2015/10/22 14:32:27 aeaceac3 affb4100 DEBUG Could not delete from Notificationsno such table: Notifications
2015/10/22 14:32:27 aeaceac3 affb4100 DEBUG Could not insert into Notifications-Tableno such table: Notifications
2015/10/22 14:32:27 aeaceac3 affb4100 DEBUG Could not delete from Notificationsno such table: Notifications
2015/10/22 14:32:27 aeaceac3 affb4100 DEBUG Could not insert into Notifications-Tableno such table: Notifications
2015/10/22 14:32:27 aeaceac3 affb4100 INFO Starting instance ts3server://<cut>
2015/10/22 14:32:27 X [MAIN] New connection
2015/10/22 14:32:27 aeaceac3 affb4100 WARN Could not upload avatar: Post http://127.0.0.1:8557/api/v1/avatar: dial tcp 127.0.0.1:8557: connection refused
2015/10/22 14:32:27 aeaceac3 affb4100 WARN Could not set description

2015/10/22 14:32:27 aeaceac3 affb4100 DEBUG New channel
2015/10/22 14:32:27 [GENERAL/YTDL ] INFO youtube-dl version compatible, support enabled
2015/10/22 14:32:27 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://0.0.0.0:8087
2015/10/22 14:32:27 [GENERAL/RADIO ] INFO RadioStation data loaded
2015/10/22 14:32:27 aeaceac3 b05be666 INFO Auto-Playing last track
2015/10/22 14:32:27 X [MAIN] New connection
2015/10/22 14:32:27 aeaceac3 b05be666 DEBUG New channel
2015/10/22 14:32:28 [GENERAL/RADIO ] INFO Imported radio stations
2015/10/22 14:32:55 aeaceac3 affb4100 DEBUG Storing configuration.
2015/10/22 14:32:55 aeaceac3 b05be666 DEBUG Storing configuration.
2015/10/22 14:32:57 aeaceac3 affb4100 INFO New connection status 1; Error 0
2015/10/22 14:32:57 aeaceac3 affb4100 INFO New connection status 2; Error 0
2015/10/22 14:32:57 aeaceac3 affb4100 INFO New connection status 3; Error 0
2015/10/22 14:32:57 aeaceac3 affb4100 INFO Nasenbaer joined the channel
2015/10/22 14:32:57 aeaceac3 affb4100 INFO Ruebezahl joined the channel
2015/10/22 14:32:57 aeaceac3 affb4100 INFO New connection status 4; Error 0
2015/10/22 14:32:57 aeaceac3 affb4100 DEBUG TS/ERR 2564 e'access to default group is forbidden' x'' r'PR:{a9058037-b163-4135-904d-fdf860f920b6}:15/GCLL'
2015/10/22 14:32:57 aeaceac3 affb4100 DEBUG 2568/insufficient client permissions/b_client_use_channel_commander
2015/10/22 14:32:57 aeaceac3 affb4100 DEBUG 2568/insufficient client permissions/b_client_use_channel_commander

EDIT sagt :
Config vergessen ^^

TS3Path = "/home/musicbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = ""
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
MTU = 1500
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = "/home/musicbot/ts3soundboard/sinusbot.log"
LicenseKey = "<zip>"
DisableLocalXServer = false
DebugLocalXServer = false
IsProxied = false

[StreamRewrites]

[Scripts]
AllowReload = false


_______

Jemand einen Tipp für mich ?
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Sieht nach einem allgemeinen Problem aus. Ton an sich läuft? Kannst du ggf. mal die Firewall auf dem Loopback-Interface (lo) ausschalten? Das dürfte die Sicherheit nicht gefährden.
 

Crayne

Donor
is awesome!
Bot rennt soweit hervorragend .. bin nur noch am Feintunen ...

folgende Befehle eingehämmert :
Code:
ufw allow from 127.0.0.0/8
ufw allow in on lo0
ufw allow out on lo0

so sieht der ufw status jetzt aus :

Status: active

To Action From
-- ------ ----
22 ALLOW Anywhere
22/tcp ALLOW Anywhere
8087/tcp ALLOW Anywhere
Anywhere on lo0 ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)
22/tcp (v6) ALLOW Anywhere (v6)
8087/tcp (v6) ALLOW Anywhere (v6)
Anywhere (v6) on lo0 ALLOW Anywhere (v6)

Anywhere ALLOW OUT Anywhere on lo0
Anywhere (v6) ALLOW OUT Anywhere (v6) on lo0
___


log nach Restart :
2015-10-22T15:38:52+02:00 Could not upload avatar: Post http://127.0.0.1:8557/api/v1/avatar: dial tcp 127.0.0.1:8557: connection refused
2015-10-22T15:38:52+02:00 Could not set description
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Hmm, kannst du den Bot mal beenden und gucken, ob noch alte Client-Prozesse laufen und die ggf. manuell killen, bevor du den Bot neu startest?
 

Crayne

Donor
is awesome!
nach einem kompletten reboot, selbe Fehlermeldung.

2015/10/22 15:53:30 aeaceac3 affb4100 INFO Auto-Playing last track
2015/10/22 15:53:30 aeaceac3 affb4100 DEBUG Could not delete from Notificationsno such table: Notifications
2015/10/22 15:53:30 aeaceac3 affb4100 DEBUG Could not insert into Notifications-Tableno such table: Notifications
2015/10/22 15:53:30 aeaceac3 affb4100 DEBUG Could not delete from Notificationsno such table: Notifications
2015/10/22 15:53:30 aeaceac3 affb4100 DEBUG Could not insert into Notifications-Tableno such table: Notifications
2015/10/22 15:53:30 aeaceac3 affb4100 WARN Could not set description
2015/10/22 15:53:30 aeaceac3 affb4100 WARN Could not upload avatar: Post http://127.0.0.1:8557/api/v1/avatar: dial tcp 127.0.0.1:8557: connection refused
2015/10/22 15:53:30 aeaceac3 affb4100 DEBUG New channel
2015/10/22 15:53:30 aeaceac3 affb4100 INFO Starting instance ts3server:/

... warum wird denn erst der Avatar geladen dann die Instanz gestartet ?
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
2015/10/22 15:53:30 aeaceac3 affb4100 WARN Could not upload avatar: Post http://127.0.0.1:8557/api/v1/avatar: dial tcp 127.0.0.1:8557: connection refused
2015/10/22 15:53:30 aeaceac3 affb4100 DEBUG New channel
2015/10/22 15:53:30 aeaceac3 affb4100 INFO Starting instance ts3server:/

... warum wird denn erst der Avatar geladen dann die Instanz gestartet ?

Ich vermute dabei handelt es sich einfach um eine verzögerung wie die Logroutine die Daten schmeisst ;)
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Ach moment - funktioniert es denn dann beim zweiten Track, wenn der Bot schon ein paar Minuten online war?
 

Crayne

Donor
is awesome!
Nein... hatte ich schon geschaut - funktioniert ebenfalls nicht ..

aber ich schau grade mal wie gross die max Avatargroesse ist in der Usergroup ...
wobei dann aber ein "connection refused" nicht passen würde...
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Phew ;) Ich muss da wohl mal mehr Checks einbauen...
 
Status
Not open for further replies.
Top