czosek | 2019-04-21 16:21:49 UTC | #1
Jakieś pomysły co jest problemem ?
16:09:11.5374| INFO [============ TS3AudioBot started =============]
16:09:11.7200| INFO [=== Date/Time: Sunday, 21 April 2019 16:09:11
16:09:11.7356| INFO [=== Version: 0.9.1/master/55466f28
16:09:11.7356| INFO [=== Platform: Ubuntu 16.04.6 LTS (Xenial Xerus) (64bit)
16:09:11.7356| INFO [=== Runtime: Mono (5.20.1.19 (tarball Thu Apr 11 09:09:21 UTC 2019))
16:09:11.7356| INFO [=== Opus: libopus 1.2.1 (x64)
16:09:11.7356| INFO [==============================================]
16:09:12.3085|FATAL Critical program failure!.
16:09:12.3413|FATAL Critical program failure!.
16:09:12.3439| INFO TS3AudioBot shutting down.
16:09:12.3439| INFO TS3AudioBot shutting down.
exception inside UnhandledException handler: (null) assembly:/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll type:SocketException member:(null)
[ERROR] FATAL UNHANDLED EXCEPTION: System.UnauthorizedAccessException: Access to the path "/home/audiobot/bot/ts3audiobot.db" is denied.
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <6649516e5b3542319fb262b421af0adb>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <6649516e5b3542319fb262b421af0adb>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
at LiteDB.FileDiskService.CreateFileStream (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <0e7fe05a592849968cfe23dfc2a26585>:0
at LiteDB.FileDiskService.Initialize (LiteDB.Logger log, System.String password) [0x00081] in <0e7fe05a592849968cfe23dfc2a26585>:0
at LiteDB.LiteEngine..ctor (LiteDB.IDiskService disk, System.String password, System.Nullable`1[T] timeout, System.Int32 cacheSize, LiteDB.Logger log, System.Boolean utcDate) [0x00119] in <0e7fe05a592849968cfe23dfc2a26585>:0
at LiteDB.LiteDatabase+<>c__DisplayClass11_0.<.ctor>b__0 () [0x0006b] in <0e7fe05a592849968cfe23dfc2a26585>:0
at LiteDB.LazyLoad`1[T].get_Value () [0x00021] in <0e7fe05a592849968cfe23dfc2a26585>:0
at LiteDB.LiteCollection`1[T].EnsureIndex (System.String field, System.String expression, System.Boolean unique) [0x00013] in <0e7fe05a592849968cfe23dfc2a26585>:0
at LiteDB.LiteCollection`1[T].EnsureIndex[K] (System.Linq.Expressions.Expression`1[TDelegate] property, System.String expression, System.Boolean unique) [0x00026] in <0e7fe05a592849968cfe23dfc2a26585>:0
at LiteDB.LiteCollection`1[T].EnsureIndex[K] (System.Linq.Expressions.Expression`1[TDelegate] property, System.Boolean unique) [0x00000] in <0e7fe05a592849968cfe23dfc2a26585>:0
at TS3AudioBot.Sessions.TokenManager.Initialize () [0x00055] in <5f65d602ca3e4203b5d0f9de8d11d691>:0
at TS3AudioBot.Core+<>c.<Run>b__26_3 (TS3AudioBot.Sessions.TokenManager x) [0x00000] in <5f65d602ca3e4203b5d0f9de8d11d691>:0
at TS3AudioBot.Dependency.DependencyRealm+<>c__DisplayClass6_0`1[TMod].<RegisterModule>b__0 (System.Object x) [0x00000] in <5f65d602ca3e4203b5d0f9de8d11d691>:0
at TS3AudioBot.Dependency.Module.SetInitalized () [0x0002c] in <5f65d602ca3e4203b5d0f9de8d11d691>:0
at TS3AudioBot.Dependency.DependencyRealm.TryResolve (TS3AudioBot.Dependency.Module module, System.Boolean force) [0x00013] in <5f65d602ca3e4203b5d0f9de8d11d691>:0
at TS3AudioBot.Dependency.DependencyRealm.DoQueueInitialize (System.Boolean force) [0x00027] in <5f65d602ca3e4203b5d0f9de8d11d691>:0
at TS3AudioBot.Dependency.DependencyRealm.RegisterModule (System.Object module, System.Action`1[T] onInit) [0x00014] in <5f65d602ca3e4203b5d0f9de8d11d691>:0
at TS3AudioBot.Dependency.DependencyRealm.RegisterModule[TMod] (TMod module, System.Action`1[T] onInit) [0x00025] in <5f65d602ca3e4203b5d0f9de8d11d691>:0
at TS3AudioBot.Core.Run (System.Boolean interactive) [0x00165] in <5f65d602ca3e4203b5d0f9de8d11d691>:0
at TS3AudioBot.Core.Main (System.String[] args) [0x0009b] in <5f65d602ca3e4203b5d0f9de8d11d691>:0
Lumpiasty | 2019-04-21 16:44:57 UTC | #3
Masz źle ustawione uprawnienia (wow, ameryka)
sudo chown -R user:group /home/audiobot/bot
sudo chmod -R 755 /home/audiobot/bot
user podmień na nazwę użytkownika, a group za nazwę grupy użytkownika (najczęściej taka sama)
I nie słuchaj @KrEdEnS, jak już doszedłeś do tego momentu to już to masz ;)
system | 2019-05-23 16:29:07 UTC | #4
Ten temat został automatycznie zamknięty 32 dni po ostatnim wpisie. Tworzenie nowych odpowiedzi nie jest już możliwe.