You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error occurs because the Errsole Web Dashboard, which runs on port 8001 by default, is initialized more than once on the same server. Here are solutions based on different scenarios:
Running Multiple Apps on a Server
Errsole is designed to collect logs from a single app. If you have multiple apps on the same server:
Dedicated Databases: Create a dedicated database for collecting logs for each app. If your apps already use separate databases, you can use the same databases to store their logs.
Different Ports: Run the Errsole Web Dashboards for different apps on different ports. You can configure the port using the port option in the Errsole module configuration. Advanced Configuration
Running a Script (e.g., a Cron Job)
Scripts are not long-living processes, so you don't need a dedicated Web Dashboard for them. Instead:
Save logs to the same database used by your main app.
Use the Web Dashboard of your main app to view the script logs.
Set the enableDashboard option to false in the Errsole configuration for the script. Advanced Configuration
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This error occurs because the Errsole Web Dashboard, which runs on port 8001 by default, is initialized more than once on the same server. Here are solutions based on different scenarios:
Running Multiple Apps on a Server
Errsole is designed to collect logs from a single app. If you have multiple apps on the same server:
Dedicated Databases: Create a dedicated database for collecting logs for each app. If your apps already use separate databases, you can use the same databases to store their logs.
Different Ports: Run the Errsole Web Dashboards for different apps on different ports. You can configure the port using the
port
option in the Errsole module configuration. Advanced ConfigurationRunning a Script (e.g., a Cron Job)
Scripts are not long-living processes, so you don't need a dedicated Web Dashboard for them. Instead:
enableDashboard
option tofalse
in the Errsole configuration for the script. Advanced ConfigurationBeta Was this translation helpful? Give feedback.
All reactions