Git Product home page Git Product logo

Comments (10)

iamjackg avatar iamjackg commented on July 23, 2024 1

This should be fixed in v2.1.0 :)

from md2cf.

petermefrandsen avatar petermefrandsen commented on July 23, 2024

Workaround:
Split the command up into multiple md2cf executions for each 01→10 subfolders

from md2cf.

iamjackg avatar iamjackg commented on July 23, 2024

Huh, that's interesting. If you run it again with --debug it will print a full stack trace that will help me figure out what's wrong.

⚠️ ⚠️ It does include a dump of local variables, so make sure to go through and remove any tokens/secrets/login details from the output.

from md2cf.

iamjackg avatar iamjackg commented on July 23, 2024

@petermefrandsen any updates?

from md2cf.

petermefrandsen avatar petermefrandsen commented on July 23, 2024

@iamjackg sorry for the delay!
Here is a raw file from when used in a Azure DevOps Pipeline (URLs, username, tokens removed).

Command

                md2cf --host $(confluence-host) --token $(confluence-api-key) \
                  ./o11y-documentation/docs \
                  --space $(confluence-space) \
                  --parent-title "test" \
                  --only-changed \
                  --strip-top-header \
                  --insecure \
                  --debug

Output

2023-03-08T07:09:31.8464957Z ##[section]Starting: Publish to Confluence
2023-03-08T07:09:31.8479817Z ==============================================================================
2023-03-08T07:09:31.8480740Z Task         : Bash
2023-03-08T07:09:31.8481125Z Description  : Run a Bash script on macOS, Linux, or Windows
2023-03-08T07:09:31.8481680Z Version      : 3.214.0
2023-03-08T07:09:31.8482125Z Author       : Microsoft Corporation
2023-03-08T07:09:31.8482592Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2023-03-08T07:09:31.8483220Z ==============================================================================
2023-03-08T07:09:32.8359896Z Generating script.
2023-03-08T07:09:32.8380764Z ========================== Starting Command Output ===========================
2023-03-08T07:09:32.8392208Z [command]/usr/bin/bash /home/ado/agent/_work/_temp/a75f54d5-7315-4a05-9463-a3e7b840b641.sh
2023-03-08T07:09:34.6869677Z ╭───────────────────── Traceback (most recent call last) ──────────────────────╮
2023-03-08T07:09:34.6872374Z │ /usr/local/lib/python3.8/dist-packages/md2cf/__main__.py:387 in main         │
2023-03-08T07:09:34.6911020Z │                                                                              │
2023-03-08T07:09:34.6916372Z │   384 │   │   │   │   tui.set_item_progress_label(page.original_title, "Upse │
2023-03-08T07:09:34.6918235Z │   385 │   │   │   │   final_page = None                                      │
2023-03-08T07:09:34.6919720Z │   386 │   │   │   │   if not args.dry_run:                                   │
2023-03-08T07:09:34.6921327Z │ ❱ 387 │   │   │   │   │   upsert_page_result = upsert_page(                  │
2023-03-08T07:09:34.6931415Z │   388 │   │   │   │   │   │   confluence=confluence,                         │
2023-03-08T07:09:34.6933428Z │   389 │   │   │   │   │   │   message=args.message,                          │
2023-03-08T07:09:34.6934962Z │   390 │   │   │   │   │   │   page=page,                                     │
2023-03-08T07:09:34.6936981Z │                                                                              │
2023-03-08T07:09:34.6938533Z │ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
2023-03-08T07:09:34.6940268Z │ │                              args = Namespace(beautify_folders=False,    │ │
2023-03-08T07:09:34.6941979Z │ │                                     collapse_empty=False,                │ │
2023-03-08T07:09:34.6943596Z │ │                                     collapse_single_pages=False,         │ │
2023-03-08T07:09:34.6945728Z │ │                                     content_type='page', debug=True,     │ │
2023-03-08T07:09:34.6947253Z │ │                                     dry_run=False,                       │ │
2023-03-08T07:09:34.6948652Z │ │                                     enable_relative_links=False,         │ │
2023-03-08T07:09:34.6950470Z │ │                                     file_list=[PosixPath('o11y-document… │ │
2023-03-08T07:09:34.6952116Z │ │                                     host='https://xxxxxxxxxxxxxxx.net/r… │ │
2023-03-08T07:09:34.6953722Z │ │                                     ignore_relative_link_errors=False,   │ │
2023-03-08T07:09:34.6955270Z │ │                                     insecure=True, message=None,         │ │
2023-03-08T07:09:34.6956904Z │ │                                     minor_edit=False, only_changed=True, │ │
2023-03-08T07:09:34.6958387Z │ │                                     output='default', page_id=None,      │ │
2023-03-08T07:09:34.6960009Z │ │                                     parent_id=None, parent_title='test', │ │
2023-03-08T07:09:34.6961582Z │ │                                     password=None, postface_file=None,   │ │
2023-03-08T07:09:34.6963112Z │ │                                     postface_markdown=None,              │ │
2023-03-08T07:09:34.6964611Z │ │                                     preface_file=None,                   │ │
2023-03-08T07:09:34.6966084Z │ │                                     preface_markdown=None, prefix=None,  │ │
2023-03-08T07:09:34.6967124Z │ │                                     remove_text_newlines=False,          │ │
2023-03-08T07:09:34.6969755Z │ │                                     replace_all_labels=False,            │ │
2023-03-08T07:09:34.6970706Z │ │                                     skip_empty=False, space='OP',        │ │
2023-03-08T07:09:34.6971804Z │ │                                     strip_top_header=True, title=None,   │ │
2023-03-08T07:09:34.6972744Z │ │                                     token='xxxxxxxxxxxxxxxxxxxxxxxxxxxxx │ │
2023-03-08T07:09:34.6973615Z │ │                                     use_gitignore=True,                  │ │
2023-03-08T07:09:34.6974410Z │ │                                     use_pages_file=False, username=None) │ │
2023-03-08T07:09:34.6975317Z │ │                        attachment = 'integrations-grafana-sync.png'      │ │
2023-03-08T07:09:34.6976448Z │ │                   attachment_path = PosixPath('/home/ado/agent/_work/6/… │ │
2023-03-08T07:09:34.6977335Z │ │                  colliding_titles = []                                   │ │
2023-03-08T07:09:34.6978346Z │ │                        confluence = <md2cf.api.MinimalConfluence object  │ │
2023-03-08T07:09:34.6979165Z │ │                                     at 0x7f9da495bd30>                   │ │
2023-03-08T07:09:34.6979893Z │ │                                 e = IndexError('list index out of        │ │
2023-03-08T07:09:34.6980718Z │ │                                     range')                              │ │
2023-03-08T07:09:34.6981478Z │ │                             error = None                                 │ │
2023-03-08T07:09:34.6982234Z │ │                        final_page = None                                 │ │
2023-03-08T07:09:34.6983046Z │ │ map_document_path_to_confluence_pa… {}                                   │ │
2023-03-08T07:09:34.6984023Z │ │                                   =                                      │ │
2023-03-08T07:09:34.6984792Z │ │                              page = Page(title='xxx Observability        │ │
2023-03-08T07:09:34.6985751Z │ │                                     Platform',                           │ │
2023-03-08T07:09:34.6986560Z │ │                                     file_path=PosixPath('/home/ado/agen… │ │
2023-03-08T07:09:34.6987577Z │ │                                     page_id=None, parent_id='323612444', │ │
2023-03-08T07:09:34.6988506Z │ │                                     parent_title='test', space='OP',     │ │
2023-03-08T07:09:34.6989701Z │ │                                     body='<p>Currently the documentation │ │
2023-03-08T07:09:34.6990497Z │ │                                     is a 1-1  [...]')                    │ │
2023-03-08T07:09:34.6991342Z │ │                 page_title_counts = Counter({                            │ │
2023-03-08T07:09:34.6992216Z │ │                                     │   'xxx Observability Platform': 1, │ │
2023-03-08T07:09:34.6993101Z │ │                                     │   'xxxxxx-documentation': 1,       │ │
2023-03-08T07:09:34.6993981Z │ │                                     │   '05-dashboards': 1,              │ │
2023-03-08T07:09:34.6994820Z │ │                                     │   '01-grafana': 1,                 │ │
2023-03-08T07:09:34.6995581Z │ │                                     │   'Grafana': 1,                    │ │
2023-03-08T07:09:34.6996404Z │ │                                     │   '08-logs': 1,                    │ │
2023-03-08T07:09:34.6997295Z │ │                                     │   '03-loki': 1,                    │ │
2023-03-08T07:09:34.6998113Z │ │                                     │   'Loki': 1,                       │ │
2023-03-08T07:09:34.6998939Z │ │                                     │   '02-fluentd': 1,                 │ │
2023-03-08T07:09:34.7000026Z │ │                                     │   'FluentD': 1,                    │ │
2023-03-08T07:09:34.7002382Z │ │                                     │   ... +57                          │ │
2023-03-08T07:09:34.7004721Z │ │                                     })                                   │ │
2023-03-08T07:09:34.7007551Z │ │                   pages_to_upload = [                                    │ │
2023-03-08T07:09:34.7009456Z │ │                                     │   Page(title='xxx Observability    │ │
2023-03-08T07:09:34.7011135Z │ │                                     Platform',                           │ │
2023-03-08T07:09:34.7016187Z │ │                                     file_path=PosixPath('/home/ado/agen… │ │
2023-03-08T07:09:34.7017443Z │ │                                     page_id=None, parent_id='323612444', │ │
2023-03-08T07:09:34.7018368Z │ │                                     parent_title='test', space='OP',     │ │
2023-03-08T07:09:34.7019187Z │ │                                     body='<p>Currently the documentation │ │
2023-03-08T07:09:34.7020042Z │ │                                     is a 1-1  [...]'),                   │ │
2023-03-08T07:09:34.7020843Z │ │                                     │                                    │ │
2023-03-08T07:09:34.7021691Z │ │                                     Page(title='xxxxxx-documentation',   │ │
2023-03-08T07:09:34.7022563Z │ │                                     file_path=None, page_id=None,        │ │
2023-03-08T07:09:34.7023438Z │ │                                     parent_id=None, parent_title=None,   │ │
2023-03-08T07:09:34.7025294Z │ │                                     space=None, body=''),                │ │
2023-03-08T07:09:34.7026395Z │ │                                     │   Page(title='05-dashboards',      │ │
2023-03-08T07:09:34.7027314Z │ │                                     file_path=None, page_id=None,        │ │
2023-03-08T07:09:34.7028165Z │ │                                     parent_id=None,                      │ │
2023-03-08T07:09:34.7029025Z │ │                                     parent_title='xxxxxx-documentation', │ │
2023-03-08T07:09:34.7029896Z │ │                                     space=None, body=''),                │ │
2023-03-08T07:09:34.7030693Z │ │                                     │   Page(title='01-grafana',         │ │
2023-03-08T07:09:34.7031555Z │ │                                     file_path=None, page_id=None,        │ │
2023-03-08T07:09:34.7032497Z │ │                                     parent_id=None,                      │ │
2023-03-08T07:09:34.7033370Z │ │                                     parent_title='05-dashboards',        │ │
2023-03-08T07:09:34.7034482Z │ │                                     space=None, body=''),                │ │
2023-03-08T07:09:34.7035341Z │ │                                     │   Page(title='Grafana',            │ │
2023-03-08T07:09:34.7036162Z │ │                                     file_path=PosixPath('/home/ado/agen… │ │
2023-03-08T07:09:34.7037048Z │ │                                     page_id=None, parent_id=None,        │ │
2023-03-08T07:09:34.7037911Z │ │                                     parent_title='01-grafana',           │ │
2023-03-08T07:09:34.7038897Z │ │                                     space=None,                          │ │
2023-03-08T07:09:34.7039748Z │ │                                     body='<h2>Introduction</h2>\n<p>Gra… │ │
2023-03-08T07:09:34.7040616Z │ │                                     is a Da [...]'),                     │ │
2023-03-08T07:09:34.7041381Z │ │                                     │   Page(title='08-logs',            │ │
2023-03-08T07:09:34.7042251Z │ │                                     file_path=None, page_id=None,        │ │
2023-03-08T07:09:34.7043155Z │ │                                     parent_id=None,                      │ │
2023-03-08T07:09:34.7044018Z │ │                                     parent_title='xxxxxx-documentation', │ │
2023-03-08T07:09:34.7044888Z │ │                                     space=None, body=''),                │ │
2023-03-08T07:09:34.7045735Z │ │                                     │   Page(title='03-loki',            │ │
2023-03-08T07:09:34.7046538Z │ │                                     file_path=None, page_id=None,        │ │
2023-03-08T07:09:34.7047407Z │ │                                     parent_id=None,                      │ │
2023-03-08T07:09:34.7048286Z │ │                                     parent_title='08-logs', space=None,  │ │
2023-03-08T07:09:34.7049137Z │ │                                     body=''),                            │ │
2023-03-08T07:09:34.7049959Z │ │                                     │   Page(title='Loki',               │ │
2023-03-08T07:09:34.7051058Z │ │                                     file_path=PosixPath('/home/ado/agen… │ │
2023-03-08T07:09:34.7051881Z │ │                                     page_id=None, parent_id=None,        │ │
2023-03-08T07:09:34.7052763Z │ │                                     parent_title='03-loki', space=None,  │ │
2023-03-08T07:09:34.7053647Z │ │                                     body='<h2>Introduction</h2>\n<p>Loki │ │
2023-03-08T07:09:34.7054492Z │ │                                     is used to [...]'),                  │ │
2023-03-08T07:09:34.7055432Z │ │                                     │   Page(title='02-fluentd',         │ │
2023-03-08T07:09:34.7056604Z │ │                                     file_path=None, page_id=None,        │ │
2023-03-08T07:09:34.7057392Z │ │                                     parent_id=None,                      │ │
2023-03-08T07:09:34.7058260Z │ │                                     parent_title='08-logs', space=None,  │ │
2023-03-08T07:09:34.7059282Z │ │                                     body=''),                            │ │
2023-03-08T07:09:34.7060164Z │ │                                     │   Page(title='FluentD',            │ │
2023-03-08T07:09:34.7061044Z │ │                                     file_path=PosixPath('/home/ado/agen… │ │
2023-03-08T07:09:34.7061923Z │ │                                     page_id=None, parent_id=None,        │ │
2023-03-08T07:09:34.7062720Z │ │                                     parent_title='02-fluentd',           │ │
2023-03-08T07:09:34.7064999Z │ │                                     space=None,                          │ │
2023-03-08T07:09:34.7066016Z │ │                                     body='<h2>Introduction</h2>\n<p>Flu… │ │
2023-03-08T07:09:34.7066880Z │ │                                     is a to [...]'),                     │ │
2023-03-08T07:09:34.7067694Z │ │                                     │   ... +57                          │ │
2023-03-08T07:09:34.7068501Z │ │                                     ]                                    │ │
2023-03-08T07:09:34.7069240Z │ │                   postface_markup = ''                                   │ │
2023-03-08T07:09:34.7072023Z │ │                    preface_markup = ''                                   │ │
2023-03-08T07:09:34.7073091Z │ │              something_went_wrong = False                                │ │
2023-03-08T07:09:34.7073987Z │ │                               tui = <md2cf.tui.Md2cfTUI object at        │ │
2023-03-08T07:09:34.7074851Z │ │                                     0x7f9da495bee0>                      │ │
2023-03-08T07:09:34.7075908Z │ │                upsert_page_result = None                                 │ │
2023-03-08T07:09:34.7076746Z │ ╰──────────────────────────────────────────────────────────────────────────╯ │
2023-03-08T07:09:34.7077544Z │                                                                              │
2023-03-08T07:09:34.7078452Z │ /usr/local/lib/python3.8/dist-packages/md2cf/upsert.py:97 in upsert_page     │
2023-03-08T07:09:34.7079360Z │                                                                              │
2023-03-08T07:09:34.7080229Z │    94 │   │   )                                                              │
2023-03-08T07:09:34.7081085Z │    95 │   │   action = UpsertAction.CREATED                                  │
2023-03-08T07:09:34.7081863Z │    96 │   else:                                                              │
2023-03-08T07:09:34.7082731Z │ ❱  97 │   │   if not only_changed or page_needs_updating(                    │
2023-03-08T07:09:34.7083673Z │    98 │   │   │   page, existing_page, replace_all_labels                    │
2023-03-08T07:09:34.7084526Z │    99 │   │   ):                                                             │
2023-03-08T07:09:34.7085381Z │   100 │   │   │   existing_page = confluence.update_page(                    │
2023-03-08T07:09:34.7086229Z │                                                                              │
2023-03-08T07:09:34.7087033Z │ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
2023-03-08T07:09:34.7087859Z │ │             action = None                                                │ │
2023-03-08T07:09:34.7088792Z │ │         confluence = <md2cf.api.MinimalConfluence object at              │ │
2023-03-08T07:09:34.7089683Z │ │                      0x7f9da495bd30>                                     │ │
2023-03-08T07:09:34.7090617Z │ │      existing_page = {                                                   │ │
2023-03-08T07:09:34.7091481Z │ │                      │   'id': '323584005',                              │ │
2023-03-08T07:09:34.7092251Z │ │                      │   'type': 'page',                                 │ │
2023-03-08T07:09:34.7093089Z │ │                      │   'status': 'current',                            │ │
2023-03-08T07:09:34.7093955Z │ │                      │   'title': 'xxx Observability Platform',          │ │
2023-03-08T07:09:34.7094978Z │ │                      │   'space': {                                      │ │
2023-03-08T07:09:34.7095947Z │ │                      │   │   'id': 315654172,                            │ │
2023-03-08T07:09:34.7096878Z │ │                      │   │   'key': 'OP',                                │ │
2023-03-08T07:09:34.7097672Z │ │                      │   │   'name': 'Observability Platform',           │ │
2023-03-08T07:09:34.7098541Z │ │                      │   │   'type': 'global',                           │ │
2023-03-08T07:09:34.7099368Z │ │                      │   │   '_links': {                                 │ │
2023-03-08T07:09:34.7100309Z │ │                      │   │   │   'webui': '/display/OP',                 │ │
2023-03-08T07:09:34.7101068Z │ │                      │   │   │   'self':                                 │ │
2023-03-08T07:09:34.7101883Z │ │                      'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'     │ │
2023-03-08T07:09:34.7102611Z │ │                      │   │   },                                          │ │
2023-03-08T07:09:34.7103371Z │ │                      │   │   '_expandable': {                            │ │
2023-03-08T07:09:34.7104133Z │ │                      │   │   │   'metadata': '',                         │ │
2023-03-08T07:09:34.7104927Z │ │                      │   │   │   'icon': '',                             │ │
2023-03-08T07:09:34.7105688Z │ │                      │   │   │   'description': '',                      │ │
2023-03-08T07:09:34.7107844Z │ │                      │   │   │   'retentionPolicy': '',                  │ │
2023-03-08T07:09:34.7108894Z │ │                      │   │   │   'homepage':                             │ │
2023-03-08T07:09:34.7109729Z │ │                      '/rest/api/content/323584005'                       │ │
2023-03-08T07:09:34.7110501Z │ │                      │   │   }                                           │ │
2023-03-08T07:09:34.7111227Z │ │                      │   },                                              │ │
2023-03-08T07:09:34.7111978Z │ │                      │   'history': {                                    │ │
2023-03-08T07:09:34.7112925Z │ │                      │   │   'latest': True,                             │ │
2023-03-08T07:09:34.7113680Z │ │                      │   │   'createdBy': {                              │ │
2023-03-08T07:09:34.7114576Z │ │                      │   │   │   'type': 'known',                        │ │
2023-03-08T07:09:34.7115500Z │ │                      │   │   │   'username': 'xxxxxxxxxxxxxxxx',         │ │
2023-03-08T07:09:34.7116297Z │ │                      │   │   │   'userKey':                              │ │
2023-03-08T07:09:34.7117114Z │ │                      'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',                 │ │
2023-03-08T07:09:34.7118116Z │ │                      │   │   │   'profilePicture': {                     │ │
2023-03-08T07:09:34.7118870Z │ │                      │   │   │   │   'path':                             │ │
2023-03-08T07:09:34.7119879Z │ │                      '/images/icons/profilepics/default.svg',            │ │
2023-03-08T07:09:34.7120742Z │ │                      │   │   │   │   'width': 48,                        │ │
2023-03-08T07:09:34.7121563Z │ │                      │   │   │   │   'height': 48,                       │ │
2023-03-08T07:09:34.7122430Z │ │                      │   │   │   │   'isDefault': True                   │ │
2023-03-08T07:09:34.7123243Z │ │                      │   │   │   },                                      │ │
2023-03-08T07:09:34.7124013Z │ │                      │   │   │   'displayName': 'xxxxxxxxxxxxxxxx',      │ │
2023-03-08T07:09:34.7124894Z │ │                      │   │   │   '_links': {                             │ │
2023-03-08T07:09:34.7126756Z │ │                      │   │   │   │   'self':                             │ │
2023-03-08T07:09:34.7127869Z │ │                      'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx │ │
2023-03-08T07:09:34.7128745Z │ │                      │   │   │   },                                      │ │
2023-03-08T07:09:34.7129587Z │ │                      │   │   │   '_expandable': {'status': ''}           │ │
2023-03-08T07:09:34.7130824Z │ │                      │   │   },                                          │ │
2023-03-08T07:09:34.7131818Z │ │                      │   │   'createdDate': '2023-02-14T19:38:22.005Z',  │ │
2023-03-08T07:09:34.7132705Z │ │                      │   │   '_links': {                                 │ │
2023-03-08T07:09:34.7133456Z │ │                      │   │   │   'self':                                 │ │
2023-03-08T07:09:34.7134525Z │ │                      'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx… │ │
2023-03-08T07:09:34.7135386Z │ │                      │   │   },                                          │ │
2023-03-08T07:09:34.7136453Z │ │                      │   │   '_expandable': {                            │ │
2023-03-08T07:09:34.7137292Z │ │                      │   │   │   'lastUpdated': '',                      │ │
2023-03-08T07:09:34.7138170Z │ │                      │   │   │   'previousVersion': '',                  │ │
2023-03-08T07:09:34.7138950Z │ │                      │   │   │   'contributors': '',                     │ │
2023-03-08T07:09:34.7139786Z │ │                      │   │   │   'nextVersion': ''                       │ │
2023-03-08T07:09:34.7140658Z │ │                      │   │   }                                           │ │
2023-03-08T07:09:34.7141438Z │ │                      │   },                                              │ │
2023-03-08T07:09:34.7142247Z │ │                      │   'version': {                                    │ │
2023-03-08T07:09:34.7143046Z │ │                      │   │   'by': {                                     │ │
2023-03-08T07:09:34.7143799Z │ │                      │   │   │   'type': 'known',                        │ │
2023-03-08T07:09:34.7144658Z │ │                      │   │   │   'username': 'xxxxxxxxxxxxxxxx',         │ │
2023-03-08T07:09:34.7145516Z │ │                      │   │   │   'userKey':                              │ │
2023-03-08T07:09:34.7146387Z │ │                      'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',                 │ │
2023-03-08T07:09:34.7147253Z │ │                      │   │   │   'profilePicture': {                     │ │
2023-03-08T07:09:34.7148097Z │ │                      │   │   │   │   'path':                             │ │
2023-03-08T07:09:34.7148889Z │ │                      '/images/icons/profilepics/default.svg',            │ │
2023-03-08T07:09:34.7149758Z │ │                      │   │   │   │   'width': 48,                        │ │
2023-03-08T07:09:34.7150576Z │ │                      │   │   │   │   'height': 48,                       │ │
2023-03-08T07:09:34.7151410Z │ │                      │   │   │   │   'isDefault': True                   │ │
2023-03-08T07:09:34.7152223Z │ │                      │   │   │   },                                      │ │
2023-03-08T07:09:34.7153328Z │ │                      │   │   │   'displayName': 'xxxxxxxxxxxxxxxx',      │ │
2023-03-08T07:09:34.7154123Z │ │                      │   │   │   '_links': {                             │ │
2023-03-08T07:09:34.7154931Z │ │                      │   │   │   │   'self':                             │ │
2023-03-08T07:09:34.7155860Z │ │                      'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx… │ │
2023-03-08T07:09:34.7156823Z │ │                      │   │   │   },                                      │ │
2023-03-08T07:09:34.7157658Z │ │                      │   │   │   '_expandable': {'status': ''}           │ │
2023-03-08T07:09:34.7158758Z │ │                      │   │   },                                          │ │
2023-03-08T07:09:34.7159553Z │ │                      │   │   'when': '2023-02-14T19:38:22.005Z',         │ │
2023-03-08T07:09:34.7160447Z │ │                      │   │   'message': '',                              │ │
2023-03-08T07:09:34.7161277Z │ │                      │   │   'number': 1,                                │ │
2023-03-08T07:09:34.7162112Z │ │                      │   │   'minorEdit': False,                         │ │
2023-03-08T07:09:34.7162941Z │ │                      │   │   'hidden': False,                            │ │
2023-03-08T07:09:34.7163752Z │ │                      │   │   '_links': {                                 │ │
2023-03-08T07:09:34.7164494Z │ │                      │   │   │   'self':                                 │ │
2023-03-08T07:09:34.7165391Z │ │                      'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx… │ │
2023-03-08T07:09:34.7166478Z │ │                      │   │   },                                          │ │
2023-03-08T07:09:34.7167429Z │ │                      │   │   '_expandable': {                            │ │
2023-03-08T07:09:34.7168339Z │ │                      │   │   │   'content':                              │ │
2023-03-08T07:09:34.7169119Z │ │                      '/rest/api/content/323584005'                       │ │
2023-03-08T07:09:34.7169833Z │ │                      │   │   }                                           │ │
2023-03-08T07:09:34.7170554Z │ │                      │   },                                              │ │
2023-03-08T07:09:34.7171369Z │ │                      │   'ancestors': [],                                │ │
2023-03-08T07:09:34.7172130Z │ │                      │   'metadata': {                                   │ │
2023-03-08T07:09:34.7172916Z │ │                      │   │   'labels': {                                 │ │
2023-03-08T07:09:34.7173691Z │ │                      │   │   │   'results': [],                          │ │
2023-03-08T07:09:34.7174604Z │ │                      │   │   │   'start': 0,                             │ │
2023-03-08T07:09:34.7175421Z │ │                      │   │   │   'limit': 200,                           │ │
2023-03-08T07:09:34.7176417Z │ │                      │   │   │   'size': 0,                              │ │
2023-03-08T07:09:34.7177235Z │ │                      │   │   │   '_links': {                             │ │
2023-03-08T07:09:34.7178041Z │ │                      │   │   │   │   'self':                             │ │
2023-03-08T07:09:34.7178907Z │ │                      'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx… │ │
2023-03-08T07:09:34.7179694Z │ │                      │   │   │   }                                       │ │
2023-03-08T07:09:34.7180471Z │ │                      │   │   },                                          │ │
2023-03-08T07:09:34.7181334Z │ │                      │   │   '_expandable': {                            │ │
2023-03-08T07:09:34.7182180Z │ │                      │   │   │   'currentuser': '',                      │ │
2023-03-08T07:09:34.7183020Z │ │                      │   │   │   'properties': '',                       │ │
2023-03-08T07:09:34.7183844Z │ │                      │   │   │   'frontend': '',                         │ │
2023-03-08T07:09:34.7184610Z │ │                      │   │   │   'editorHtml': ''                        │ │
2023-03-08T07:09:34.7185566Z │ │                      │   │   }                                           │ │
2023-03-08T07:09:34.7186346Z │ │                      │   },                                              │ │
2023-03-08T07:09:34.7187168Z │ │                      │   'extensions': {'position': 'none'},             │ │
2023-03-08T07:09:34.7188211Z │ │                      │   ... +2                                          │ │
2023-03-08T07:09:34.7189037Z │ │                      }                                                   │ │
2023-03-08T07:09:34.7189922Z │ │            message = None                                                │ │
2023-03-08T07:09:34.7190751Z │ │         minor_edit = False                                               │ │
2023-03-08T07:09:34.7191587Z │ │       only_changed = True                                                │ │
2023-03-08T07:09:34.7192462Z │ │               page = Page(title='xxx Observability Platform',            │ │
2023-03-08T07:09:34.7193489Z │ │                      file_path=PosixPath('/home/ado/agent/_work/6/s/o11… │ │
2023-03-08T07:09:34.7194343Z │ │                      page_id=None, parent_id='323612444',                │ │
2023-03-08T07:09:34.7195125Z │ │                      parent_title='test', space='OP', body='<p>Currently │ │
2023-03-08T07:09:34.7195958Z │ │                      the documentation is a 1-1  [...]')                 │ │
2023-03-08T07:09:34.7196820Z │ │          page_hash = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'          │ │
2023-03-08T07:09:34.7197768Z │ │       page_message = '[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]'       │ │
2023-03-08T07:09:34.7198623Z │ │ replace_all_labels = False                                               │ │
2023-03-08T07:09:34.7199444Z │ ╰──────────────────────────────────────────────────────────────────────────╯ │
2023-03-08T07:09:34.7200108Z │                                                                              │
2023-03-08T07:09:34.7200942Z │ /usr/local/lib/python3.8/dist-packages/md2cf/upsert.py:139 in                │
2023-03-08T07:09:34.7201780Z │ page_needs_updating                                                          │
2023-03-08T07:09:34.7202538Z │                                                                              │
2023-03-08T07:09:34.7203350Z │   136 │   │   # (top level pages only have one ancestor: the space's home pa │
2023-03-08T07:09:34.7204178Z │   137 │   │   return True                                                    │
2023-03-08T07:09:34.7204861Z │   138 │                                                                      │
2023-03-08T07:09:34.7205805Z │ ❱ 139 │   if page.parent_id is not None and page.parent_id != existing_page. │
2023-03-08T07:09:34.7206666Z │   140 │   │   # page wants to change parent                                  │
2023-03-08T07:09:34.7207443Z │   141 │   │   return True                                                    │
2023-03-08T07:09:34.7208208Z │   142                                                                        │
2023-03-08T07:09:34.7209077Z │                                                                              │
2023-03-08T07:09:34.7209812Z │ ╭───────────────────────────────── locals ─────────────────────────────────╮ │
2023-03-08T07:09:34.7210574Z │ │      existing_page = {                                                   │ │
2023-03-08T07:09:34.7211354Z │ │                      │   'id': '323584005',                              │ │
2023-03-08T07:09:34.7212128Z │ │                      │   'type': 'page',                                 │ │
2023-03-08T07:09:34.7212951Z │ │                      │   'status': 'current',                            │ │
2023-03-08T07:09:34.7213757Z │ │                      │   'title': 'xxx Observability Platform',          │ │
2023-03-08T07:09:34.7214481Z │ │                      │   'space': {                                      │ │
2023-03-08T07:09:34.7215258Z │ │                      │   │   'id': 315654172,                            │ │
2023-03-08T07:09:34.7216212Z │ │                      │   │   'key': 'OP',                                │ │
2023-03-08T07:09:34.7217003Z │ │                      │   │   'name': 'Observability Platform',           │ │
2023-03-08T07:09:34.7217804Z │ │                      │   │   'type': 'global',                           │ │
2023-03-08T07:09:34.7218564Z │ │                      │   │   '_links': {                                 │ │
2023-03-08T07:09:34.7219266Z │ │                      │   │   │   'webui': '/display/OP',                 │ │
2023-03-08T07:09:34.7220179Z │ │                      │   │   │   'self':                                 │ │
2023-03-08T07:09:34.7221016Z │ │                      'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'     │ │
2023-03-08T07:09:34.7221891Z │ │                      │   │   },                                          │ │
2023-03-08T07:09:34.7222645Z │ │                      │   │   '_expandable': {                            │ │
2023-03-08T07:09:34.7223420Z │ │                      │   │   │   'metadata': '',                         │ │
2023-03-08T07:09:34.7224126Z │ │                      │   │   │   'icon': '',                             │ │
2023-03-08T07:09:34.7224893Z │ │                      │   │   │   'description': '',                      │ │
2023-03-08T07:09:34.7225679Z │ │                      │   │   │   'retentionPolicy': '',                  │ │
2023-03-08T07:09:34.7227328Z │ │                      │   │   │   'homepage':                             │ │
2023-03-08T07:09:34.7228782Z │ │                      '/rest/api/content/323584005'                       │ │
2023-03-08T07:09:34.7229729Z │ │                      │   │   }                                           │ │
2023-03-08T07:09:34.7230473Z │ │                      │   },                                              │ │
2023-03-08T07:09:34.7231282Z │ │                      │   'history': {                                    │ │
2023-03-08T07:09:34.7232167Z │ │                      │   │   'latest': True,                             │ │
2023-03-08T07:09:34.7233042Z │ │                      │   │   'createdBy': {                              │ │
2023-03-08T07:09:34.7233873Z │ │                      │   │   │   'type': 'known',                        │ │
2023-03-08T07:09:34.7234737Z │ │                      │   │   │   'username': 'xxxxxxxxxxxxxxxx',         │ │
2023-03-08T07:09:34.7235520Z │ │                      │   │   │   'userKey':                              │ │
2023-03-08T07:09:34.7236387Z │ │                      'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',                 │ │
2023-03-08T07:09:34.7237297Z │ │                      │   │   │   'profilePicture': {                     │ │
2023-03-08T07:09:34.7238151Z │ │                      │   │   │   │   'path':                             │ │
2023-03-08T07:09:34.7239006Z │ │                      '/images/icons/profilepics/default.svg',            │ │
2023-03-08T07:09:34.7239867Z │ │                      │   │   │   │   'width': 48,                        │ │
2023-03-08T07:09:34.7240904Z │ │                      │   │   │   │   'height': 48,                       │ │
2023-03-08T07:09:34.7241741Z │ │                      │   │   │   │   'isDefault': True                   │ │
2023-03-08T07:09:34.7242564Z │ │                      │   │   │   },                                      │ │
2023-03-08T07:09:34.7243490Z │ │                      │   │   │   'displayName': 'xxxxxxxxxxxxxxxx',      │ │
2023-03-08T07:09:34.7244277Z │ │                      │   │   │   '_links': {                             │ │
2023-03-08T07:09:34.7245160Z │ │                      │   │   │   │   'self':                             │ │
2023-03-08T07:09:34.7245920Z │ │                      'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx… │ │
2023-03-08T07:09:34.7246761Z │ │                      │   │   │   },                                      │ │
2023-03-08T07:09:34.7247527Z │ │                      │   │   │   '_expandable': {'status': ''}           │ │
2023-03-08T07:09:34.7248300Z │ │                      │   │   },                                          │ │
2023-03-08T07:09:34.7249113Z │ │                      │   │   'createdDate': '2023-02-14T19:38:22.005Z',  │ │
2023-03-08T07:09:34.7249942Z │ │                      │   │   '_links': {                                 │ │
2023-03-08T07:09:34.7250632Z │ │                      │   │   │   'self':                                 │ │
2023-03-08T07:09:34.7251439Z │ │                      'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx… │ │
2023-03-08T07:09:34.7252249Z │ │                      │   │   },                                          │ │
2023-03-08T07:09:34.7252985Z │ │                      │   │   '_expandable': {                            │ │
2023-03-08T07:09:34.7254144Z │ │                      │   │   │   'lastUpdated': '',                      │ │
2023-03-08T07:09:34.7254963Z │ │                      │   │   │   'previousVersion': '',                  │ │
2023-03-08T07:09:34.7255824Z │ │                      │   │   │   'contributors': '',                     │ │
2023-03-08T07:09:34.7256641Z │ │                      │   │   │   'nextVersion': ''                       │ │
2023-03-08T07:09:34.7257494Z │ │                      │   │   }                                           │ │
2023-03-08T07:09:34.7258225Z │ │                      │   },                                              │ │
2023-03-08T07:09:34.7258966Z │ │                      │   'version': {                                    │ │
2023-03-08T07:09:34.7259900Z │ │                      │   │   'by': {                                     │ │
2023-03-08T07:09:34.7260660Z │ │                      │   │   │   'type': 'known',                        │ │
2023-03-08T07:09:34.7261514Z │ │                      │   │   │   'username': 'xxxxxxxxxxxxxxxx',         │ │
2023-03-08T07:09:34.7262401Z │ │                      │   │   │   'userKey':                              │ │
2023-03-08T07:09:34.7263263Z │ │                      'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',                 │ │
2023-03-08T07:09:34.7265793Z │ │                      │   │   │   'profilePicture': {                     │ │
2023-03-08T07:09:34.7266743Z │ │                      │   │   │   │   'path':                             │ │
2023-03-08T07:09:34.7267599Z │ │                      '/images/icons/profilepics/default.svg',            │ │
2023-03-08T07:09:34.7268409Z │ │                      │   │   │   │   'width': 48,                        │ │
2023-03-08T07:09:34.7269377Z │ │                      │   │   │   │   'height': 48,                       │ │
2023-03-08T07:09:34.7270222Z │ │                      │   │   │   │   'isDefault': True                   │ │
2023-03-08T07:09:34.7271031Z │ │                      │   │   │   },                                      │ │
2023-03-08T07:09:34.7271918Z │ │                      │   │   │   'displayName': 'xxxxxxxxxxxxxxxx',      │ │
2023-03-08T07:09:34.7272713Z │ │                      │   │   │   '_links': {                             │ │
2023-03-08T07:09:34.7273564Z │ │                      │   │   │   │   'self':                             │ │
2023-03-08T07:09:34.7274448Z │ │                      'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx… │ │
2023-03-08T07:09:34.7275300Z │ │                      │   │   │   },                                      │ │
2023-03-08T07:09:34.7276216Z │ │                      │   │   │   '_expandable': {'status': ''}           │ │
2023-03-08T07:09:34.7277042Z │ │                      │   │   },                                          │ │
2023-03-08T07:09:34.7278027Z │ │                      │   │   'when': '2023-02-14T19:38:22.005Z',         │ │
2023-03-08T07:09:34.7278905Z │ │                      │   │   'message': '',                              │ │
2023-03-08T07:09:34.7279755Z │ │                      │   │   'number': 1,                                │ │
2023-03-08T07:09:34.7280623Z │ │                      │   │   'minorEdit': False,                         │ │
2023-03-08T07:09:34.7281485Z │ │                      │   │   'hidden': False,                            │ │
2023-03-08T07:09:34.7282304Z │ │                      │   │   '_links': {                                 │ │
2023-03-08T07:09:34.7283045Z │ │                      │   │   │   'self':                                 │ │
2023-03-08T07:09:34.7283914Z │ │                      'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx… │ │
2023-03-08T07:09:34.7284770Z │ │                      │   │   },                                          │ │
2023-03-08T07:09:34.7285571Z │ │                      │   │   '_expandable': {                            │ │
2023-03-08T07:09:34.7286404Z │ │                      │   │   │   'content':                              │ │
2023-03-08T07:09:34.7287270Z │ │                      '/rest/api/content/323584005'                       │ │
2023-03-08T07:09:34.7288038Z │ │                      │   │   }                                           │ │
2023-03-08T07:09:34.7288858Z │ │                      │   },                                              │ │
2023-03-08T07:09:34.7289674Z │ │                      │   'ancestors': [],                                │ │
2023-03-08T07:09:34.7290483Z │ │                      │   'metadata': {                                   │ │
2023-03-08T07:09:34.7291294Z │ │                      │   │   'labels': {                                 │ │
2023-03-08T07:09:34.7292099Z │ │                      │   │   │   'results': [],                          │ │
2023-03-08T07:09:34.7292854Z │ │                      │   │   │   'start': 0,                             │ │
2023-03-08T07:09:34.7293859Z │ │                      │   │   │   'limit': 200,                           │ │
2023-03-08T07:09:34.7294623Z │ │                      │   │   │   'size': 0,                              │ │
2023-03-08T07:09:34.7295368Z │ │                      │   │   │   '_links': {                             │ │
2023-03-08T07:09:34.7296348Z │ │                      │   │   │   │   'self':                             │ │
2023-03-08T07:09:34.7297328Z │ │                      'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx… │ │
2023-03-08T07:09:34.7298069Z │ │                      │   │   │   }                                       │ │
2023-03-08T07:09:34.7298798Z │ │                      │   │   },                                          │ │
2023-03-08T07:09:34.7299545Z │ │                      │   │   '_expandable': {                            │ │
2023-03-08T07:09:34.7300339Z │ │                      │   │   │   'currentuser': '',                      │ │
2023-03-08T07:09:34.7301132Z │ │                      │   │   │   'properties': '',                       │ │
2023-03-08T07:09:34.7301897Z │ │                      │   │   │   'frontend': '',                         │ │
2023-03-08T07:09:34.7302601Z │ │                      │   │   │   'editorHtml': ''                        │ │
2023-03-08T07:09:34.7303349Z │ │                      │   │   }                                           │ │
2023-03-08T07:09:34.7304216Z │ │                      │   },                                              │ │
2023-03-08T07:09:34.7304989Z │ │                      │   'extensions': {'position': 'none'},             │ │
2023-03-08T07:09:34.7305772Z │ │                      │   ... +2                                          │ │
2023-03-08T07:09:34.7306504Z │ │                      }                                                   │ │
2023-03-08T07:09:34.7307236Z │ │               page = Page(title='xxx Observability Platform',            │ │
2023-03-08T07:09:34.7308123Z │ │                      file_path=PosixPath('/home/ado/agent/_work/6/s/o11… │ │
2023-03-08T07:09:34.7309123Z │ │                      page_id=None, parent_id='323612444',                │ │
2023-03-08T07:09:34.7310044Z │ │                      parent_title='test', space='OP', body='<p>Currently │ │
2023-03-08T07:09:34.7572191Z │ │                      the documentation is a 1-1  [...]')                 │ │
2023-03-08T07:09:34.7573042Z │ │ replace_all_labels = False                                               │ │
2023-03-08T07:09:34.7573867Z │ ╰──────────────────────────────────────────────────────────────────────────╯ │
2023-03-08T07:09:34.7574622Z ╰──────────────────────────────────────────────────────────────────────────────╯
2023-03-08T07:09:34.7575281Z IndexError: list index out of range
2023-03-08T07:09:35.3100210Z                                                                                 
2023-03-08T07:09:35.3103865Z  📄️ xxx Observability Platform          ━━━━━━━━━━━━━  ❌ Error while uploading 
2023-03-08T07:09:35.3106900Z  📂️ xxxxxx-documentation                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3109387Z  ├── 📂️ 05-dashboards                   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3123613Z  │   └── 📂️ 01-grafana                  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3126120Z  │       └── 📄️ Grafana                 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3128700Z  ├── 📂️ 08-logs                         ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3130651Z  │   ├── 📂️ 03-loki                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3132528Z  │   │   └── 📄️ Loki                    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3137544Z  │   │       ├── 📎️ logs-loki-layout.png━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3143805Z  │   │       └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3147871Z  │   │           logs-loki-configuratio…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3151085Z  │   ├── 📂️ 02-fluentd                  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3152936Z  │   │   └── 📄️ FluentD                 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3154975Z  │   │       └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3157065Z  │   │           logs-fluentd-layout.png━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3158969Z  │   └── 📂️ 01-fluentbit                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3160766Z  │       └── 📄️ FluentBit               ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3162471Z  │           ├── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3164255Z  │           │   logs-fluentbit-configu…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3165988Z  │           ├── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3167877Z  │           │   logs-fluentbit-layout.…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3169581Z  │           └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3171345Z  │               logs-fluentbit-design.…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3172979Z  ├── 📂️ 10-network                      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3174579Z  │   ├── 📄️ 01-Network                  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3175679Z  │   ├── 📂️ 03-nginx-ingress-controller ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3176689Z  │   │   └── 📄️ Nginx Ingress Controller━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3177603Z  │   │       └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3178485Z  │   │           network-network-mappin…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3179478Z  │   └── 📂️ 02-network-mapping          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3180388Z  │       └── 📄️ Network Mapping         ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3181327Z  ├── 📂️ 09-metrics                      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3182266Z  │   ├── 📂️ 01-alertmanager             ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3183193Z  │   │   └── 📄️ AlertManager            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3184341Z  │   │       └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3185280Z  │   │           metrics-alertmanager.p…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3186203Z  │   ├── 📂️ 02-prometheus               ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3187084Z  │   │   └── 📄️ Prometheus              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3188201Z  │   │       └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3189280Z  │   │           metrics-prometheus-lay…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3190204Z  │   ├── 📂️ 04-victoria-metrics-alert   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3191131Z  │   │   └── 📄️ Victoria Metrics Alert  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3192078Z  │   │       └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3192971Z  │   │           metrics-victoria-metri…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3193882Z  │   └── 📂️ 03-victoria-metrics         ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3195019Z  │       └── 📄️ Victoria Metrics        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3204144Z  │           ├── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3210207Z  │           │   metrics-victoria-metri…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3211114Z  │           └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3211887Z  │               metrics-victoria-metri…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3212671Z  ├── 📂️ 06-gitops                       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3213412Z  │   └── 📂️ 01-argocd                   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3214400Z  │       └── 📄️ ArgoCD                  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3215161Z  │           └── 📎️ argocd-1.png        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3217408Z  ├── 📂️ 01-linked-service-proposition   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3218392Z  │   └── 📄️ LINKED SERVICE PROPOSITION  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3219225Z  │       └── 📎️                         ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3220242Z  │           ./xxxxxx-service-propositi…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3221158Z  ├── 📂️ 03-infrastructure               ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3222028Z  │   └── 📄️ Infrastructure              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3222872Z  ├── 📂️ 02-generic-design               ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3223729Z  │   └── 📄️ Generic Design              ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3224567Z  │       ├── 📎️ ./generic-design-1.png  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3225494Z  │       ├── 📎️ ./generic-design-2.png  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3226973Z  │       ├── 📎️ ./generic-design-3.png  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3228032Z  │       ├── 📎️ ./generic-design-4.png  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3229854Z  │       ├── 📎️ ./generic-design-5.png  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3230934Z  │       └── 📎️ ./generic-design-6.png  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3231790Z  ├── 📂️ 04-procedures                   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3232630Z  │   ├── 📂️ 03-operational-guide        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3233690Z  │   │   ├── 📄️ Onboarding ArgoCD       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3234535Z  │   │   ├── 📄️ Onboarding new Client   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3235351Z  │   │   │   Cluster                    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3236139Z  │   │   │   └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3237076Z  │   │   │       ./operational-guide-on…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3238079Z  │   │   ├── 📄️ Onboarding External     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3238891Z  │   │   │   Secret Operator (ESO)      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3239693Z  │   │   │   └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3240503Z  │   │   │       ./operational-guide-on…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3241359Z  │   │   ├── 📄️ Onboarding logs         ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3242155Z  │   │   │   ├── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3242959Z  │   │   │   │   operational-guide-onbo…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3243758Z  │   │   │   └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3244562Z  │   │   │       ./operational-guide-on…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3245400Z  │   │   ├── 📄️ Onboarding dashboards   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3246227Z  │   │   │   ├── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3247030Z  │   │   │   │   operational-guide-onbo…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3247839Z  │   │   │   ├── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3248625Z  │   │   │   │   operational-guide-onbo…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3249572Z  │   │   │   ├── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3250379Z  │   │   │   │   operational-guide-onbo…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3251285Z  │   │   │   └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3252094Z  │   │   │       operational-guide-onbo…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3253010Z  │   │   ├── 📄️ Onboarding New Alert    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3253864Z  │   │   │   Channel                    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3254592Z  │   │   │   └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3255339Z  │   │   │       operational-guide-onbo…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3256281Z  │   │   ├── 📄️ Onboarding App Metrics  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3257058Z  │   │   │   ├── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3257803Z  │   │   │   │   operational-guide-onbo…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3258533Z  │   │   │   ├── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3259280Z  │   │   │   │   operational-guide-onbo…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3260032Z  │   │   │   └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3260984Z  │   │   │       operational-guide-onbo…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3261767Z  │   │   └── 📄️ Onboarding an Alert     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3262703Z  │   │       └── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3263487Z  │   │           ./operational-guide-on…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3264357Z  │   ├── 📂️ 02-customer-guide           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3265197Z  │   │   ├── 📄️ Onboarding a Cluster in ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3266008Z  │   │   │   ArgoCD                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3266812Z  │   │   ├── 📄️ Onboarding New          ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3267614Z  │   │   │   Application                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3268408Z  │   │   │   ├── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3269215Z  │   │   │   │   customer-guide-introdu…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3270108Z  │   │   │   ├── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3270910Z  │   │   │   │   customer-guide-onboard…━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3271872Z  │   │   │   ├── 📎️                     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⠦   
2023-03-08T07:09:35.3272640Z  │   │   │   │   customer-guide-onboard…                                        
2023-03-08T07:09:35.3273398Z  │   │   │   ├── 📎️                                                             
2023-03-08T07:09:35.3274168Z  │   │   │   │   customer-guide-onboard…                                        
2023-03-08T07:09:35.3274946Z  │   │   │   ├── 📎️                                                             
2023-03-08T07:09:35.3275707Z  │   │   │   │   customer-guide-onboard…                                        
2023-03-08T07:09:35.3276606Z  │   │   │   └── 📎️                                                             
2023-03-08T07:09:35.3277369Z  │   │   │       customer-guide-onboard…                                        
2023-03-08T07:09:35.3278153Z  │   │   └── 📄️ Onboarding New Grafana                                          
2023-03-08T07:09:35.3278929Z  │   │       Datasource                                                         
2023-03-08T07:09:35.3279730Z  │   ├── 📂️ 01-getting-started                                                  
2023-03-08T07:09:35.3280530Z  │   │   ├── 📄️ Checklist template                                              
2023-03-08T07:09:35.3281312Z  │   │   │   pre-requirements                                                   
2023-03-08T07:09:35.3282105Z  │   │   ├── 📄️ Observability Platform                                          
2023-03-08T07:09:35.3282864Z  │   │   │   structure                                                          
2023-03-08T07:09:35.3283657Z  │   │   ├── 📄️ Observability Platform                                          
2023-03-08T07:09:35.3284436Z  │   │   │   Generic Design                                                     
2023-03-08T07:09:35.3285209Z  │   │   └── 📄️ Around SOS                                                      
2023-03-08T07:09:35.3286078Z  │   └── 📂️ 04-developer-guide                                                  
2023-03-08T07:09:35.3286879Z  │       ├── 📄️ GitOps Structure                                                
2023-03-08T07:09:35.3287625Z  │       │   ├── 📎️                                                             
2023-03-08T07:09:35.3288394Z  │       │   │   developer-guide-introd…                                        
2023-03-08T07:09:35.3289167Z  │       │   ├── 📎️                                                             
2023-03-08T07:09:35.3289934Z  │       │   │   developer-guide-gitops…                                        
2023-03-08T07:09:35.3290713Z  │       │   └── 📎️                                                             
2023-03-08T07:09:35.3291481Z  │       │       developer-guide-gitops…                                        
2023-03-08T07:09:35.3292252Z  │       └── 📄️ Git strategy                                                    
2023-03-08T07:09:35.3293004Z  │           ├── 📎️                                                             
2023-03-08T07:09:35.3293914Z  │           │   developer-guide-git-fl…                                        
2023-03-08T07:09:35.3294683Z  │           ├── 📎️                                                             
2023-03-08T07:09:35.3295454Z  │           │   developer-guide-git-fl…                                        
2023-03-08T07:09:35.3296415Z  │           ├── 📎️                                                             
2023-03-08T07:09:35.3297169Z  │           │   developer-guide-git-fl…                                        
2023-03-08T07:09:35.3298097Z  │           └── 📎️                                                             
2023-03-08T07:09:35.3298862Z  │               developer-guide-git-fl…                                        
2023-03-08T07:09:35.3299666Z  └── 📂️ 07-integrations                                                         
2023-03-08T07:09:35.3300459Z      ├── 📂️ 04-hungryhippo                                                      
2023-03-08T07:09:35.3301254Z      │   └── 📄️ HungryHippo                                                     
2023-03-08T07:09:35.3301990Z      │       └── 📎️                                                             
2023-03-08T07:09:35.3302857Z      │           integrations-hungryhip…                                        
2023-03-08T07:09:35.3303675Z      ├── 📂️ 01-aad-pod-identity                                                 
2023-03-08T07:09:35.3304471Z      │   └── 📄️ AAD Pod Identity                                                
2023-03-08T07:09:35.3305230Z      │       └── 📎️                                                             
2023-03-08T07:09:35.3306010Z      │           integrations-aad-pod-i…                                        
2023-03-08T07:09:35.3306832Z      ├── 📂️ 02-external-secret-operator                                         
2023-03-08T07:09:35.3307631Z      │   └── 📄️ External Secret Operator                                        
2023-03-08T07:09:35.3308397Z      │       └── 📎️                                                             
2023-03-08T07:09:35.3309177Z      │           integrations-external-…                                        
2023-03-08T07:09:35.3311876Z      └── 📂️ 03-grafana-integration                                              
2023-03-08T07:09:35.3312926Z          └── 📄️ Grafana Integration                                             
2023-03-08T07:09:35.3313520Z              (Grafana Sync)                                                     
2023-03-08T07:09:35.3314233Z              └── 📎️                                                             
2023-03-08T07:09:35.3315021Z                  integrations-grafana-s…                                        
2023-03-08T07:09:35.3315566Z                                                                                 
2023-03-08T07:09:35.3316353Z  Total progress                                            1% -:--:--           
2023-03-08T07:09:35.3318155Z                                                                                 ERROR: list index out of range                                                  
2023-03-08T07:09:35.3569373Z ##[error]Bash exited with code '1'.
2023-03-08T07:09:35.3587088Z ##[section]Finishing: Publish to Confluence

from md2cf.

iamjackg avatar iamjackg commented on July 23, 2024

Ah interesting, this is a case I hadn't considered -- it looks like you're moving all the documents from the top level to under a test parent page. Makes sense, just an edge case I didn't consider in the page reparenting logic :) I'll fix it right away.

from md2cf.

iamjackg avatar iamjackg commented on July 23, 2024

Actually I realized that the mystery might be slightly deeper: in my experiments, all pages always had at least one ancestor: the space's home page. It looks like your existing "xxx Observability Platform" has no ancestors however.

2023-03-08T07:09:34.7289674Z │ │                      │   'ancestors': [],                                │ │

What kind of page is it? This is likely just some Confluence configuration difference between the instance I have access to and yours.

from md2cf.

petermefrandsen avatar petermefrandsen commented on July 23, 2024

The on-premises instance is running version 7.18.1

The page is just a "blank page" created without any ancestor.
image

The page is assigned to the space as the home page - and this is the page we try to publish all markdown files to.
image

In short, we are trying to manage an ENTIRE confluence space using code.

from md2cf.

iamjackg avatar iamjackg commented on July 23, 2024

Gotcha, makes perfect sense -- I can actually see the same thing on my instance. I'll publish a fix soon!

from md2cf.

petermefrandsen avatar petermefrandsen commented on July 23, 2024

Works!
Thanks a lot!

from md2cf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.