youngmon/atlassian-qna huggingface dataset:
Where do caches show up?
Asked by Joshua von Damm:

So I have a cache that I created in pipeline1 made to setup the cache which I then use in pipeline2. This cache called "bin" is cached from the root directory in pipeline1.

The output of pipeline2 reads:

![pipeline output help.PNG](/t5/image/serverpage/image-id/142424i5A6FBC47FA2D3193/image-size/large?v=v2&px=999 "pipeline output help.PNG")

Next, in one step, I ran a "ls -la" cmd in the root, but the bin folder did not show up. That step has the line "cache: - bin", so I know it is included.

Is there a reason it is not showing up?

And when trying to access this cache, does it need something other than "cd"?


Answers:
author: Halyna Berezovska
body: [@Joshua von Damm](/t5/user/viewprofilepage/user-id/4373353) cache feature is embedded, but it works automatically, so it is supposed , that you should not cd to it or ls manually.

Anyway, caches are lying in the appropariate directory where appropriate app, like docker, would create a cache. Look at the doc, table in the section Pre-defined caches

<https://support.atlassian.com/bitbucket-cloud/docs/cache-dependencies/>

Regards, Galyna

comments: author: Joshua von Damm
body: Thanks for the reply! I should have specified that I am using a custom cache, and based on the same article you linked, it should by default be in the root dir.

But I came across a fix that I don't think should have worked.

The fix:

![cache fix.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/142870iC649E8A2D56607DD/image-size/large?v=v2&px=999 "cache fix.PNG")

For whatever reason, adding the $BITBUCKET_CLONE_DIR variable which specifies the root dir fixed the issue. This means that they could be lying about custom caches, and that it doesn't really start at the root dir unless you specifically tell it to.


Tags: bitbucket-pipelines
bamboo issues
Asked by avacomp corp:

Hello on behalf of the company Avacomp Corp. S.R.L my name is  
Cristopher Nunez to present the following situation.

<br />

At the time of making the build and publishing it  
in the IIS directory, bamboo returns the message that there are  
files that are being used, which is why the operation ends, leaving  
the process incomplete.

Therefore, what options do I have to be able  
to do this automation, and if there are ways to stop the website  
service while this change is made.  
Awaiting your prompt responses. Thanks!


Answers:
author: Gonchik Tsymzhitov
body: Hi [@avacomp corp](/t5/user/viewprofilepage/user-id/4098820) ,

if you want to automate your deploy process.

1. Please, write instruction (here you will understand do you need restart service or not)

2. Write code/script/scenario to automate deploy

3. Then implement in Bamboo, like create a plan and steps (put scripts or other things from step 2), setup dedicated agent.

That agent will have access to your server etc.

At the moment, you're done partially with 1.

Because currently used is frequent scenario, but how do you deliver usually?

Please, do stop IIS, then sync files, run IIS.

And don't forget about monitoring, revert back plan if something wrong.


Tags: bitbucket-server

server
Bitbucket: ModuleNotFoundError: No module named 'numpy'
Asked by stefanoc:

I'm trying to setup unit tests in Bitbucket using the following `bitbucket-pipelines.yml`

    image: python:3.7.3pipelines:  default:    - step:      caches:        - pip      script: # Modify the commands below to build your repository.        - pip3 install --upgrade pip setuptools wheel        - pip3 install -r requirements.txt    - step:      script:        - python3 -m unittest discover -vp 'Test*.py'

The file requirements.txt is the following:

    tensorflow==2.4.1Keras==2.4.3pandas==1.1.3requests==2.24.0matplotlib==3.3.2numpy==1.19.2

numpy is present in the requirements but when it runs the unit tests, I get the following error:

      import numpy as npModuleNotFoundError: No module named 'numpy'


Answers:
author: Halyna Berezovska
body: [@stefanoc](/t5/user/viewprofilepage/user-id/3382473) this means , that when you install dependencies, they failed to install. The possible reason is that you freeze version, and some package, for example, pandas, require numpy of another version, BUT you have a conflict here.

Try to install it locally and ensure you have latest pip package manager, they recently did very major update that shows this error, I explained above.

While installing locally, you will see the error or will manually check if the package is installed indeed.

I just tried to install you requirements and got:

