I am quite sure there is more than just "Main process exited" in /var/log/syslog. The general procedure to find the reasons of errors is to set debug=1, then restart WeeWX, then wait for 2 archive cycles if possible, then inspect /var/log/syslog.
If one of those files referred within the open() statements do not exist or the name is misspelled, then WeeWX will crash. May be you can start with one of those open() statements, commenting out all the others. If you find no more errors within that statement, you can uncomment the next etc. pp. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/0faa0f4b-4670-4820-b83e-355f3d3a9694n%40googlegroups.com.