Missing index.html

53 views
Skip to first unread message

Jiří Sachl

unread,
Feb 3, 2017, 9:21:14 AM2/3/17
to weewx-user
After installation (3x apt-get purge, 3x apt-get install) still missing index.html in / var / www / html / weewx /. Help someone to repair it?

root@weewx:/media/data# weewxd weewx.conf
Traceback (most recent call last):
 
File "/usr/bin/weewxd", line 64, in <module>
    weewx
.engine.main(options, args)
 
File "/usr/share/weewx/weewx/engine.py", line 841, in main
    engine
= engine_class(config_dict)
 
File "/usr/share/weewx/weewx/engine.py", line 76, in __init__
   
self.loadServices(config_dict)
 
File "/usr/share/weewx/weewx/engine.py", line 140, in loadServices
   
self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
 
File "/usr/share/weewx/user/cmon.py", line 676, in __init__
    initialize
=True)
 
File "/usr/share/weewx/weewx/manager.py", line 823, in get_manager
    default_binding_dict
=defaults)
 
File "/usr/share/weewx/weewx/manager.py", line 938, in get_manager_dict_from_config
    database
)
 
File "/usr/share/weewx/weewx/manager.py", line 890, in get_database_dict_from_config
   
raise weewx.UnknownDatabase("Unknown database '%s'" % e)
weewx
.UnknownDatabase: Unknown database ''cmon_mysql''
root@weewx
:/media/data#


weewx.conf

mwall

unread,
Feb 3, 2017, 9:31:44 AM2/3/17
to weewx-user
On Friday, February 3, 2017 at 9:21:14 AM UTC-5, Jiří Sachl wrote:
After installation (3x apt-get purge, 3x apt-get install) still missing index.html in / var / www / html / weewx /. Help someone to repair it?

the conf file you posted does not contain cmon_mysql.  are you certain that it is the conf file that generated the error you posted?

get weewx to run first.  then start adding extensions.

m

Jiří Sachl

unread,
Feb 3, 2017, 9:52:30 AM2/3/17
to weewx...@googlegroups.com
minimal 3x weewx restart, weewx reload, rasp. reboot


--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/pnM1es2eQwU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jiří Sachl

unread,
Feb 3, 2017, 10:15:03 AM2/3/17
to weewx...@googlegroups.com
login as: root
ro...@192.168.1.4's password:
Linux weewx 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Feb  3 15:51:00 2017 from 192.168.1.5
root@weewx:~# /etc/init.d/weewx status
[ ok ] Status of weewx weather system: not running.
root@weewx:~# dpkg-reconfigure weewx
[ ok ] Stopping weewx weather system: weewx not running....
using debconf configuration values from previous install

Setting record_generation to software.
Saved configuration to /etc/weewx/weewx.conf
[ ok ] Starting weewx weather system: weewx.
root@weewx:~#


Jiří Sachl

unread,
Feb 3, 2017, 10:36:46 AM2/3/17
to weewx...@googlegroups.com
then reboot

login as: root
ro...@192.168.1.4's password:
Linux weewx 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Feb  3 15:51:00 2017 from 192.168.1.5
root@weewx:~# /etc/init.d/weewx status
[ ok ] Status of weewx weather system: not running.
root@weewx:~# dpkg-reconfigure weewx
[ ok ] Stopping weewx weather system: weewx not running....
using debconf configuration values from previous install

Setting record_generation to software.
Saved configuration to /etc/weewx/weewx.conf
[ ok ] Starting weewx weather system: weewx.
root@weewx:~# reboot

Broadcast message from root@weewx (pts/1) (Fri Feb  3 16:15:50 2017):

The system is going down for reboot NOW!
root@weewx:~#


Jiří Sachl

unread,
Feb 3, 2017, 10:53:58 AM2/3/17
to weewx...@googlegroups.com
after reboot
root@weewx:~# /etc/init.d/weewx status
[ ok ] Status of weewx weather system: running.
root@weewx:~#

nothing more
I was truly exhausted all possibilities, yesterday complete reinstallation raspberry

Andrew Milner

unread,
Feb 3, 2017, 11:24:10 AM2/3/17
to weewx-user
How about posting
1) the logfile
2) the output from running wee_debug
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

Thomas Keffer

unread,
Feb 3, 2017, 11:30:20 AM2/3/17
to weewx-user
I've found that when trying to help people with limited English skills, it's best to have one person handle the exchange. Otherwise, the user has to follow a confusing mish-mash of solution paths. 

Matthew is on this one. 

-tk

--
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+unsubscribe@googlegroups.com.

Jiří Sachl

unread,
Feb 3, 2017, 12:32:17 PM2/3/17
to weewx...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages