The database does not exist. on linux

Monday, November 25, 2024 4:32:50 PM
  • Posted: Tuesday, October 19, 2021 7:41 PM
  • 11
I was able to install Grandnode on linux but after all, I am getting simple page with only "The database does not exist." message on it. Any idea?
0
  • Posted: Tuesday, October 19, 2021 7:51 PM
  • 11
I tried deleting database and all files to force a new install. But I am still seing The database does not exist in browser. What is this?
0
  • Posted: Wednesday, October 20, 2021 11:45 AM
  • 953
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
0
  • Posted: Wednesday, October 20, 2021 12:51 PM
  • 953
Well, we are not able to simulate this kind of issue on our environments, so it has to be something with the configuration of the server, maybe permissions.
Best regards,
Patryk

GrandNode Team
0
  • Posted: Wednesday, October 20, 2021 12:55 PM
  • 11
I can not enable logging in linux. Is there a hint to see logs ?
0
  • Posted: Wednesday, October 20, 2021 12:56 PM
  • 953
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
0
  • Posted: Friday, October 22, 2021 6:23 AM
  • 11
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
0
  • Posted: Friday, October 22, 2021 7:11 AM
  • 953
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
0
  • Posted: Monday, December 20, 2021 6:43 AM
  • 2
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.
0
  • Posted: Monday, December 20, 2021 6:46 AM
  • 2
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.
0
back to top
Filters