Read-only file system

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
twm
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Mon May 12, 2008 5:45 pm

Read-only file system

Post by twm »

Since upgrading to 2.5, I am having trouble correctly displaying graphs or uploading data to my website.

When I try to create a new graph, I get:

Code: Select all

Error file open: /data/graphs/__test.mg: Read-only file system
[/color]

It also appears that existing graphs are not being created or uploaded, although when I look in the logs, it appear that the cron jobs are running.

Any help would be appreciated. I'm currently running 2.5c

Thanks.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7910
Joined: Mon Oct 01, 2007 10:51 pm

Re:Read-only file system

Post by admin »

If you have not pulled the USB stick during operation this is a clear indication that the USB stick or NSLU2 are not working correctly. Try to save your weather data and setup a new USB stick from the USB stick images from scratch.

There is no other cure for a corrupted file system. sorry.
follower
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Sun Mar 23, 2008 6:05 am
Location: Jet Oklahoma USA
Contact:

Re:Read-only file system

Post by follower »

I had a similar problem after updating. I couldn't get the application backup to work on the older level so I saved the weather files with copy and paste with windows to save on windows from meteohub. After restoring the files the graphs failed on the newer level (2.4e). I my case I think I edited the raw weather files with windows using KEDIT which put carriage return and line feeds for the end of line code. Linux expects only a line feed. I was able to get things going again by setting the editor option to encode the end of line with line feed only. Also I found some garbage in the raw file which I deleted and then I sorted the records to make sure they were in order by time recorded. It still would not work until I found some duplicate records in the raw file and deleted the extra records. Of course I had to have meteohub recalculate the weather data in order to make the graphs work OK.
-- Good Luck Paul B
follower
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: Sun Mar 23, 2008 6:05 am
Location: Jet Oklahoma USA
Contact:

Re:Read-only file system

Post by follower »

I just now noticed this part of your post:

Code:
Error file open: /data/graphs/__test.mg: Read-only file system

My meteohub system remounted to read-only also. I saw the remount message in the log. It set it a while after a startup. You could change files right after a restart, but after a while it would become read-only. This was after I had updated meteohub, but did not have the compatible firmware installed. After updating firmware to 2.6.21.7 I think from 2.6.16.... that problem went away.

Paul
Post Reply