\`\`\`(.venv) ? my-dir ? pip install -r requirements.txt   
ERROR: Could not find a version that satisfies the requirement tensorflow==2.4.1  
ERROR: No matching distribution found for tensorflow==2.4.1

\`\`\`

So pay attention to this and ensure you have python and pip of required version

Regards, Galyna


Tags: bitbucket-pipelines
i am not getting recovery emails for my email husnain@miletap.com
Asked by Husnain Tahir:

please solve this issue


Answers:
author: Earl McCutcheon
body: Hello [@Husnain Tahir](/t5/user/viewprofilepage/user-id/4382414) ,

We took a look on the backend and the email you listed encountered multiple "550 no such user" bounce messages indicating an issue with the mail server at the destination domain refusing to accept the password recovery email as the email To recipient was not a recognized user for the domain.

This could indicate different causal factors such as at the time the invite was sent, the account might not have existed yet on that email server/domain, the server was offline or filtering incoming content, or the network access to the server was blocked.

We have cleared out the errors, Please verify the account exists in the mail server/domain with the correct spelling, and that the server is online and can accept external calls then try again, and let us know if you run into any additional errors.

Regards,  
Earl

comments: author: Brant Schroeder
body: [@Earl McCutcheon](/t5/user/viewprofilepage/user-id/502460) - Thanks


author: Brant Schroeder
body: [@Husnain Tahir](/t5/user/viewprofilepage/user-id/4382414) Welcome to the Atlassian Community. Two questions:

1. Have you double-checked junk mail?
2. Are you positive that email is associated with your bitbucket account?

I will escalate to Atlassian but in the past, this is usually due to one of the above issues.


Tags: atl-rvw
scp-deploy not copying hidden files in dist/ folder
Asked by Thomas Schmitt:

I have hidden dotfiles in my dist/ directory that need to get copied to the server. My deployment step looks like this:

```
name: Deploy to development server
deployment: development
script:
  - pipe: atlassian/scp-deploy:1.0.1
    variables:
      USER: $SSH_USER
      SERVER: $SSH_HOST
      REMOTE_PATH: $TARGET_PATH
      LOCAL_PATH: 'dist/*'
```

But this setup will (understandably) not copy dotfiles to the server. There are two possible solutions that come to my mind:

* Add more than one LOCAL_PATH and set the second one to 'dist/.\*'
* Copy the complete dist/ directory over to the server, then manually move the files one directory level higher, than delete dist/ directory.

What is best practice in this case? How could it be done?

Thanks in advance!


Answers:
author: Halyna Berezovska
body: [@Thomas Schmitt](/t5/user/viewprofilepage/user-id/3688776) dist/\* is not counting hidden files in bash.

You can use

LOCAL_PATH: 'dist/'

to take into account hidden files.

Or if that does create a redundant folder for you, you can actually cd to your dist before using the pipe and use not dist, but '.' or './' as LOCAL_PATH there

Looking forward to see your feedback about user expirience.

We try to improve Bitbucket Pipelines and Pipes and the same time to be flexible for as more users as possible.

Regards, Galyna

comments: author: Thomas Schmitt
body: Hi Galyna and thanks for your reply. Sadly this doesn't solve the issue, since scp seems to have a problem with the paths '.' and './':

```
scp: error: unexpected filename: .
x Deployment failed
```


author: Thomas Schmitt
body: Okay I actually managed to solve this issue for my case. Instead of the scp pipeline, I simply replaced the scp pipeline with the rsync pipeline which is more accommodating when it comes to path names:

```
- step:
    name: Deploy to development server
    deployment: development
    script:
      - pipe: atlassian/rsync-deploy:0.5.0
        variables:
          USER: $WEBGO_SSH_USER
          SERVER: $WEBGO_SSH_HOST
          REMOTE_PATH: $DEV_TARGET_PATH
          LOCAL_PATH: 'dist/'
