Airflow - Blank, Not showing “Recent Tasks” and “DAG Runs” - airflow

I installed Airflow on Amazon ec2, But "Recent Tasks" and "DAG Runs" in the Web UI are blank. All I see are a black dotted circle which keeps loading.
How can I fix it?
I've checked a similar question, but I don't think that's not my case.
Airflow 1.10.3 - Blank "Recent Tasks" and "DAG Runs"

Related

I'm having a problem with firebase when i deploy my project

I made an application and finished it, and wanted to upload it to firebase. When I type in the terminal "firebase deploy", everything appears fine, then the link to the site appears in the terminal normally.
But when I click on it to open the site, a message appears saying:
Firebase Hosting Setup Complete
You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!
As you can see in the attached picture!
Make sure that index.html inside build folder and the one outside the build folder must be the same.
If they are same then try reloading after some time. When I was having the same issue it worked without doing anything and reloading after sometime (in my case around 10-15 minutes)
Here is a github issue that has detailed discussion on this.
https://github.com/coreui/coreui-react/issues/55

Apache Airflow Webserver Log In Failed

I realise this is a duplicate of thousands of posts across the internet, but I have only found solutions for version <2.0, and those solutions do not apply to >2.0.
Basically, I have installed Apache Airflow on an Ubuntu system. Everything installed fine, as far as I see from command line, and I first create a user:
airflow users create --role Admin --username admin --email admin --firstname admin --lastname admin --password admin
And then from here I start up the webserver and scheduler:
airflow webserver -p 8585 > ${AIRFLOW_HOME}/logs/webserver.log 2>&1 &
airflow scheduler > ${AIRFLOW_HOME}/logs/scheduler.log 2>&1 &
And then I can access the webserver via "http://<HOST_IP>:8585" - This loads to the log in screen no problem.
But when I try to log in using the user details initially created, or by using my OS user (on the off-chance), it just fails with "Invalid login." I've tried restarting the webserver and Ubuntu to no avail.
I've used Airflow <2.0 in the past and never even created a user and just logged in straight away, so I'm really blank on what the answer is here. I absolutely hate Airflow and am loosing my mind just trying to log in, so a massive thanks for any help!
Okay, sooo I managed to get it running with login potential. I think I've discovered the issue, at least, and can re-create the problem, though frankly I have ZERO idea why it IS an issue (software coded issue??).
Basically, I had to run the install processes above as ROOT user. I was trying to run it as my admin user, but it kept resulting in the log in issue above - I did notice however that all install guides appear to use the ROOT user, so I gave it a shot in case it was as annoyingly simple as that, and VOILA!! First time logged in.
I did stop the software running at this point, quickly restart it as my admin user and immediately got the same login issue. There's something odd going on here, and I don't know what it is, but when in doubt: Try ROOT.
Solution- Create user again
I ran into the same issue. I had created an Admin user using the same command and after some changes to my config file, I ran airflow db init. After this when I started the webserver, I tried logging in with my admin credentials, but no luck. When I checked the logs, it showed me -
WARNING - No user yet created, use flask fab command to do it.
So I created the user again and it worked.

silverstripe internal server error when unpublishin pages

I'm having problems removing pages from a fresh Silverstripe installation (version 4.2.1).
What I'm doing is:
Press batch action
Select the page I want to remove
Choose "Unpublish and archive" in the dropdown
Press go button
The result is a popup saying "Internal Server error".
I have tested this on multiple installations with the same error.
It is probably something wrong with my setup (I'm using MAMP 4.5).
But viewing the logs doesn't reveal any problems. I have checked the following logs:
apache_error.log
mysql_error.log
php_error.log
I have also set the SS_ENVIRONMENT_TYPE = "dev" in .env file.
Is there somewhere else where I can get a more explaining error message so I can find out what the problem is?
This is a bug in Silverstripe: https://github.com/silverstripe/silverstripe-admin/issues/579

Creating a Wordpress app using Microsoft Azure

I am trying to create a Wordpress app using the official WordPress resource from the market place.
I fill out all of my settings as usual, like the website name, resource group and also, the ClearDB database I made.
Everything shows up correctly. My website name is valid, the resource group is correct etc.
But when I hit create, My app name is labelled as "not available" for about 1 second. This then goes away and the "create" button greys out, and now says validating. When this is done, I am taken to a page with an icon of a cloud with a drop of rain. Chrome then prompts me that my unsaved changes will be discarded. I click cancel and it appears again in an instant. If I click 'okay', then everything is cleared, and I ha ve to enter it all over again, only for the whole problem to occur once again.
Please Help!!!!
Thanks, Sean.

Is it possible to to rerun a web-crawler in import.io?

My computer shut down in the middle of running the crawler and now I need to rerun it.
You simply can click the edit button on your my data page and re-run the crawler.

Resources