Atlassian Companion does not recognise changes on PowerPoint files
Asked by bitbucket4isd:

Hi All

The Atlassian Companion does not recognise changes on PowerPoint files.

When making changes on the file, i can't upload the file because the "upload" button is grayed out. Other file types like Excel work fine.

Confluence Version: 7.10.2  
Companion Version: 1.3.1

From the companion.log:

info: adc:core 2022-03-11T06:24:23.133Z Initialised logging with level "info"  
info: adc:core 2022-03-11T06:24:23.134Z Electron userData path initialised to C:\\Users\\freis\\AppData\\Local\\Atlassian Companion  
info: adc:settings 2022-03-11T06:24:23.327Z Loading settings store from C:\\Users\\freis\\AppData\\Roaming\\Atlassian Companion\\settings.cache  
info: adc:manifest-controller 2022-03-11T06:24:23.904Z enabling manifest: file  
info: adc:manifest-controller 2022-03-11T06:24:23.904Z enabling manifest: feedback  
info: adc:manifest-controller 2022-03-11T06:24:23.905Z enabling manifest: license  
info: adc:auto-updater 2022-03-11T06:24:23.997Z using update URL for channel: stable  
info: adc:auto-updater 2022-03-11T06:24:23.997Z constructed URL: <https://update-nucleus.atlassian.com/Atlassian-Companion/291cb34fe2296e5fb82b83a04704c9b4/win32/ia32>  
info: adc:auto-updater 2022-03-11T06:24:23.997Z checking for update  
info: adc:auto-updater 2022-03-11T06:24:24.014Z autoUpdate initialized successfully  
info: adc:settings 2022-03-11T06:24:24.074Z opening settings store  
info: adc:initialiseApp 2022-03-11T06:24:24.075Z app is ready  
info: adc:file-manager 2022-03-11T06:24:24.101Z clearing file manager cache  
info: adc:browser 2022-03-11T06:24:24.102Z launching websocket  
info: adc:fileWindowController 2022-03-11T06:24:24.102Z init file window  
info: adc:browser 2022-03-11T06:24:24.160Z direct websocket launched successfully on port: 31459  
info: adc:serverauth 2022-03-11T06:24:24.160Z Found trusted domain in database: intranet.nosergroup.lan  
info: adc:analytics 2022-03-11T06:24:24.168Z event companion.start {"new":false} cd3429b9-80e4-476b-aa9d-60bc14f709a4  
info: adc:initialiseApp 2022-03-11T06:24:24.281Z generating tray menu from manifests  
info: adc:electronCacheData 2022-03-11T06:24:24.286Z Removed old userData files from Windows roaming profile at C:\\Users\\freis\\AppData\\Roaming\\Atlassian Companion  
info: adc:ServerFacade 2022-03-11T06:24:24.752Z Retrieved attachment data from Confluence for BS_Org.pptx on Organization Chart \& Value Streams Map  
info: adc:ProtocolHandler 2022-03-11T06:24:24.753Z New file registered with id: d7af9d97-c2b5-4099-998c-af20b10a6978  
info: adc:DirectFile - for file BS_Org.pptx 2022-03-11T06:24:24.753Z handling file launch request  
info: adc:file-manager 2022-03-11T06:24:24.753Z Retrieving app list for application/vnd.openxmlformats-officedocument.presentationml.presentation  
info: adc:ProtocolHandler 2022-03-11T06:24:24.759Z flushAggregatedTrustDialogAttemptToAnalytics: sending analytics events for rejected attempts {"rejectAttempts":\[\],"hostname":"intranet.nosergroup.lan"}  
info: adc:ProtocolHandler 2022-03-11T06:24:24.759Z flushAggregatedTrustDialogAttemptToAnalytics: sending analytics events for confirmed attempts {"confirmAttempts":\[\],"hostname":"intranet.nosergroup.lan"}  
info: adc:file-manager 2022-03-11T06:24:24.766Z Unknown file ID: 95931b23-c813-4fab-90c4-eb14f2877cce  
info: adc:initialiseApp 2022-03-11T06:24:24.795Z generating tray menu from manifests  
info: adc:file-manager 2022-03-11T06:24:24.796Z File 95931b23-c813-4fab-90c4-eb14f2877cce download start to C:\\Users\\freis\\.atlassian-companion\\95931b23-c813-4fab-90c4-eb14f2877cce\\BS_Org.pptx  
info: adc:file-manager 2022-03-11T06:24:24.818Z download length set at 5834799  
info: adc:analytics 2022-03-11T06:24:24.818Z event companion.openWith.request {"appName":"PowerPoint","fileAttributes":{"fileMimeType":"application/vnd.openxmlformats-officedocument.presentationml.presentation","fileSize":5834799}} cd3429b9-80e4-476b-aa9d-60bc14f709a4  
info: adc:file-manager 2022-03-11T06:24:24.896Z Unknown file ID: 95931b23-c813-4fab-90c4-eb14f2877cce  
info: adc:file-manager 2022-03-11T06:24:25.003Z Unknown file ID: 95931b23-c813-4fab-90c4-eb14f2877cce  
info: adc:file-manager 2022-03-11T06:24:25.103Z Unknown file ID: 95931b23-c813-4fab-90c4-eb14f2877cce  
info: adc:file-manager 2022-03-11T06:24:25.203Z Unknown file ID: 95931b23-c813-4fab-90c4-eb14f2877cce  
info: adc:file-manager 2022-03-11T06:24:25.304Z Unknown file ID: 95931b23-c813-4fab-90c4-eb14f2877cce  
info: adc:file-manager 2022-03-11T06:24:25.403Z Unknown file ID: 95931b23-c813-4fab-90c4-eb14f2877cce  
info: adc:file-manager 2022-03-11T06:24:25.503Z Unknown file ID: 95931b23-c813-4fab-90c4-eb14f2877cce  
info: adc:file-manager 2022-03-11T06:24:25.520Z Unknown file ID: 95931b23-c813-4fab-90c4-eb14f2877cce  
info: adc:file-manager 2022-03-11T06:24:25.527Z Launching file on desktop: C:\\Users\\freis\\.atlassian-companion\\95931b23-c813-4fab-90c4-eb14f2877cce\\BS_Org.pptx  
info: adc:file-manager 2022-03-11T06:24:25.528Z shouldLaunchFileOnWindow: {"blockListSet":{},"applicationName":"PowerPoint","fileExtention":"pptx"}  
info: adc:file-manager 2022-03-11T06:24:25.528Z BS_Org.pptx has an extension \[pptx\]  
info: adc:file-manager 2022-03-11T06:24:25.529Z Trying to get file type using magic bytes:  
info: adc:file-manager 2022-03-11T06:24:25.541Z File extension using magic bytes is: pptx  
info: adc:file-manager 2022-03-11T06:24:25.541Z open file command: C:\\Windows\\System32\\cmd /c start "" /b "C:\\Users\\freis\\.atlassian-companion\\95931b23-c813-4fab-90c4-eb14f2877cce\\BS_Org.pptx"  
info: adc:file-manager 2022-03-11T06:24:25.547Z File 95931b23-c813-4fab-90c4-eb14f2877cce download successful  
info: adc:ConfluenceAnalyticsQueue 2022-03-11T06:24:25.549Z Pushing confluence-server.companion.file.launched for intranet.nosergroup.lan  
info: adc:file-manager 2022-03-11T06:24:27.101Z Change reported, comparing hashes for file: 95931b23-c813-4fab-90c4-eb14f2877cce  
info: adc:file-manager 2022-03-11T06:24:31.236Z Murmur resulted in no-change, checking SHA fallback, Testing: KyqiLZ/vQ8JynAuwbCDYSZeVESY= vs KyqiLZ/vQ8JynAuwbCDYSZeVESY=  
info: adc:file-manager 2022-03-11T06:24:31.237Z ignoring change  
info: adc:ConfluenceAnalyticsProxy 2022-03-11T06:25:25.565Z flush: starting  
info: adc:ConfluenceAnalyticsQueue 2022-03-11T06:25:25.566Z Popping events for intranet.nosergroup.lan  
info: adc:postEventsBulk 2022-03-11T06:25:25.566Z Sending bulk events intranet.nosergroup.lan \["confluence-server.companion.file.launched"\]  
info: adc:ConfluenceAnalyticsProxy 2022-03-11T06:25:25.584Z flush: ended {"eventsBefore":1,"eventsAfter":0}


