sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Invalid App Packages?

Open jaredbuttars opened this issue 10 years ago • 44 comments

Category

  • [ ] Question
  • [ ] Typo
  • [x] Bug
  • [ ] Enhancement / Suggestion
  • [ ] Additional article idea

Expected or Desired Behavior

Upload a packaged .spapp file to the SharePoint App Catalog and get a valid app package.

Observed Behavior

As of recently, uploading previously valid .spapp packages built with Drop 5 to the app catalog results in an invalid app package.

Steps to Reproduce

Using drop 5, use Yoeman to generate the Hello World app. Build with gulp package-solution and upload the .spapp to the app catalog. The catalog indicates that the package is invalid.

jaredbuttars avatar Nov 14 '16 18:11 jaredbuttars

Hi Jared - can you go to the app catalog list and add the column that shows what the error is? The column is "App Package Error Message". What does the error say?

patmill avatar Nov 14 '16 20:11 patmill

The error is "No errors."

jaredbuttars avatar Nov 14 '16 21:11 jaredbuttars

Here's a screenshot. Two apps uploaded today are not valid. The one at the base was a replaced app, the hello world at the top was new. Any apps installed a while back, using the same build process, are valid.

packages

jaredbuttars avatar Nov 14 '16 21:11 jaredbuttars

Can you let us know what your site collection URL is so we can verify that the feature should be enabled?

GrahamMcMynn avatar Nov 14 '16 21:11 GrahamMcMynn

Tenant from Dev Kitchen.

a830edad9050849spdk3024.sharepoint.com/sites/sj/

jaredbuttars avatar Nov 14 '16 21:11 jaredbuttars

Running into the same problem on our production O365 that is set for First Release and supposedly has SPFx since Nov. 11 according to our notifications.

jaredbuttars avatar Nov 14 '16 21:11 jaredbuttars

The change is still rolling out to production tenants for First Release so that is expected that it is not working at this time... The reason your other tenant is no longer working is some changes were made to the flights included as part of the rollout to First Release. I am re-enabling it for that farm and will respond once has been reverted.

GrahamMcMynn avatar Nov 14 '16 22:11 GrahamMcMynn

Hi Jared, Please let me know if you are still experiencing the issue on your dev kitchen tenant. The changes that were made to start the rollout of first release that affected your tenant have been fixed now.

GrahamMcMynn avatar Nov 15 '16 18:11 GrahamMcMynn

I'm running into the same issue as Jared. I'm working through the Hello World tutorial for SPFx, and when I upload the app to my App Catalog, it shows that it is not a valid app package, but provides no app package error message. I'm on O365 set up for First Release.

GaryLStewart avatar Nov 15 '16 20:11 GaryLStewart

Hi Gary, It is still in the process of rolling out to First Release so it is not expected yet to be enabled for all tenants on First Release.

GrahamMcMynn avatar Nov 15 '16 20:11 GrahamMcMynn

Thanks - any idea on when it will enabled?

GaryLStewart avatar Nov 15 '16 20:11 GaryLStewart

My best guess is about 2-4 days.

GrahamMcMynn avatar Nov 15 '16 20:11 GrahamMcMynn

I'm running into the same problem...We are signed up for "First release for selected users"...

arutjothi avatar Nov 15 '16 21:11 arutjothi

Same here. I could have sworn it worked in production yesterday... but today, no dice. Guess there's still some wrinkles to iron out.

clechner77 avatar Nov 16 '16 23:11 clechner77

Trying to track down the issue here. @clechner77 - did you have a developer tenancy that stopped working? A dev-kitchen tenancy? Just wondering what you had previously, and when it was working and when it stopped. Some first release tenants have it, and other farms are still pending the update. Thanks.

patmill avatar Nov 16 '16 23:11 patmill

@mcmynn83 I can confirm that the fix you did for the dev kitchen tenant worked.

Thank you!

jaredbuttars avatar Nov 16 '16 23:11 jaredbuttars

@mcmynn83 I'm still having some trouble. Now the app package installs fine in the catalog but when I add the app to a site it tells me the version of the app is already installed and to remove it from the site and the site recycle bin. I do that but still get the error.

Screenshots from the Dev Kitchen site

problem-step-1 problem-step-2

Also, the same app package now installs fine into the app store of our First Release tenant, but when trying to add the app to any of the First Release Sites I get a different error but still an error.

Screenshots from the First Release site

problem-step-1-firstrelease problem-step-2-firstrelease

jaredbuttars avatar Nov 17 '16 20:11 jaredbuttars

Hi Jared, I'm sorry you are having problems. Could you please click the technical details and send a screen shot back (or just give me the correlation ID you get when you click the technical details button)?

As for the 1st error you saw, when you said you deleted the app from the recycle bin, there are 2 stages to the recycle bin. First you would have to go and delete from the recycle bin, then you would have to go to site settings -> Site Collection Administration -> Recycle bin -> "Check the second-stage recycle bin" and remove your app from there (or shortcut the process by going to this URL: _layouts/5/AdminRecycleBin.aspx?View=2). If you actually removed from both places I will need the correlation ID (ie click the technical details and include that correlation ID).

Thanks, Graham

GrahamMcMynn avatar Nov 17 '16 22:11 GrahamMcMynn

@patmill -- Sorry, got caught up. My dev tenant is still functional. I was referring to prod/first release that mysteriously went back in time.

clechner77 avatar Nov 18 '16 05:11 clechner77

@clechner77 - were you previously able to activate it on the first release tenant, or were you just accessing the hosted workbench pointing at your local gulp serve (ie, no package deployment)?

patmill avatar Nov 18 '16 16:11 patmill