Code Monkey home page Code Monkey logo

inotify's Introduction

inotify

docker

一个简易的消息通知系统,支持企业微信、电报机器人、邮件推送

类似Server酱、容易扩展

功能支持

  • 通道设置
  • 用户管理
  • 系统状态
  • 代理设置
  • Github登陆
  • 外部日志

通道支持

  • 企业微信应用消息
  • 电报机器人消息
  • SMTP邮箱消息
  • BARK
  • 钉钉群机器人
  • 飞书群机器人
  • 自定义

使用方法

  1. Docker安装
  • 发布版
docker run --name=inotify -d -p 8000:80 -v inotify_data:/inotify_data --restart=always xpnas/inotify:latest
  • 开发版
docker run --name=inotify -d -p 8000:80 -v inotify_data:/inotify_data --restart=always xpnas/inotify:master
  1. 配置Nginx代理
server
{
  location / { proxy_pass http://127.0.0.1:8000; }
}
  1. 进入Github/Settings/Developer settings/OAuth Apps创建应用
    • 记录Client ID,创建Client secrets
    • Authorization callback URL回调地址填写https://{您的域名}/api/oauth/githubLogin
  2. 使用默认用户名admin,密码123456登陆后台/全局参数,修改Github登陆的应用ID应用密钥并启动登陆
  3. 建议将管理权限的用户名设置成自己的github用户名,再使用Github登陆后,在用户管理页面删除默认账号admin

BARK设置

  1. 本项目依据Bark-Server接口规范实现了内置BARK服务端
  2. 复制或扫码消息验证\BARK授权中的地址,填入BARK应用的服务器地址中,如https://inotify.cf?act=6D474C0DB1474F19BD8F7342D570C0FC
  3. BARK的APP会自动在本系统注册数据,记录将直接出现在消息通道

系统截图

inotify's People

Contributors

cxfksword avatar dependabot[bot] avatar xpnas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

inotify's Issues

有没有计划开通 post 接口?

感谢作者的辛勤付出,东西非常棒!
get 请求的方式发送消息,会受限于url长度,不知道作者有没有计划开发 post 请求接口。
谢谢

邮箱发送失败

同步推送了电报、钉钉、企业微信、邮件,发送成功,只有邮件没有收到。
单独测试邮件发送,也发送成功,但未收到。
邮箱里发件箱里没有原始邮件。

使用的是163的邮箱,一直都在使用这个邮箱在发通知邮件。
怎么看日志啊

bark推送异常

多次测试,bark的推送可以收到消息,但是无法保存和查看历史记录

包含中文链接推送失败

用Air780E+ESP32C3 推送短信,不含内容中文时成功,包含中文时一直失败,用群晖docker搭建的,请问有什么办法处理?

开发版bark报错

Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.AggregateException: One or more errors occurred. (corrupted stream - out of bounds length found: 147 >= 48)
---> System.IO.IOException: corrupted stream - out of bounds length found: 147 >= 48
at Org.BouncyCastle.Asn1.Asn1InputStream.ReadLength(Stream s, Int32 limit, Boolean isParsing) in //crypto/src/asn1/Asn1InputStream.cs:line 306
at Org.BouncyCastle.Asn1.Asn1InputStream.ReadObject() in /
/crypto/src/asn1/Asn1InputStream.cs:line 185
at Org.BouncyCastle.Asn1.Asn1Object.FromByteArray(Byte[] data) in //crypto/src/asn1/Asn1Object.cs:line 22
at Org.BouncyCastle.Security.PrivateKeyFactory.CreateKey(Byte[] privateKeyInfoData) in /
/crypto/src/security/PrivateKeyFactory.cs:line 33
at CorePush.Utils.AppleCryptoHelper.GetEllipticCurveAlgorithm(String privateKey) in /src/Inotify/ThridPart/CorePush/Utils/AppleCryptoHelper.cs:line 13
at CorePush.Apple.ApnSender.CreateJwtToken() in /src/Inotify/ThridPart/CorePush/Apple/ApnSender.cs:line 134
at CorePush.Apple.ApnSender.b__9_0(String _) in /src/Inotify/ThridPart/CorePush/Apple/ApnSender.cs:line 115
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory)
at CorePush.Apple.ApnSender.GetJwtToken() in /src/Inotify/ThridPart/CorePush/Apple/ApnSender.cs:line 115
at CorePush.Apple.ApnSender.SendAsync(Object notification, String deviceToken, String apnsId, Int32 apnsExpiration, Int32 apnsPriority, Boolean isBackground, CancellationToken cancellationToken) in /src/Inotify/ThridPart/CorePush/Apple/ApnSender.cs:line 86
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at CorePush.Apple.ApnSender.Send(Object notification, String deviceToken, String apnsId, Int32 apnsExpiration, Int32 apnsPriority, Boolean isBackground, CancellationToken cancellationToken) in /src/Inotify/ThridPart/CorePush/Apple/ApnSender.cs:line 63
at Inotify.Sends.Products.BarkSendTemplate.SendMessage(SendMessage message) in /src/Inotify/Sends/Products/BarkSendTemplate.cs:line 67
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Inotify.Sends.SendTaskManager.SendWork(Thread thread) in /src/Inotify/Sends/SendTaskManager.cs:line 179
at Inotify.Sends.SendTaskManager.<>c__DisplayClass12_0.b__0(Object e) in /src/Inotify/Sends/SendTaskManager.cs:line 85
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)

