Leuven Templates and Meteobridge+error

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
ursus
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Sun May 24, 2015 6:18 pm

Leuven Templates and Meteobridge+error

Post by ursus »

Hi !

Everithing goes fine with instalation but at the end :

Image

Image

Image

Only realtime.txt (gauges) works fine ?
Folder permissions are set correct...
Any idea what is going (i am doing) wrong ?

BRegards
User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 606
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: Leuven Templates and Meteobridge+error

Post by wvdkuil »

You have to set the permissions for the upload folder correctly or the two files get a special owner.

The meteobridge is successful in uploading but as the error message says, the meteobridge can not delete the old file.
First rename the current tags.php and yfwindow.xml to old..... Using your own ftp program.
Then probably meteobridge can upload its own files.

Also check if the folder uploadMB and the contents of the folder are set to 755.
Check the wiki

The uploaded temporary tags.php file is only zero characters long.
The template file could not be loaded by Meteobridge, again probably a permission setting or an extra space in the file name.
The yowindow.txt template was loaded as the uploaded temporary file has a normal length.

Succes,
Wim
ursus
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Sun May 24, 2015 6:18 pm

Re: Leuven Templates and Meteobridge+error

Post by ursus »

Sorry ,no success :(
User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 606
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: Leuven Templates and Meteobridge+error

Post by wvdkuil »

ursus wrote:Sorry ,no success :(
Well that is very strange

1. There are error messages as clear as tap-water.
1.1 "Error (event #o3) . . . .download of template failed error 404 not found"
In red at the top of the tab.

Did you solve that?
You removed the website name so I can not test that URL. Nobody can help you, only yourself.

Maybe there is an invisible space character after the name or another character I can not see that, you can.
Maybe there is a typing error in the area you blacked out? Only you can check that.

1.2 Error on live data tab:
"Could not delete old /public_html/weather2/uploadMB.tags.php . . . . . "

I realy do not know what is so difficult to understand there. Your permissions are not set correctly. Nearly every FTP program uploads a temp file, when finished uploading it deletes the old file and renames the temp. That way the scripts do not read a partly uploaded file as uploading takes a "long" time in script terms.
So in this case the FTP program is not allowed to delete the old file. I can not help you, only you can solve that.

These are not " Leuven-Template" problems, certainly not errors. And in my humble opinion certainly not meteobridge errors either.
These are your permissions as set on the uploadMB folder and ITS CONTENTS on the website you do not want to give the name (URL) of.

===

To do:
1. Set the permissions of the uploadMB/ folder and its contents to 755
2. Manualy change the permissions of the tags.txt file if there was no space or invisible character after the name in the FTP #02 setup
and use your browser to access that file with the text you copiued from the FTP#02 setup, just to check an invisible (to me) typing error

Then:
3. Make a screenshot of your uploadMB folder WITH the date/time fields
4. Delete the two files tags.php and yowindow.php
5. Delete the two temp files mb_+tags.php_ and mb_yowindow.php_
6. check after a few minutes if the new files arrived correctly
and if not
7. Make a second screenshot of your uploadMB folder WITH the date/time fields

If you want further answers or support you could fill a support ticket at the Leuven-Template support site .
But again without an URL there is not much I can do than guess what is the problem.

===
And the gauges work as the file used is arriving the HTTP way
which in webserver terms have a different owner compared to the FTP files
and compared to the person using a LAN to access files

Wim
Post Reply