Answers:
author: Brant Schroeder
body: [@bitbucket4isd](/t5/user/viewprofilepage/user-id/1048408) Has it worked in the past? If it did have you tried deleting the companion app cache?

comments: author: bitbucket4isd
body: Yes, it worked in the past.

I also tried clearing the cache, no change. The problem occurs on all computers. On new computers, where the companion app was never installed, the upload sometimes works once, but not a second time. But again, only with \*.pptx files, other files seem to work fine.


author: Brant Schroeder
body: If you cleared the apps folder cache and it seems to be a widespread issue you might look at updating Confluence. Do you have a test instance to see if an update resolves the issue? I have seen this as a solution to this problem in the past.


author: bitbucket4isd
body: I don't fully understand, what the confluence version has to do with the companion-app not recognising file changes, but on an other confluence instance with a newer version, the upload seems to work.

On our test instance, where the version is 7.10.0, so lower than the affected confluence, the upload also seems to work fine.

So apparently, i must be something with the setup of our confluence. Any ideas on where to look for something like this?


author: Brant Schroeder
body: [@bitbucket4isd](/t5/user/viewprofilepage/user-id/1048408) in the past I have just seen individuals upgrade their instance to fix the problem.


author: bitbucket4isd
body: Manually downloading and reuploading the file seems to have fixed the issue for the moment.

![Snag_281ac7c6.png](https://community.atlassian.com/t5/image/serverpage/image-id/188129iC99756D37F483E17/image-size/large?v=v2&px=999 "Snag_281ac7c6.png")


Tags: companion-app

confluence-server

server