Try as root

mkdir -p /var/www/html/weewx/

Then start weewx

On Saturday, March 2, 2019 at 12:11:25 PM UTC-8, Ashley Gibbon wrote:
>
> I ran *"sudo weewxd /etc/weewx/weewx.conf"*
>
> *With the su it is working and recording data now.*
>
> *Should that be needed? *
>
> *Thanks*
>
>
>
>
> On Saturday, March 2, 2019 at 2:47:31 PM UTC-5, vince wrote:
>>
>>
>> > weewx[2455]:         ****  IOError: [Errno 2] No such file or 
>> directory: '/var/www/html/weewx/'
>>
>> That one is you 'likely' did not yet install a webserver, so the parent 
>> /var/www/html tree is not there.
>>
>> > Replace failed for database weewx.sdb: attempt to write a readonly 
>> database
>>
>> This typically is a corrupted SD 'or' the pi is too busy at that time for 
>> some reason.
>>
>> I'd probably work the 'no such file or directory' issue first.
>> Install a webserver (nginx works great on a pi) and see if that helps...
>>
>>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to