The database does not exist. on linux
Monday, November 25, 2024 4:32:50 PM
It looks like you have an empty or broken settings.cfg file in the App_Data, please look at it. Database deletion won't help in that case, to trigger the installation screen again, you will need to remove InstalledPlugins.cfg and Settings.cfg files from App_Data and restart the application.
Best regards,
Patryk
GrandNode Team
Patryk
GrandNode Team
0
Sure, open the appsettings.json file, you will find it in the App_Data folder. Scroll down to the Serilog section and remove the comments from it. It will create a log.txt file in the main directory of GrandNode, where app will log everything.
Best regards,
Patryk
GrandNode Team
Patryk
GrandNode Team
0
Ok what I see in log is:
System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : "1", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/localhost:27017" }", EndPoint: "Unspecified/localhost:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
---> System.Net.Sockets.SocketException (111): Connection refused
System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 } }. Client view of cluster state is { ClusterId : "1", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/localhost:27017" }", EndPoint: "Unspecified/localhost:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server.
---> System.Net.Sockets.SocketException (111): Connection refused
0
It means that application is not able to connect to the MongoDB server. It may be caused by providing wrong connection string, password, username, by wrong permissions, closed ports. It's hard to predict, but it's not related to application.
Best regards,
Patryk
GrandNode Team
Patryk
GrandNode Team
0
Hi after enabling
log.txt
2021-12-20 06:34:24.071 +00:00 [FTL] Application startup exception
System.Exception: No store could be loaded
at Grand.Web.Common.StoreHelper.get_StoreHost() in /root/source/grandnode2/src/Web/Grand.Web.Common/StoreHelper.cs:line 82
at Grand.Web.Common.Infrastructure.ServiceCollectionExtensions.<>c__DisplayClass8_0.<AddSettings>b__1(IServiceProvider x) in /root/source/grandnode2/src/Web/Grand.W>
initially no database found upon restart An error occurred while starting the application is showing with browser.
log.txt
2021-12-20 06:34:24.071 +00:00 [FTL] Application startup exception
System.Exception: No store could be loaded
at Grand.Web.Common.StoreHelper.get_StoreHost() in /root/source/grandnode2/src/Web/Grand.Web.Common/StoreHelper.cs:line 82
at Grand.Web.Common.Infrastructure.ServiceCollectionExtensions.<>c__DisplayClass8_0.<AddSettings>b__1(IServiceProvider x) in /root/source/grandnode2/src/Web/Grand.W>
initially no database found upon restart An error occurred while starting the application is showing with browser.
0
MD wrote:
Hi after enabling
log.txt
client_loop: send disconnect: Connection reseton startup exception
System.Exception: No store could be loaded
2021-12-20 06:34:24.071 +00:00 [FTL] Application startup exception
System.Exception: No store could be loaded
at Grand.Web.Common.StoreHelper.get_StoreHost() in /root/source/grandnode2/src/Web/Grand.Web.Common/StoreHelper.cs:line 82
at Grand.Web.Common.Infrastructure.ServiceCollectionExtensions.<>c__DisplayClass8_0.<AddSettings>b__1(IServiceProvider x) in /root/source/grandnode2/src/Web/Grand.W>
initially no database found upon restart An error occurred while starting the application is showing with browser.
log.txt
client_loop: send disconnect: Connection reseton startup exception
System.Exception: No store could be loaded
2021-12-20 06:34:24.071 +00:00 [FTL] Application startup exception
System.Exception: No store could be loaded
at Grand.Web.Common.StoreHelper.get_StoreHost() in /root/source/grandnode2/src/Web/Grand.Web.Common/StoreHelper.cs:line 82
at Grand.Web.Common.Infrastructure.ServiceCollectionExtensions.<>c__DisplayClass8_0.<AddSettings>b__1(IServiceProvider x) in /root/source/grandnode2/src/Web/Grand.W>
initially no database found upon restart An error occurred while starting the application is showing with browser.
0