Telegram.Bot包使用了有BUG的版本,新申请的机器人无法使用该功能

版本

发布版docker

现象

调用接口显示成功,实际未成功发送

复现方式

配置一个tg发送的消息类型(已检查bottoken格式正确,手动使用curl无问题)

日志

Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.ArgumentException: Invalid format. A valid token looks like "1234567:4TT8bAc8GHUspu3ERYn-KGcvsvGB9u_n4ddy". (Parameter 'token')
   at Telegram.Bot.TelegramBotClient..ctor(String token, HttpClient httpClient)
   at Inotify.Sends.Products.TelegramBotSendTemplate.SendMessage(SendMessage message) in /src/Inotify/Sends/Products/TelegramBotSendTemplate.cs:line 29
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Inotify.Sends.SendTaskManager.SendWork(Thread thread) in /src/Inotify/Sends/SendTaskManager.cs:line 179
   at Inotify.Sends.SendTaskManager.<>c__DisplayClass12_0.<Run>b__0(Object e) in /src/Inotify/Sends/SendTaskManager.cs:line 85
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)

后台设置截图

图片

使用中的两点问题

1、请问能不能换行,用什么符号,常见的都无效。
2、用户名改了github账号,用github重登录还是不会识别为管理员

稳定版报错

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

Unhandled exception. System.TypeInitializationException: The type initializer for 'Inotify.Sends.SendCacheStore' threw an exception.

---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such table: systemInfo'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()

at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)

at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.ExecuteReader()

at NPoco.Database.<>c__DisplayClass298_0.<ExecuteReaderHelper>b__0()

at NPoco.Database.ExecutionHook[T](Func`1 action)

at NPoco.Database.ExecuteReaderHelper(DbCommand cmd)

at NPoco.Database.ExecuteDataReader(DbCommand cmd, Boolean sync)

at NPoco.AsyncHelper.RunSync[T](Task`1 task)

at NPoco.Database.QueryImp[T](T instance, Expression`1 listExpression, Func`2 idFunc, Sql Sql, PocoData pocoData)+MoveNext()

at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

at NPoco.Linq.QueryProvider`1.ToList()

at Inotify.Sends.SendCacheStore..cctor() in /src/Inotify/Sends/SendCacheStore.cs:line 19

--- End of inner exception stack trace ---

at Inotify.Sends.SendCacheStore.GetSystemValue(String key) in /src/Inotify/Sends/SendCacheStore.cs:line 41

at Inotify.Sends.SendTaskManager.Run() in /src/Inotify/Sends/SendTaskManager.cs:line 80

at Inotify.Program.Main(String[] args) in /src/Inotify/Program.cs:line 15

镜像不兼容arm架构?

我使用甲骨文的arm服务器,ubuntu20系统,提示错误
standard_init_linux.go:228: exec user process caused: exec format error

查了一下,应该是架构镜像时未做arm架构的兼容。
ps:我使用的是开发版镜像。

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.