```

And that did the trick. Sorry I didn't find a general solution to this problem. As it's more of an scp-problem, I'm sure there is a work-around, I'm just not sure it's worth the hassle.


author: Halyna Berezovska
body: [@Thomas Schmitt](/t5/user/viewprofilepage/user-id/3688776) yeap, we actually recommend to use rsync more, since it is more optimized and copies files faster,, when there are many .

However, We will reproduce this in scp deploy


Tags: bitbucket-pipelines

cloud

scp
My Bitbucket-Pipeline.yml file is not working!
Asked by Pandiarajan Subburam:

script: - pipe: atlassian/ssh-run:0.3.0

variables:

SSH_USER: 'ubuntu'

SSH_KEY: $MY_SSH_KEY

SERVER: '\*\*.\*\*\*.\*\*\*.\*\*\*'

MODE: 'script'

COMMAND: '/deploy.sh'

I'm trying to execute the script which is inside my AWS instance. Above is the pipeline command which I'm using to execute. This is the configuration error I'm getting, "There is an error in your bitbucket-pipelines.yml at \[(root level)\]. To be precise: The top-level "pipelines" section is missing, empty, or null." I checked the yml file in yamllint and it looks good. What I need to correct here to execute the shell script file in my server.


Answers:
author: Deepesh Nellutla
body: The pipelines section gives information of the branches ( master/pull-request/feature etc., ) under which the script details are given.

Example given below:

pipelines:  
default:  
- step: \*xxxx

script:  
branches:  
master:  
- step: \*xx

script:


Tags: bitbucket-pipelines
Nothing to see here... error after clicking on Learn more... link
Asked by Dirk Wachter:

I wanted to learn more about Runners, clicked on **Learn more** under *Pipelines/Runners*, which took me to:

<https://community.atlassian.com/t5/Bitbucket-Pipelines-Runners/Getting-started-with-Bitbucket-Pipelines-Runners/ba-p/1628787>

However, I then got a page telling me Nothing to see here... and You don't have sufficient privileges to view this page.


Answers:
author: Stephen Sifers
body: Hello Dirk!

Thank you for your interest in BItbucket pipeline runners. The link you provided is for a private EAP group being held within Community. This group is currently closed to the public and is invite-only as it's an EAP.

More information around this closed EAP can be found at: [\<Closed\>Bitbucket Pipelines: Runners - Early Access](https://community.atlassian.com/t5/Bitbucket-articles/lt-Closed-gt-Bitbucket-Pipelines-Runners-Early-Access/ba-p/1612275)

Regards,  
Stephen Sifers


Tags: bitbucket-cloud

cloud
Pipeline cache downloading and extracting but not loading
Asked by Joshua von Damm:

So I cache a the folder "_bin" under the cache named "bin."

After running a pipeline that creates the cache, I run my tests.

In the build setup, the output reads:

![pipeline output help.PNG](/t5/image/serverpage/image-id/142286i346B38D52DD0F0BD/image-size/large?v=v2&px=999 "pipeline output help.PNG")

This cache holds a compiler needed for testing, however when using said compiler, an error is thrown.

I have tried running the pipeline that creates the cache in the same pipeline that tests it, and that works fine, so it is not a faulty path or any other error that I know of.

My .yml where it causes the error:

![pipelne cache help.PNG](/t5/image/serverpage/image-id/142287iECE0F75CC3CDB50A/image-size/large?v=v2&px=999 "pipelne cache help.PNG")

The install_gcc_bitbucket.sh script sets the path then tests to see if the compiler exists, and this is where it is failing.

In another post, I saw someone say that the output should download, extract, THEN load; which mine does not. So I believe this is the error.

Can anyone confirm this?

Either way, what could be some possible issues here? Thanks.


Answers:
author: Joshua von Damm
body: So I found the issue, which is pretty strange. I am using a custom cache and it should by default be in the root dir.

But I came across a fix that I don't think should have worked.

The fix:

![cache fix.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/142870iC649E8A2D56607DD/image-size/large?v=v2&px=999 "cache fix.PNG")

For whatever reason, adding the $BITBUCKET_CLONE_DIR variable which specifies the root dir fixed the issue.

This means that they could be lying about custom caches, and that it doesn't really start at the root dir unless you specifically tell it to.

Either way my gcc script can find the cache fine and do its thing now. yay.


Tags: bitbucket-pipelines
IPv4 Whitelisting
Asked by Elgiz Abbasov:

I have been trying to clone a repository but I am getting this error:

fatal: unable to access '[https://bitbucket.org/\*\*\*REPO\*\*\*](https://bitbucket.org/***REPO***)': Failed to connect to bitbucket.org port 443: Connection refused

I think the problem is with the corporate firewall; I have tried adding IPv4 address ranges to my hosts file on my machine however I still have the same result. Any help would be appreciated


Answers:
author: Syahrul
body: Hey [@Elgiz Abbasov](/t5/user/viewprofilepage/user-id/4381820)

G'Day!

The error message indicates that your local connection is failing to connect to bitbucket.org on port 443 which is an HTTPS port.  

This issue is caused by a firewall/proxy configuration on your local network which prevents the connection.

If you have a corporate firewall then you'll have to inform your team to whitelist all of the following IPs to allow your connection with Bitbucket:

* [What are the IP addresses to configure a corporate firewall?](https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/)

Hope this helps

Cheers,  
Syahrul


Tags: bitbucket-cloud

cloud
Has the docker version of bitbucket pipeline been upgraded to new version?
Asked by chong_yang:

Hi there,  

We've noticed some of our repositories failed to pass the unit tests all the time. But no related code changed since the last successful running. All caused by the Rails ActiveStorage problem. After digging, looks like it's a problem with the docker engine.

I find you guys will roll out the new version this June from your blog. Are you doing some Canary or Blue/Green deployment this moment?  

Regards,

Chong


Answers:
author: Xingyu Wu
body: I can also confirm that our Rails builds have started failing including ones that were previously green, due to this issue that seems to have been introduced in the latest docker version: <https://github.com/docker/for-linux/issues/1015>

comments: author: Xingyu Wu
body: Thanks Anthony! This has been puzzling our team for a while. Monkey-patched FileUtils for our ci/cd environment and finally pipelines started to pass.


Tags: bitbucket-pipelines

cloud
How can i change the visible confluence weblink when entering in the browser
Asked by Richard Berkvens:

When i created the initial confluence instance i entered my confluence name as instance name and now every time me or a team member enters our confluence they have to enter the main page via "<https://richard-berkvens.atlassian.net/wiki/home>" \>\> i want to change this to something else, can this be done?

the problem is this: https://**richard-berkvens.**atlassian.net/wiki/home


Answers:
author: Charly [DEISER]
body: Hi [@Richard Berkvens](/t5/user/viewprofilepage/user-id/5188446)

Unfortunately you wont be able to change the product URL if you are on a free plan. Here you will be able to find all the info: [Update a product URL to a new URL \| Atlassian Support](https://support.atlassian.com/organization-administration/docs/update-a-product-url/)

Hope this helps!

Regards

comments: author: Richard Berkvens
body: Hi Charlie,

Thank you for your reply,


Tags: cloud

confluence-cloud
How can we remove "Popular Apps" in Confluence Cloud?
Asked by samedi GmbH:

Hello!

We want to remove all those "popular" "suggestions" from the Confluence "Apps" menu. We're kindof expecting an ad-free experience at that price...

Additionally, there's a few compliance and legal reasons on why we dont want to show all those suggestions to the users, suddenly creating a "need" to get something that's not possible to get.


Answers:
author: Alex Koxaras _Relational_
body: Hi [@samedi GmbH](/t5/user/viewprofilepage/user-id/5188424) and welcome to the community,

Unfortunately you can't do that. But here's an issue for you to vote and watch <https://jira.atlassian.com/browse/JRACLOUD-77071>


Tags: cloud

confluence-cloud
????????????
Asked by ?? ??:

????????????????????????????????

?????????????????????????????????

????????????????????????????

?????????????????


Answers:
author: Ryoji Takata
body: ?????????????????????

Confluence ? Statuspage ??????????????????????????????

<https://confluence.status.atlassian.com/>

??????????????????????????????

* ????????????????????
* ??????????????????????????Cookie?????????????????
* ??????????????????????
* ????2????????????????

???Confluence Cloud??????????????????????????????????????????????????????????????????????????????

[?????????????????????](https://confluence.atlassian.com/jpns/%E6%97%A5%E6%9C%AC%E8%AA%9E%E3%82%B5%E3%83%9D%E3%83%BC%E3%83%88%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6/%E6%8A%80%E8%A1%93%E3%82%B5%E3%83%9D%E3%83%BC%E3%83%88%EF%BC%88%E6%97%A5%E6%9C%AC%E8%AA%9E%EF%BC%89%E3%81%B8%E3%81%AE%E3%81%8A%E5%95%8F%E3%81%84%E5%90%88%E3%82%8F%E3%81%9B%E6%96%B9%E6%B3%95)


Tags: cloud

confluence-cloud
How can I sign in with Confluence Cloud?
Asked by Toby H:

I had installed the Confluence Cloud app on my phone. But as I wanted to sign in, it either kept showing me a loading screen indefinitely or I couldn't click on continue after selected which profile to sign in with.


Answers:
author: Dan Breyen
body: I use my Atlassian ID to login to the Confluence Cloud. I just tried logging in and am able to without issues.


author: Riley Venable
body: Here are some steps you can follow to troubleshoot the issue:   

1. Make sure that you have a stable internet connection on your phone.   

2. Try uninstalling and reinstalling the Confluence Cloud app on your phone.   

3. Clear the app cache and data by going to your phone's Settings \> Apps \> Confluence Cloud \> Storage \> Clear cache/clear data.   

4. If the issue persists, try restarting your phone and attempting to sign in again.   

5. You can also try signing in through a web browser on your phone to see if that works.  


Tags: cloud

confluence-cloud
Is there a way to enter data on one ConfiForm but have it stored in another?
Asked by Kathleen Janiszewski:

I'm using ConfiForms in lieu of a database. I want to be able to have the user enter the data on one form, but have it stored in another ConfiForm on a different page. Is there a way to do that? I'm currently storing the data on both forms, but then I have to worry about keeping the data in sync.


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Kathleen Janiszewski](/t5/user/viewprofilepage/user-id/5163300)

You can set up a rule in your first form to [copy data](https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-CopyConfiFormsData) into the second form (creating a new record in the second form)

Why would you want to copy the data in the first place? You can show the data stored in your form from ANY page (assuming the user has (at least a view) access to both pages)

Alex

comments: author: Kathleen Janiszewski
body: Alex,

Thank you for getting back to me.  

The issue is the registration macro. The user wants to enter all of the information on one screen. However, some of that data does not make sense to keep in that form. It belongs on a different form on a different page with other fields that require calculations. I do a FULL OUTER JOIN in alasql to join both tables together on the PK.

Trust me, I'd rather use a real database, but ConfiForms is what we have. I'm going from an Excel File to ConfiForms, and the user is used to seeing their data the way it is set up in the Excel form. The problem is that at least 4 of those fields are duplicated.  

So, there needs to be 1 data entry form, and part of that data will be in one form and another part of that data will be in a 2nd form. Why? Two reasons: I already wrote a fully functioning program that is use using those Excel files, so the data needs to be in a similar structure; the other reason is that keeping the 2 together presents a PII issue.

Thank you for your help on this!

-Kathleen


author: Alex Medved _ConfiForms_
body: OK, that is cool to know. Love when users want to see what they used to see, no matter what tool they use :-)

One little advise on your 2nd form - add there a smart field that is linked to the first form, so you can have a direct link to the initial firm and set this link (something like smartfieldin2ndform=\[entry.id\] to set it up (among other fields you copy)).

Which will allow you to build a view later that involves data from both forms. As the view other the second form will give you access to the 1st form

Alex


Tags: confiforms

confluence-server

server
The Page Properties Report won't display all data when "Columns to show" is utilized.
Asked by Jerid.Miller:

The page properties report works as expected and populates all data until I go to Options - Columns to show. When I add the columns in the order I want them to appear it sorts them in the order expected but then the data stops displaying for some of the columns.


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Jerid.Miller](/t5/user/viewprofilepage/user-id/5177937) and welcome to the community,

Can you please post a screenshot of the final report, as well as an edited page property macro?

comments: author: Jerid.Miller
body: In the first screen shot all the data comes through as expected. When I list the columns to show, you can see in the second screen shot it drops the last update, overall status and next up data points.

![Page properties 1 - all data showing .PNG](https://community.atlassian.com/t5/image/serverpage/image-id/250082iAD6B5FA98048B5EE/image-size/large?v=v2&px=999 "Page properties 1 - all data showing .PNG")![Page properties 2 - missing data.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/250083iCBEF50C41BBD6AFF/image-size/large?v=v2&px=999 "Page properties 2 - missing data.PNG")![Edit page properties macro - columns to show.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/250084i2169933343F58C63/image-size/large?v=v2&px=999 "Edit page properties macro - columns to show.PNG")


author: Jerid.Miller
body: [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) Hi Alex, any thoughts on this?


Tags: cloud

confluence-cloud
PR has too many lines for a tech doc
Asked by Linda Javurek:

How can I ensure that my markdown does not separate every line in a paragraph for markdown from Tortoise into Bitbucket?


Answers:
author: Riley Venable
body: You can add two or more spaces at the end of each line. This will tell the markdown renderer to treat the lines as a single paragraph. Alternatively, you can also use a backslash at the end of each line to indicate that the line break should be ignored.

comments: author: Linda Javurek
body: Thanks. It seems like I would have to go back to my markdown file (after dev review in Bitbucket), and remove all the backslashes to get the markdown file to render a proper PDF or HTML file, but I'll try it.


Tags: bitbucket

cloud

confluence-cloud